<?php $user = array("Ashley", "Bale", "Shrek", "Blank"); for ($x=0; $x < count($user); $x++) { if ($user[$x] == "Shrek") continue; printf ($user[$x]); } ?>
<?php function doSomething( &$arg ) { $return = $arg; $arg += 1; return $return; } $a = 3; $b = doSomething( $a ); ?>
<?php $num = 10; echo 'What is her age? \n She is $num years old'; ?>
<?php function track() { static $count = 0; $count++; echo $count; } track(); track(); track(); ?>
<?php $team = "arsenal"; switch ($team) { case "manu": echo "I love man u"; case "arsenal": echo "I love arsenal"; case "manc": echo "I love manc"; } ?>
<?php $a = "clue"; $a .= "get"; echo "$a"; ?>
Please disable the adBlock and continue. Thank you.