3v4l.org

run code in 300+ PHP versions simultaneously
<html> <title>davor</title> <?php $student = array("student"=>array("ime"=>"1.Davor","prezime"=>"2.begic","godina"=>"3.godina"), ); echo "<br>\n"; $auti = array("citoren"=>array("tip"=>"citroen", "boja"=>"crvena","godina"=>"2002"), "mercedes"=>array("tip"=>"mercedes","boja"=>"zelena","godina"=>"2001"), ); echo "<br>\n"; echo $student["student"]["ime"]."<br>\n"; echo $student["student"]["prezime"]."<br>\n"; echo $student["student"]["godina"]."<br>\n"; echo "<br>\n"; echo $auti["citroen"]["tip"]."<br>\n"; echo $auti["citroen"]["boja"]."<br>\n"; echo $auti["citroen"]["godina"]."<br>\n" echo $auti["mercedes"]["tip"]."<br>\n"; echo $auti["mercedes"]["boja"]."<br>\n"; echo $auti["mercedes"]["godina"]."<br>\n"; ?>

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).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.240.0210.06512.38
5.4.230.0130.04112.38
5.4.220.0110.04212.38
5.4.210.0210.05612.37
5.4.200.0140.04712.38
5.4.190.0230.06212.37
5.4.180.0110.04112.37
5.4.170.0270.05612.38
5.4.160.0130.04712.37
5.4.150.0170.04512.37
5.4.140.0160.04212.06
5.4.130.0110.04512.04
5.4.120.0100.04112.01
5.4.110.0150.04012.00
5.4.100.0140.04212.00
5.4.90.0270.06112.00
5.4.80.0110.04312.00
5.4.70.0130.04112.00
5.4.60.0120.04212.00
5.4.50.0120.04012.00
5.4.40.0100.04111.98
5.4.30.0240.05811.98
5.4.20.0110.03811.98
5.4.10.0080.04311.98
5.4.00.0120.04111.48
5.3.280.0130.04012.71
5.3.270.0130.04212.73
5.3.260.0160.03912.72
5.3.250.0110.04512.72
5.3.240.0150.03712.72
5.3.230.0180.05412.71
5.3.220.0160.05312.68
5.3.210.0100.04512.68
5.3.200.0110.04212.68
5.3.190.0210.06412.68
5.3.180.0100.04512.67
5.3.170.0120.04112.67
5.3.160.0110.04112.67
5.3.150.0110.04012.67
5.3.140.0120.04112.66
5.3.130.0170.04112.66
5.3.120.0110.04312.66
5.3.110.0140.04112.65
5.3.100.0110.04312.12
5.3.90.0130.04612.08
5.3.80.0150.04112.07
5.3.70.0130.04212.08
5.3.60.0130.04212.07
5.3.50.0240.06512.00
5.3.40.0110.04312.00
5.3.30.0140.03811.95
5.3.20.0130.03911.71
5.3.10.0110.03911.68
5.3.00.0150.04011.67

preferences:
139.67 ms | 1394 KiB | 7 Q