ID: 50703 Updated by: [email protected] Reported By: gmblar+php at gmail dot com -Status: Open +Status: Bogus Bug Type: MySQLi related Operating System: * PHP Version: 5.3.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is an endless recursion to the Database_MySQLi constructor. Previous Comments: ------------------------------------------------------------------------ [2010-01-08 23:19:39] gmblar+php at gmail dot com Description: ------------ Call parent::__construct in MySQL with call_user_func* segfault php Reproduce code: --------------- <?php class Database_MySQLi extends MySQLi { public function __construct() { $arguments = func_get_args(); call_user_func_array(array('parent', '__construct'), $arguments); } } $database = new Database_MySQLi('localhost', 'username', 'password'); ?> Expected result: ---------------- No Segmentation fault Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50703&edit=1
