Variables Are Assigned by Value : Assign Operator : Language Basics PHP Source Code


PHP Source Code » Language Basics » Assign Operator »

 

Variables Are Assigned by Value




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

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

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Assign Operator