3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t=5; $y= 99; $z=$t*$y function practiceTest() { global $t,$y,$z; $y=$t*$y; } practiceTest(); echo $z; //leader ?> </body> </html>

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.280.0130.04719.22
5.4.270.0270.04719.22
5.4.260.0270.07318.95
5.4.250.0270.08019.30
5.4.240.0370.06318.91
5.4.230.0230.05718.93
5.4.220.0270.07019.05
5.4.210.0400.07719.06
5.4.200.0300.07018.86
5.4.190.0270.07319.30
5.4.180.0370.03019.21
5.4.170.0230.07319.07
5.4.160.0200.04318.83
5.4.150.0300.03319.21
5.4.140.0300.07016.50
5.4.130.0330.03716.33
5.4.120.0200.05016.35
5.4.110.0230.04316.45
5.4.100.0270.07016.54
5.4.90.0230.04716.56
5.4.80.0300.05016.18
5.4.70.0270.06316.36
5.4.60.0230.03716.29
5.4.50.0230.06316.43
5.4.40.0230.05716.54
5.4.30.0370.04016.42
5.4.20.0270.07316.23
5.4.10.0270.05016.16
5.4.00.0270.07015.78
5.3.280.0200.05714.43
5.3.270.0300.06314.69
5.3.260.0230.05014.48
5.3.250.0330.06714.44
5.3.240.0230.04714.46
5.3.230.0270.07314.43
5.3.220.0400.04014.51
5.3.210.0270.07714.45
5.3.200.0330.07014.52
5.3.190.0230.05014.61
5.3.180.0230.03714.47
5.3.170.0300.07014.51
5.3.160.0330.06314.39
5.3.150.0330.05714.52
5.3.140.0230.04714.54
5.3.130.0270.05714.57
5.3.120.0330.06314.57
5.3.110.0200.04314.40
5.3.100.0270.07013.97
5.3.90.0230.07313.93
5.3.80.0270.07013.81
5.3.70.0270.05013.96
5.3.60.0300.06713.80
5.3.50.0330.06013.75
5.3.40.0300.06013.93
5.3.30.0300.05013.86
5.3.20.0330.04013.63
5.3.10.0300.04313.60
5.3.00.0300.06713.51
5.2.170.0230.05013.22
5.2.160.0230.05313.22
5.2.150.0200.04313.22
5.2.140.0170.04313.22
5.2.130.0230.05713.22
5.2.120.0270.03313.22
5.2.110.0300.05313.22
5.2.100.0200.03013.22
5.2.90.0170.03713.22
5.2.80.0200.03313.22
5.2.70.0270.05713.22
5.2.60.0200.04713.22
5.2.50.0270.06013.22
5.2.40.0200.06013.22
5.2.30.0230.04713.22
5.2.20.0200.04013.22
5.2.10.0230.05713.22
5.2.00.0170.03313.22
5.1.60.0200.03713.22
5.1.50.0270.05013.22
5.1.40.0200.05013.22
5.1.30.0230.02713.22
5.1.20.0170.02713.22
5.1.10.0170.03313.22
5.1.00.0130.04313.22
5.0.50.0070.04013.22
5.0.40.0130.03313.22
5.0.30.0130.04313.22
5.0.20.0070.03013.22
5.0.10.0100.04313.22
5.0.00.0170.05313.22
4.4.90.0100.03313.22
4.4.80.0100.03313.22
4.4.70.0130.03713.22
4.4.60.0100.03713.22
4.4.50.0100.03313.22
4.4.40.0170.03013.22
4.4.30.0130.02313.22
4.4.20.0070.02313.22
4.4.10.0070.02013.22
4.4.00.0100.05313.22
4.3.110.0100.03313.22
4.3.100.0100.02013.22
4.3.90.0070.02713.22
4.3.80.0100.04713.22
4.3.70.0130.02013.22
4.3.60.0100.03013.22
4.3.50.0170.02313.22
4.3.40.0100.05013.22
4.3.30.0070.02313.22
4.3.20.0030.02013.22
4.3.10.0130.02713.22
4.3.00.0070.03313.22

preferences:
144.34 ms | 1394 KiB | 7 Q