3v4l.org

run code in 300+ PHP versions simultaneously
<?php function my_func($str) { echo $str; } true or die("eins"); false or trigger_error("wtf", E_USER_NOTICE); false or my_func("nope"); false or echo "shit";

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.320.0030.07319.20
5.4.310.0070.06319.09
5.4.300.0000.04719.20
5.4.290.0030.04318.84
5.4.280.0070.05018.99
5.4.270.0070.03319.24
5.4.260.0030.06719.25
5.4.250.0000.07019.07
5.4.240.0030.07719.08
5.4.230.0070.05718.86
5.4.220.0070.03719.19
5.4.210.0030.06019.05
5.4.200.0030.03719.14
5.4.190.0030.04019.08
5.4.180.0030.07718.98
5.4.170.0100.04319.08
5.4.160.0030.05718.98
5.4.150.0000.07019.13
5.4.140.0030.05716.36
5.4.130.0270.04316.35
5.4.120.0100.05716.33
5.4.110.0000.07716.56
5.4.100.0070.05316.46
5.4.90.0230.03716.54
5.4.80.0200.02716.54
5.4.70.0100.04716.44
5.4.60.0100.07016.47
5.4.50.0000.06316.34
5.4.40.0030.04316.40
5.4.30.0100.05716.53
5.4.20.0030.08016.53
5.4.10.0000.07316.34
5.4.00.0030.07015.80
5.3.290.0030.08014.57
5.3.280.0030.07014.50
5.3.270.0030.05314.57
5.3.260.0000.07314.61
5.3.250.0000.06014.76
5.3.240.0270.04314.64
5.3.230.0000.06714.60
5.3.220.0000.08014.49
5.3.210.0030.07014.49
5.3.200.0030.06714.49
5.3.190.0000.07714.62
5.3.180.0030.07714.46
5.3.170.0000.06314.57
5.3.160.0030.06714.47
5.3.150.0000.06714.49
5.3.140.0030.05714.48
5.3.130.0030.08014.45
5.3.120.0000.06014.45
5.3.110.0030.06014.46
5.3.100.0030.07314.28
5.3.90.0030.06714.18
5.3.80.0000.07714.02
5.3.70.0000.07014.09
5.3.60.0030.06014.06
5.3.50.0070.06013.93
5.3.40.0000.04314.04
5.3.30.0030.04713.83
5.3.20.0000.05313.67
5.3.10.0030.07013.64
5.3.00.0000.05013.55
5.2.170.0030.04711.96
5.2.160.0030.04711.96
5.2.150.0070.06011.96
5.2.140.0030.04011.96
5.2.130.0070.06011.96
5.2.120.0000.05711.96
5.2.110.0030.05711.96
5.2.100.0000.06311.96
5.2.90.0170.02311.96
5.2.80.0100.04311.96
5.2.70.0170.03711.96
5.2.60.0130.04311.96
5.2.50.0030.04311.96
5.2.40.0000.04711.96
5.2.30.0070.04011.96
5.2.20.0100.04011.96
5.2.10.0030.05311.96
5.2.00.0070.03711.96
5.1.60.0070.02311.96
5.1.50.0130.02311.96
5.1.40.0000.03311.96
5.1.30.0000.02711.96
5.1.20.0000.05711.96
5.1.10.0030.04711.96
5.1.00.0030.05711.96
5.0.50.0030.04311.96
5.0.40.0030.03311.96
5.0.30.0030.06011.96
5.0.20.0000.04711.96
5.0.10.0000.04311.96
5.0.00.0030.05311.96
4.4.90.0100.02011.96
4.4.80.0000.03711.96
4.4.70.0000.02011.96
4.4.60.0000.02011.96
4.4.50.0000.03311.96
4.4.40.0000.03311.96
4.4.30.0030.01711.96
4.4.20.0030.01711.96
4.4.10.0030.02011.96
4.4.00.0000.05311.96
4.3.110.0000.03711.96
4.3.100.0030.03011.96
4.3.90.0030.03011.96
4.3.80.0030.04011.96
4.3.70.0000.03311.96
4.3.60.0000.02711.96
4.3.50.0000.03011.96
4.3.40.0000.04011.96
4.3.30.0000.02711.96
4.3.20.0000.03011.96
4.3.10.0000.02711.96
4.3.00.0030.03311.96

preferences:
139.67 ms | 1394 KiB | 7 Q