I have a function that takes the argument NBins. I want to make a call to this function with a scalar 50 or an array [0, 10, 20, 30]....
This failed: define('DEFAULT_ROLES', array('guy', 'development team')); Apparently, constants can’t hold arrays. What is the best way to get around this? define('DEFAULT_ROLES', 'guy|development team'); //... $default = explode('|', DEFAULT_ROLES); This...
This may be a simple question, but I can not figure out how to do this. Lets say that I have two variables as follows. a = 2 b...