|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-09 00:36 UTC] bjori@php.net
[2010-01-09 01:48 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Mar 27 16:00:01 2026 UTC |
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