note 109335 added to function.is-null
| From: | (a) | Date: | Sat, 07 Jul 2012 22:08:39 +0000 |
| Subject: | note 109335 added to function.is-null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189062@lists.php.net to get a copy of this message | ||
Using === NULL instead of is_null(), is actually useful in loaded server scenarios where you have
hundreds or thousands of requests per second. Saving microseconds on a lot of "simple"
operations in the entire PHP execution chain usually results in being able to serve more pages per
second at the same speed, or lowering your cpu usage. People usually write very bad and slow code.
----
Server IP: 69.147.83.197
Probable Submitter: 131.111.7.69
----
Manual Page -- http://www.php.net/manual/en/function.is-null.php
Edit -- https://master.php.net/note/edit/109335
Del: integrated -- https://master.php.net/note/delete/109335/integrated
Del: useless -- https://master.php.net/note/delete/109335/useless
Del: bad code -- https://master.php.net/note/delete/109335/bad+code
Del: spam -- https://master.php.net/note/delete/109335/spam
Del: non-english -- https://master.php.net/note/delete/109335/non-english
Del: in docs -- https://master.php.net/note/delete/109335/in+docs
Del: other reasons-- https://master.php.net/note/delete/109335
Reject -- https://master.php.net/note/reject/109335
Search -- https://master.php.net/manage/user-notes.php