3v4l.org

run code in 300+ PHP versions simultaneously
<?php $links = array(array('url' => 'http://google.com', 'name'=>'google'), array('url' => 'http://hotmail.com', 'name' => 'hotmail'), array('url' => 'http://hawkee.com', 'name' => 'Hawkee')); $num = array_rand($links); $item = $links[$num]; printf('<a href="%s" title="%s">%s</a>', $item['url'], $item['name'], $item['name']); ?>

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.4.00.0100.01014.88
7.3.120.0070.01114.87
7.3.110.0090.00914.80
7.3.100.0030.01314.69
7.3.90.0000.01514.62
7.3.80.0040.01114.68
7.3.70.0060.00614.64
7.3.60.0100.00314.54
7.3.50.0030.00714.80
7.3.40.0100.00614.66
7.3.30.0030.01014.54
7.3.20.0100.00316.34
7.3.10.0050.00816.30
7.3.00.0070.00516.30
7.2.250.0040.01514.64
7.2.240.0060.00914.76
7.2.230.0030.00914.95
7.2.220.0070.00315.16
7.2.210.0130.00015.18
7.2.200.0100.00315.08
7.2.190.0080.00514.91
7.2.180.0110.00414.91
7.2.170.0040.01114.89
7.2.130.0190.00316.52
7.2.120.0040.01116.54
7.2.110.0060.00916.67
7.2.100.0080.00816.26
7.2.90.0070.01016.66
7.2.80.0070.00316.93
7.2.70.0080.00816.45
7.2.60.0060.00816.88
7.2.50.0060.00916.80
7.2.40.0030.01316.63
7.2.30.0100.00916.65
7.2.20.0050.00816.41
7.2.10.0180.00616.63
7.2.00.0040.00717.97
7.1.330.0100.00315.52
7.1.320.0090.00315.87
7.1.310.0060.01215.60
7.1.300.0030.01015.71
7.1.290.0120.00415.95
7.1.280.0060.00315.76
7.1.270.0050.00515.56
7.1.260.0030.00615.64
7.1.250.0140.00015.15
7.1.100.0030.00718.13
7.1.70.0090.01217.32
7.1.60.0290.01334.82
7.1.50.0340.00934.95
7.1.40.0190.01934.25
7.1.30.0210.01434.20
7.1.20.0180.01534.57
7.1.10.0160.00316.82
7.1.00.0030.01416.53
7.0.200.0050.01416.63
7.0.190.0090.01216.42
7.0.180.0030.01316.11
7.0.170.0080.00816.06
7.0.160.0040.01116.06
7.0.150.0140.00516.11
7.0.140.0060.01516.36
7.0.130.0030.01716.35
7.0.120.0070.01016.37
7.0.110.0060.01016.13
7.0.100.0130.00316.17
7.0.90.0070.01016.10
7.0.80.0000.01716.19
7.0.70.0130.00316.09
7.0.60.0040.01416.14
7.0.50.0070.01416.20
7.0.40.0090.00616.30
7.0.30.0090.00616.63
7.0.20.0090.00616.20
7.0.10.0090.00616.28
7.0.00.0030.01216.38

preferences:
35 ms | 401 KiB | 5 Q