note 117597 added to internals2.variables

From: Date: Fri, 03 Jul 2015 20:09:05 +0000
Subject: note 117597 added to internals2.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-203038@lists.php.net to get a copy of this message
Variable in programming language are often regarded as 'storage box' in the sense that, they held values of certain items (user inputs, defined values , etc.). Php as a language has her own way of storing variables, the symbol $ if used to identify or define a variable. Take this example <?php $greet = "hello world"; ?> this little piece of code shows a php opening tag <? php (to know whats tags learn Html) and later the variable $greet which was defined using $ symbol, miss that and your code will be really messy, followed by the assignment operator = through which we save hello world into the variable $greet in quote. The quote shows that the value we save is a string, and finally the php closing tag. Next lesson will work more on how variables work ---- Server IP: 72.52.91.14 Probable Submitter: 168.235.197.179 (proxied: 41.190.14.190) ---- Manual Page -- http://php.net/manual/en/internals2.variables.php Edit -- https://master.php.net/note/edit/117597 Del: integrated -- https://master.php.net/note/delete/117597/integrated Del: useless -- https://master.php.net/note/delete/117597/useless Del: bad code -- https://master.php.net/note/delete/117597/bad+code Del: spam -- https://master.php.net/note/delete/117597/spam Del: non-english -- https://master.php.net/note/delete/117597/non-english Del: in docs -- https://master.php.net/note/delete/117597/in+docs Del: other reasons-- https://master.php.net/note/delete/117597 Reject -- https://master.php.net/note/reject/117597 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203038) next »