note 114104 added to control-structures.elseif
| From: | Anonymous | Date: | Sat, 11 Jan 2014 12:51:32 +0000 |
| Subject: | note 114104 added to control-structures.elseif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198203@lists.php.net to get a copy of this message | ||
In addition to what Rudi wrote,
I ran his test script on Debian 6 with php 5.3.26 where his findings are true, elseif is faster
than else if.
Then I ran his script on Windows 7 with php 5.4.7, where results are the opposite, else if is faster
than elseif.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/control-structures.elseif.php
Edit -- https://master.php.net/note/edit/114104
Del: integrated -- https://master.php.net/note/delete/114104/integrated
Del: useless -- https://master.php.net/note/delete/114104/useless
Del: bad code -- https://master.php.net/note/delete/114104/bad+code
Del: spam -- https://master.php.net/note/delete/114104/spam
Del: non-english -- https://master.php.net/note/delete/114104/non-english
Del: in docs -- https://master.php.net/note/delete/114104/in+docs
Del: other reasons-- https://master.php.net/note/delete/114104
Reject -- https://master.php.net/note/reject/114104
Search -- https://master.php.net/manage/user-notes.php