note 95341 added to function.is-null

From: Date: Mon, 28 Dec 2009 13:40:03 +0000
Subject: note 95341 added to function.is-null
Groups: php.notes 
Request: Send a blank email to php-notes+get-164387@lists.php.net to get a copy of this message
@Malfist: This is not micro-optimization. Null checks occur a lot, and having is_null instead of === null takes more than twice the time on every check. During the day this will probably easily save a few minutes of processing power on a medium traffic server. ---- Server IP: 69.147.83.197 Probable Submitter: 62.177.216.90 ---- Manual Page -- http://www.php.net/manual/en/function.is-null.php Edit -- https://master.php.net/note/edit/95341 Del: integrated -- https://master.php.net/note/delete/95341/integrated Del: useless -- https://master.php.net/note/delete/95341/useless Del: bad code -- https://master.php.net/note/delete/95341/bad+code Del: spam -- https://master.php.net/note/delete/95341/spam Del: non-english -- https://master.php.net/note/delete/95341/non-english Del: in docs -- https://master.php.net/note/delete/95341/in+docs Del: other reasons-- https://master.php.net/note/delete/95341 Reject -- https://master.php.net/note/reject/95341 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164387) next »