note 93744 added to function.call-user-func-array
| From: | dmitry dot revenko at businessmedia dot ru | Date: | Fri, 25 Sep 2009 12:28:10 +0000 |
| Subject: | note 93744 added to function.call-user-func-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161046@lists.php.net to get a copy of this message | ||
Just hope this note helps someone (I killed the whole day on issue).
If you use something like this in PHP < 5.3:
call_user_func_array(array($this, 'parent::func'), $args);
Such a script will cause segmentation fault in your webserver.
In 5.3 you should write it:
call_user_func_array('parent::func', $args);
----
Server IP: 195.54.192.44
Probable Submitter: 79.173.104.18
----
Manual Page -- http://www.php.net/manual/en/function.call-user-func-array.php
Edit -- https://master.php.net/note/edit/93744
Del: integrated -- https://master.php.net/note/delete/93744/integrated
Del: useless -- https://master.php.net/note/delete/93744/useless
Del: bad code -- https://master.php.net/note/delete/93744/bad+code
Del: spam -- https://master.php.net/note/delete/93744/spam
Del: non-english -- https://master.php.net/note/delete/93744/non-english
Del: in docs -- https://master.php.net/note/delete/93744/in+docs
Del: other reasons-- https://master.php.net/note/delete/93744
Reject -- https://master.php.net/note/reject/93744
Search -- https://master.php.net/manage/user-notes.php