3v4l.org

run code in 300+ PHP versions simultaneously
<?php function whipme() { $a--++; var_dump($a); } whipme();

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.0030.05719.01
5.4.260.0170.04719.00
5.4.250.0230.05018.76
5.4.240.0030.06719.00
5.4.230.0070.05718.90
5.4.220.0030.06018.98
5.4.210.0100.07718.84
5.4.200.0070.07318.65
5.4.190.0070.05319.09
5.4.180.0100.05018.94
5.4.170.0130.07018.99
5.4.160.0130.04318.78
5.4.150.0100.05318.97
5.4.140.0100.07016.27
5.4.130.0100.04716.35
5.4.120.0030.05716.54
5.4.110.0100.07016.51
5.4.100.0270.05716.57
5.4.90.0130.05016.62
5.4.80.0070.04716.50
5.4.70.0100.05316.55
5.4.60.0030.05016.63
5.4.50.0130.05716.39
5.4.40.0130.04316.51
5.4.30.0170.04016.40
5.4.20.0030.05016.54
5.4.10.0030.06016.59
5.4.00.0070.06715.79
5.3.280.0030.05314.69
5.3.270.0170.06314.62
5.3.260.0100.05314.59
5.3.250.0130.05714.69
5.3.240.0130.05714.69
5.3.230.0100.05014.43
5.3.220.0170.05314.55
5.3.210.0100.06014.57
5.3.200.0130.04314.79
5.3.190.0170.06014.47
5.3.180.0130.04714.54
5.3.170.0100.04714.74
5.3.160.0070.06014.53
5.3.150.0130.04714.75
5.3.140.0100.06714.64
5.3.130.0070.05714.68
5.3.120.0100.05014.63
5.3.110.0100.07014.63
5.3.100.0100.04714.10
5.3.90.0030.05314.15
5.3.80.0130.05714.09
5.3.70.0170.03714.00
5.3.60.0030.05314.08
5.3.50.0030.06314.04
5.3.40.0000.07714.02
5.3.30.0070.04713.74
5.3.20.0100.05713.87
5.3.10.0000.05313.68
5.3.00.0030.06013.55
5.2.170.0030.04310.97
5.2.160.0030.04011.22
5.2.150.0170.04711.30
5.2.140.0000.05311.04
5.2.130.0100.04311.26
5.2.120.0030.04711.17
5.2.110.0030.04011.18
5.2.100.0070.03711.17
5.2.90.0070.03711.17
5.2.80.0100.04311.16
5.2.70.0070.04011.07
5.2.60.0030.04011.02
5.2.50.0070.04011.09
5.2.40.0030.05011.21
5.2.30.0100.03711.05
5.2.20.0070.03711.12
5.2.10.0030.04010.94
5.2.00.0100.05010.94
5.1.60.0130.0379.97
5.1.50.0000.04710.23
5.1.40.0070.0309.97
5.1.30.0030.03710.41
5.1.20.0000.04010.51
5.1.10.0000.03710.07
5.1.00.0000.05710.11
5.0.50.0070.0308.63
5.0.40.0030.0278.50
5.0.30.0070.0378.20
5.0.20.0070.0278.17
5.0.10.0030.0278.22
5.0.00.0100.0438.16
4.4.90.0030.0235.88
4.4.80.0000.0305.80
4.4.70.0000.0235.84
4.4.60.0030.0275.86
4.4.50.0030.0205.83
4.4.40.0000.0375.86
4.4.30.0030.0275.82
4.4.20.0070.0275.92
4.4.10.0070.0275.91
4.4.00.0100.0306.00
4.3.110.0070.0275.85
4.3.100.0070.0275.76
4.3.90.0000.0305.74
4.3.80.0030.0405.73
4.3.70.0070.0175.74
4.3.60.0000.0235.81
4.3.50.0030.0305.78
4.3.40.0030.0475.74
4.3.30.0000.0205.66
4.3.20.0000.0275.66
4.3.10.0030.0275.66
4.3.00.0170.0307.19

preferences:
145.82 ms | 1394 KiB | 7 Q