note 128877 added to function.call-user-func-array

From: Date: Sun, 10 Sep 2023 17:35:40 +0000
Subject: note 128877 added to function.call-user-func-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-220839@lists.php.net to get a copy of this message
It's quite interesting reading the notes in this page especially the one that mentions the difference between argument unpacking being significantly faster than calling call_user_func_array() directly by admin at torntech dot com. This is true for PHP 5 but as from PHP 7.0+, there is no significant difference in the run-time between these two mechanisms of operation. The time taken is almost, if not the same for both operations, so this is already something that tells me that the PHP run-time environment has changed quite a lot (for the PHP 7 rewrite). I used the example from admin at torntech dot com to check this hypothesis. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 154.16.157.75) ---- Manual Page -- https://php.net/manual/en/function.call-user-func-array.php Edit -- https://main.php.net/note/edit/128877 Del: integrated -- https://main.php.net/note/delete/128877/integrated Del: useless -- https://main.php.net/note/delete/128877/useless Del: bad code -- https://main.php.net/note/delete/128877/bad+code Del: spam -- https://main.php.net/note/delete/128877/spam Del: non-english -- https://main.php.net/note/delete/128877/non-english Del: in docs -- https://main.php.net/note/delete/128877/in+docs Del: other reasons-- https://main.php.net/note/delete/128877 Reject -- https://main.php.net/note/reject/128877 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220839) next »