I have a class in PHP like so:
class ParentClass { function __construct($arg) { // Initialize a/some variable(s) based on $arg } } >
class ParentClass { function __construct($arg) { // Initialize a/some variable(s) based on $arg } }
if you get php nested limit error, try this:
$args = func_get_args(); call_user_func_array(array('parent', '__construct'), $args);