note 89936 added to function.is-string

From: Date: Mon, 30 Mar 2009 00:48:07 +0000
Subject: note 89936 added to function.is-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-152593@lists.php.net to get a copy of this message
<? //if CONS is not a defined constant $foo = CONS; if (is_string($foo)) { echo '$foo is string'; } else { echo '$foo is not a string'; } //outputs: $foo is string define( 'CONS', 30 ); $foo = CONS; if (is_string($foo)) { echo '$foo is string'; } else { echo '$foo is not a string'; } //outputs: $foo is not a string ?> ---- Server IP: 208.69.120.35 Probable Submitter: 85.217.162.98 ---- Manual Page -- http://www.php.net/manual/en/function.is-string.php Edit -- https://master.php.net/note/edit/89936 Del: integrated -- https://master.php.net/note/delete/89936/integrated Del: useless -- https://master.php.net/note/delete/89936/useless Del: bad code -- https://master.php.net/note/delete/89936/bad+code Del: spam -- https://master.php.net/note/delete/89936/spam Del: non-english -- https://master.php.net/note/delete/89936/non-english Del: in docs -- https://master.php.net/note/delete/89936/in+docs Del: other reasons-- https://master.php.net/note/delete/89936 Reject -- https://master.php.net/note/reject/89936 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152593) next »