Attached is the test case that always reproduces this bug.
The bug is triggered when a child class calls a PHP4-style constructor from the base class which has both PHP4 and PHP5-style constructors and PHP4-style one calls PHP5-style one.
One example where this can happen is WordPress - its WP_Widget class has both constructors and PHP4-style one calls PHP5-style constructor. If a class that inherits from WP_Widget is unlucky enough to call parent::WP_Widget() instead of parent::__construct(), php crashes.
Attached is the test case that always reproduces this bug.
The bug is triggered when a child class calls a PHP4-style constructor from the base class which has both PHP4 and PHP5-style constructors and PHP4-style one calls PHP5-style one.
One example where this can happen is WordPress - its WP_Widget class has both constructors and PHP4-style one calls PHP5-style constructor. If a class that inherits from WP_Widget is unlucky enough to call parent::WP_Widget() instead of parent: :__construct( ), php crashes.