Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Variables Are Assigned by Value

Mon Oct 27, 2008 12:24 pm

Code:

<html>
<head>
<title>Variables are assigned by value</title>
</head>
<body>
<?php
$aVariable
= 42;
$anotherVariable = $aVariable;

$aVariable = 325;
print
$anotherVariable;
?>
</body>
</html>




Post a reply
  Related Posts  to : Variables Are Assigned by Value
 Local variables vs Instance variables     -  
 PHP Variables     -  
 Casting Variables in php     -  
 Scope Variables in php     -  
 Apache Variables in php     -  
 PHP session variables     -  
 php variables in mail function     -  
 declaring variables problem     -  
 unset reference variables     -  
 The using of pointers between two variables (Swaping)     -  

Topic Tags

PHP Variables