note 106517 added to language.types.null

From: Date: Tue, 15 Nov 2011 16:09:51 +0000
Subject: note 106517 added to language.types.null
Groups: php.notes 
Request: Send a blank email to php-notes+get-184457@lists.php.net to get a copy of this message
In response to tbdavis at greyshirt dot net's comment: The notion NULL as it applies to PHP, has absolutely *nothing* whatsoever to do with the relational model; it's a good idea to make a clear distinction between the two in your head, and to try to forget about any similarity. PHP is a scripting language and not a data storage utility, let alone an RDBMS. The origins of the value NULL likely stem from the C language, in which the constant NULL means a pointer that does not point to anything. Don't worry if that means nothing to you, as there are (thankfully!) no pointers in the PHP language. However, PHP is implemented in C and there is a strong analogy between whether or not a PHP variable name points to a value, and the value of a pointer in C. ---- Server IP: 91.199.167.223 Probable Submitter: 88.159.82.180 ---- Manual Page -- http://www.php.net/manual/en/language.types.null.php Edit -- https://master.php.net/note/edit/106517 Del: integrated -- https://master.php.net/note/delete/106517/integrated Del: useless -- https://master.php.net/note/delete/106517/useless Del: bad code -- https://master.php.net/note/delete/106517/bad+code Del: spam -- https://master.php.net/note/delete/106517/spam Del: non-english -- https://master.php.net/note/delete/106517/non-english Del: in docs -- https://master.php.net/note/delete/106517/in+docs Del: other reasons-- https://master.php.net/note/delete/106517 Reject -- https://master.php.net/note/reject/106517 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184457) next »