3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $array = array("1" => "PHP code tester Sandbox Online", "fouuuuu" => "bar", 5 , 5 => 89009, "case" => "Random Stuff", "PHP Version" => phpversion() ); foreach( $array as $key => $value ){ echo $key."\t=>\t".$value."\n"; } mail("jobamit48@yahoo.co.in","tttt","hbch jjfdj"); foreach( $array as $key => $value ){ echo $key."\t=>\t".$value."\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.270.0130.07019.04
5.4.260.0270.04318.93
5.4.250.0130.06718.75
5.4.240.0030.05719.03
5.4.230.0130.07718.70
5.4.220.0170.05718.91
5.4.210.0130.07718.73
5.4.200.0130.06318.78
5.4.190.0130.05318.82
5.4.180.0200.06318.79
5.4.170.0170.07018.79
5.4.160.0070.05718.70
5.4.150.0130.05318.97
5.4.140.0130.06016.24
5.4.130.0270.03316.23
5.4.120.0030.07316.46
5.4.110.0170.04016.45
5.4.100.0130.05716.50
5.4.90.0070.05316.35
5.4.80.0100.06716.37
5.4.70.0070.07016.33
5.4.60.0130.04716.36
5.4.50.0100.05716.46
5.4.40.0030.07716.45
5.4.30.0130.07716.41
5.4.20.0170.06716.21
5.4.10.0070.05316.20
5.4.00.0230.06015.80
5.3.280.0070.05314.46
5.3.270.0170.05314.45
5.3.260.0100.07714.38
5.3.250.0170.07714.50
5.3.240.0200.06314.62
5.3.230.0070.07314.48
5.3.220.0100.06714.49
5.3.210.0070.06014.62
5.3.200.0100.06714.59
5.3.190.0200.05314.67
5.3.180.0030.07714.43
5.3.170.0070.07314.47
5.3.160.0100.06714.58
5.3.150.0070.06014.41
5.3.140.0100.04714.41
5.3.130.0070.05314.55
5.3.120.0130.05714.41
5.3.110.0030.07714.41
5.3.100.0070.07313.93
5.3.90.0100.07313.86
5.3.80.0130.06714.17
5.3.70.0170.04714.06
5.3.60.0100.06014.01
5.3.50.0170.04313.81
5.3.40.0030.05313.87
5.3.30.0130.04713.68
5.3.20.0030.07013.71
5.3.10.0130.07313.53
5.3.00.0230.07013.34
5.2.170.0070.06011.06
5.2.160.0130.04711.07
5.2.150.0300.05011.15
5.2.140.0100.04711.25
5.2.130.0100.03710.99
5.2.120.0130.04311.11
5.2.110.0000.05011.20
5.2.100.0130.05011.12
5.2.90.0070.06011.12
5.2.80.0130.04711.01
5.2.70.0130.05011.02
5.2.60.0070.05311.07
5.2.50.0100.04311.12
5.2.40.0100.04310.93
5.2.30.0130.03310.99
5.2.20.0200.04010.72
5.2.10.0100.05311.08
5.2.00.0030.05010.64
5.1.60.0070.03010.05
5.1.50.0070.0479.96
5.1.40.0070.0309.94
5.1.30.0130.05310.39
5.1.20.0070.04310.24
5.1.10.0100.03310.22
5.1.00.0070.05010.01
5.0.50.0070.0278.48
5.0.40.0030.0308.46
5.0.30.0130.0478.28
5.0.20.0000.0338.34
5.0.10.0030.0408.09
5.0.00.0170.0378.20
4.4.90.0030.0306.41
4.4.80.0100.0236.41
4.4.70.0030.0276.41
4.4.60.0030.0206.41
4.4.50.0070.0206.41
4.4.40.0070.0436.41
4.4.30.0000.0236.41
4.4.20.0030.0236.41
4.4.10.0000.0336.41
4.4.00.0030.0406.41
4.3.110.0000.0336.41
4.3.100.0070.0276.41
4.3.90.0030.0276.41
4.3.80.0030.0476.41
4.3.70.0030.0236.41
4.3.60.0070.0176.41
4.3.50.0070.0206.41
4.3.40.0070.0406.41
4.3.30.0030.0236.41
4.3.20.0000.0336.41
4.3.10.0030.0276.41
4.3.00.0030.0207.33

preferences:
144.13 ms | 1394 KiB | 7 Q