@ 2016-01-27T11:08:28Z <?php
for ($i = 4; $i <= 6; print $i ++):
$i=4;
$j=30;
$k=0;
$k=$j++/$i++;
echo $i . ' ' . $j . ' ' . $k . ' ' ."\r\n";
$aa = 10;
echo 'Value of a = $a'."\r\n";
$a = array( 1=> 'one', 2 => 'two', 3 => 'three');
unset( $a[2] );
print_r($a[2]);
print_r($a[3]);
$great = 'fantastic';
echo "This is {$great}";
$var1="a";
$$var1="b";
echo "$var1 $a";
class Insurance{
function clsNAme(){
echo get_class($this);
}
}
print 5+2 * 4+6;
$cl = new Insurance();
$cl->clsName();
Insurance::clsName();
var_dump (3*4);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
$var = "testing module";
$statement = 'This is a $var';
echo ($statement);
$var = "testing module";
$statement = "This is a $var";
echo ($statement);
$arr = array("foo","bar","baz");
for ( $i = 0; $i < count($arr); $i++){
$item = $arr[$i];
}
echo "<pre>";
print_r($item);
echo "</pre><br/>\r\n";
$a = 3;
print '$a'."\r\n";
echo '$a'."\r\n";
print "$a\r\n";
echo "$a\r\n";
$array = array(array(141,151,161), 2, 3, array(101, 202, 303));
function DisplayArray($array) {
foreach ($array as $value) {
if (is_array($value)) {
DisplayArray($value);
} else {
echo $value . "
";
}
}
}
DisplayArray($array);
echo 0x10;
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.0.2 0.030 0.070 20.01 7.0.1 0.007 0.077 20.18 7.0.0 0.007 0.057 20.09 5.6.17 0.033 0.077 20.48 5.6.16 0.003 0.050 20.55 5.6.15 0.000 0.073 18.24 5.6.14 0.010 0.057 18.25 5.6.13 0.000 0.063 18.15 5.6.12 0.010 0.080 21.02 5.6.11 0.007 0.080 21.04 5.6.10 0.023 0.060 21.01 5.6.9 0.007 0.057 21.00 5.6.8 0.013 0.073 20.54 5.5.31 0.027 0.070 20.23 5.5.30 0.010 0.080 17.96 5.5.29 0.010 0.080 17.96 5.5.28 0.007 0.087 20.90 5.5.27 0.010 0.050 20.75 5.5.26 0.010 0.060 20.89 5.5.25 0.000 0.077 20.48 5.5.24 0.013 0.067 20.28
preferences:dark mode live preview
147.84 ms | 1394 KiB | 7 Q