Hello Johannes,

class Foo {
    private static function __static() {
        throw new Exception("boom");
    }
}

while(true) {
    try {
        $foo = new Foo;
    } catch (Exception ex) {}
}

Would this code be valid?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to