note 97229 added to language.variables

From: Date: Fri, 09 Apr 2010 08:24:58 +0000
Subject: note 97229 added to language.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-168061@lists.php.net to get a copy of this message
There is no declaration of PHP Variables as such. A Variable is defined with its first assignment. for eg. $a = 5; // This is a declaration. Note if you try to use an un-initialized variable. PHP gives a warning. "PHP Notice: Undefined variable" To avoid this you can check if a variableis defined by using isset command. ---- Server IP: 69.147.83.197 Probable Submitter: 202.138.120.38 ---- Manual Page -- http://www.php.net/manual/en/language.variables.php Edit -- https://master.php.net/note/edit/97229 Del: integrated -- https://master.php.net/note/delete/97229/integrated Del: useless -- https://master.php.net/note/delete/97229/useless Del: bad code -- https://master.php.net/note/delete/97229/bad+code Del: spam -- https://master.php.net/note/delete/97229/spam Del: non-english -- https://master.php.net/note/delete/97229/non-english Del: in docs -- https://master.php.net/note/delete/97229/in+docs Del: other reasons-- https://master.php.net/note/delete/97229 Reject -- https://master.php.net/note/reject/97229 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168061) next »