note 93276 added to function.get-magic-quotes-gpc

From: Date: Tue, 01 Sep 2009 01:40:21 +0000
Subject: note 93276 added to function.get-magic-quotes-gpc
Groups: php.notes 
Request: Send a blank email to php-notes+get-160105@lists.php.net to get a copy of this message
The character has special significance in C and its derivatives, where it serves as a reserved character used to signify the end of strings. The null character is often represented as the escape sequence '\0' in source code. Strings ending in a null character are said to be null-terminated. This differs from certain other languages (such as Pascal) which traditionally store a string as an array preceded by a string length. The main advantage of using a null character is that strings can be of any length, and only one character of additional storage is required. Null-terminated strings can also have efficiency benefits, since operations that traverse a string don't need to keep track of how many characters have been seen, and operations which modify the string's length do not need to update the stored length. Cache performance can also be better.[citation neede ---- Server IP: 69.147.83.197 Probable Submitter: 77.65.92.156 ---- Manual Page -- http://www.php.net/manual/en/function.get-magic-quotes-gpc.php Edit -- https://master.php.net/note/edit/93276 Del: integrated -- https://master.php.net/note/delete/93276/integrated Del: useless -- https://master.php.net/note/delete/93276/useless Del: bad code -- https://master.php.net/note/delete/93276/bad+code Del: spam -- https://master.php.net/note/delete/93276/spam Del: non-english -- https://master.php.net/note/delete/93276/non-english Del: in docs -- https://master.php.net/note/delete/93276/in+docs Del: other reasons-- https://master.php.net/note/delete/93276 Reject -- https://master.php.net/note/reject/93276 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160105) next »