note 124332 added to function.call-user-func-array
| From: | AurelienMarchand@php.net | Date: | Thu, 24 Oct 2019 15:24:09 +0000 |
| Subject: | note 124332 added to function.call-user-func-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-212760@lists.php.net to get a copy of this message | ||
In response to admin at torntech dot com and as shown on https://gist.github.com/nikic/6390366, there is no
good reason to use argument unpacking anymore for PHP 7.0.17, 7.1.3, 7.2.7
7.0.17
cufa with 0 args took 0.081735849380493
unpack with 0 args took 0.072259902954102
cufa with 100 args took 0.39941906929016
unpack with 100 args took 0.419842004776
7.1.3
cufa with 0 args took 0.074923992156982
unpack with 0 args took 0.07165002822876
cufa with 100 args took 0.37423300743103
unpack with 100 args took 0.41387891769409
7.2.7
cufa with 0 args took 0.064092874526978
unpack with 0 args took 0.048593997955322
cufa with 100 args took 0.35412693023682
unpack with 100 args took 0.36837601661682
----
Server IP: 208.43.231.9
Probable Submitter: 82.199.157.54 (proxied: 209.202.82.139)
----
Manual Page -- http://php.net/manual/en/function.call-user-func-array.php
Edit -- https://master.php.net/note/edit/124332
Del: integrated -- https://master.php.net/note/delete/124332/integrated
Del: useless -- https://master.php.net/note/delete/124332/useless
Del: bad code -- https://master.php.net/note/delete/124332/bad+code
Del: spam -- https://master.php.net/note/delete/124332/spam
Del: non-english -- https://master.php.net/note/delete/124332/non-english
Del: in docs -- https://master.php.net/note/delete/124332/in+docs
Del: other reasons-- https://master.php.net/note/delete/124332
Reject -- https://master.php.net/note/reject/124332
Search -- https://master.php.net/manage/user-notes.php