3v4l.org

run code in 300+ PHP versions simultaneously
<?php $movies = array( array( "title" => "Rear Window", "director" => "Alfred Hitchcock", "year" => 1954 ), array( "title" => "Full Metal Jacket", "director" => "Stanley Kubrick", "year" => 1987 ), array( "title" => "Mean Streets", "director" => "Martin Scorsese", "year" => 1973 ) ); echo $movies[0]["title"]

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)
7.1.70.0030.01017.09
7.1.60.0110.01834.95
7.1.50.0120.01534.81
7.1.40.0150.01534.45
7.1.30.0210.01034.48
7.1.20.0070.02234.37
7.1.10.0030.01016.43
7.1.00.0070.00716.37
7.0.200.0040.00816.71
7.0.190.0050.01016.66
7.0.180.0070.00716.15
7.0.170.0030.01016.10
7.0.160.0040.01115.98
7.0.150.0060.00616.20
7.0.140.0030.01016.27
7.0.130.0080.00416.44
7.0.120.0000.01316.38
7.0.110.0070.00716.05
7.0.100.0030.01016.30
7.0.90.0100.00316.21
7.0.80.0060.00616.15
7.0.70.0040.00816.05
7.0.60.0060.00616.04
7.0.50.0110.00216.20
7.0.40.0070.00716.39
7.0.30.0030.00916.28
7.0.20.0000.01316.25
7.0.10.0070.00716.48
7.0.00.0030.01016.36

preferences:
141.59 ms | 1394 KiB | 7 Q