Re: [PHP-DEV] zend_register_class() overwrites ce->create_object with parent_ce->create_object?

2010-09-02 Thread Etienne Kneuss
On Sep 02 18:04:12, Michael Wallner wrote: > If I define a descendant class, I *obviously* know what create_object should > do, as this should only effect internal classes. So could anybody please > explain to me why the parent's create_object is enforced? > > It causes to write hacks like: > >

[PHP-DEV] zend_register_class() overwrites ce->create_object with parent_ce->create_object?

2010-09-02 Thread Michael Wallner
If I define a descendant class, I *obviously* know what create_object should do, as this should only effect internal classes. So could anybody please explain to me why the parent's create_object is enforced? It causes to write hacks like: ---8<--- zend_class_entry *ce; zend_object_value (*__cre

[PHP-DEV] segmentation fault at to small stacksize( ulimit -s)

2010-09-02 Thread Hajo Locke
Hello, i have a question the installation-list could not solve.thus i try my luck here... I have a script (php-cli) which results in segfault. If i increase stack size by... ulimit -s unlimited ...the script is running and shows correct memory-limit error message. My system's stack size def