3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10000; $i++) echo $test';

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.260.0130.06718.82
5.4.250.0100.06318.93
5.4.240.0100.05018.79
5.4.230.0130.05018.96
5.4.220.0030.06719.00
5.4.210.0030.05318.93
5.4.200.0030.05718.72
5.4.190.0030.06018.94
5.4.180.0030.06018.95
5.4.170.0130.04718.72
5.4.160.0130.05318.71
5.4.150.0030.06318.96
5.4.140.0000.06316.39
5.4.130.0070.06016.42
5.4.120.0170.06716.45
5.4.110.0000.05716.49
5.4.100.0130.04316.39
5.4.90.0100.04316.63
5.4.80.0130.04316.58
5.4.70.0130.04716.53
5.4.60.0170.04016.50
5.4.50.0030.05016.37
5.4.40.0100.06016.62
5.4.30.0200.03716.44
5.4.20.0030.05016.44
5.4.10.0030.05716.52
5.4.00.0100.04716.00
5.3.280.0070.05014.52
5.3.270.0070.05314.46
5.3.260.0170.05014.70
5.3.250.0070.05014.52
5.3.240.0170.05314.63
5.3.230.0070.07314.60
5.3.220.0100.06314.61
5.3.210.0030.05714.34
5.3.200.0030.05314.34
5.3.190.0070.05314.43
5.3.180.0130.04314.58
5.3.170.0100.04714.66
5.3.160.0000.05714.71
5.3.150.0070.05014.57
5.3.140.0130.04014.47
5.3.130.0030.05314.42
5.3.120.0030.06014.38
5.3.110.0070.07014.55
5.3.100.0030.06013.87
5.3.90.0030.05713.86
5.3.80.0030.06314.02
5.3.70.0100.06714.02
5.3.60.0100.05714.02
5.3.50.0170.04313.79
5.3.40.0130.05713.80
5.3.30.0070.04713.82
5.3.20.0130.06313.76
5.3.10.0030.05313.35
5.3.00.0130.04013.58
5.2.170.0330.03710.80
5.2.160.0370.02711.77
5.2.150.0030.04310.86
5.2.140.0130.03710.86
5.2.130.0200.03310.93
5.2.120.0100.05310.76
5.2.110.0170.03310.82
5.2.100.0170.05310.81
5.2.90.0070.06310.78
5.2.80.0170.03310.77
5.2.70.0200.03310.75
5.2.60.0000.05010.79
5.2.50.0070.05710.69
5.2.40.0070.04310.68
5.2.30.0100.04010.50
5.2.20.0330.02311.85
5.2.10.0330.05711.80
5.2.00.0000.04311.82
5.1.60.0370.04011.88
5.1.50.0370.04011.88
5.1.40.0200.02313.81
5.1.30.0070.03713.78
5.1.20.0000.02713.88
5.1.10.0300.05013.86
5.1.00.0330.04313.88
5.0.50.0130.02313.77
5.0.40.0200.04013.88
5.0.30.0130.04013.88
5.0.20.0130.02313.88
5.0.10.0230.03013.83
5.0.00.0070.03313.88
4.4.90.0000.01713.84
4.4.80.0030.02313.88
4.4.70.0030.01713.80
4.4.60.0070.01713.84
4.4.50.0070.03713.88
4.4.40.0030.05013.84
4.4.30.0000.03313.88
4.4.20.0130.03013.84
4.4.10.0100.02713.87
4.4.00.0070.02313.91
4.3.110.0100.01013.87
4.3.100.0130.03013.88
4.3.90.0030.02013.91
4.3.80.0100.02713.90
4.3.70.0000.03013.85
4.3.60.0200.02013.91
4.3.50.1130.01313.88
4.3.40.1430.02313.88
4.3.30.0600.01713.91
4.3.20.0830.02013.91
4.3.10.0870.02013.91
4.3.00.0130.03013.91

preferences:
141.23 ms | 1386 KiB | 7 Q