Looping Through the $GLOBALS Array : GLOBALS : Language Basics PHP Source Code


PHP Source Code » Language Basics » GLOBALS »

 

Looping Through the $GLOBALS Array



<html>
<head>
<title>Looping through the $GLOBALS array</title>
</head>
<body>
<?php
foreach $GLOBALS as $key=>$value ){
   print "$GLOBALS["$key"] == $value<br>";
}
?>
</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» GLOBALS