Can I use PHP reserved names for my functions and classes?
Actually, while defining such a method results in a parse error, using it does not, which allows some kind of workarounds: class A { function __call($method, $args) { if ($method == ‘new’) { // … } } } $a = new A; $a->new(); // works! A related feature request dating back to 2004 is still … Read more