3v4l.org

run code in 300+ PHP versions simultaneously
<?php json_decode("{\"test\": {\"test2\": \"zomg\"}}")->{"foo"}

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.340.0680.05619.02
5.4.320.0700.05919.09
5.4.310.0670.05319.15
5.4.300.0630.05419.19
5.4.290.0590.05319.12
5.4.280.0590.05619.18
5.4.270.0620.05719.08
5.4.260.0610.04719.06
5.4.250.0570.05619.13
5.4.240.0670.05919.24
5.4.230.0620.05018.98
5.4.220.0690.05219.18
5.4.210.0570.05419.11
5.4.200.0620.04918.96
5.4.190.0780.05119.01
5.4.180.0710.05019.13
5.4.170.0690.04719.18
5.4.160.0630.05419.06
5.4.150.0760.05819.01
5.4.140.0680.04816.22
5.4.130.0610.05216.28
5.4.120.0520.05016.34
5.4.110.0590.05616.50
5.4.100.0660.04816.44
5.4.90.0630.04816.39
5.4.80.0680.04316.31
5.4.70.0580.05316.19
5.4.60.0610.05216.38
5.4.50.0690.03916.46
5.4.40.0670.04616.39
5.4.30.0600.05016.35
5.4.20.0620.04816.37
5.4.10.0690.04816.33
5.4.00.0620.04915.84
5.3.290.0660.05714.55
5.3.280.0670.04914.50
5.3.270.0610.05714.62
5.3.260.0710.05014.49
5.3.250.0620.05014.43
5.3.240.0710.04814.43
5.3.230.0490.04614.47
5.3.220.0440.04814.52
5.3.210.0660.05314.47
5.3.200.0710.04314.48
5.3.190.0620.05614.44
5.3.180.0630.05014.43
5.3.170.0640.05014.50
5.3.160.0580.05114.42
5.3.150.0560.05214.48
5.3.140.0600.04914.59
5.3.130.0710.05214.51
5.3.120.0680.05714.47
5.3.110.0660.05414.46
5.3.100.0720.05614.04
5.3.90.0660.05313.97
5.3.80.0630.04913.91
5.3.70.0640.04813.98
5.3.60.0600.05413.93
5.3.50.0610.04913.80
5.3.40.0620.05113.91
5.3.30.0620.05313.83
5.3.20.0640.04913.68
5.3.10.0640.05313.59
5.3.00.0570.05813.52
5.2.170.0460.04311.21
5.2.160.0530.03911.13
5.2.150.0540.04411.04
5.2.140.0580.03711.10
5.2.130.0590.04010.94
5.2.120.0500.04410.94
5.2.110.0480.03911.01
5.2.100.0540.03610.97
5.2.90.0560.03911.00
5.2.80.0580.04011.02
5.2.70.0490.04611.09
5.2.60.0460.04610.99
5.2.50.0580.03311.00
5.2.40.0440.04110.88
5.2.30.0420.04010.86
5.2.20.0430.04110.82
5.2.10.0400.03910.84
5.2.00.0440.03810.75
5.1.60.0420.03110.07
5.1.50.0400.03410.02
5.1.40.0400.03710.04
5.1.30.0410.04010.39
5.1.20.0430.03410.37
5.1.10.0470.03310.05
5.1.00.0380.0399.98
5.0.50.0280.0228.53
5.0.40.0210.0288.43
5.0.30.0190.0428.40
5.0.20.0190.0278.47
5.0.10.0190.0288.36
5.0.00.0210.0408.34
4.4.90.0190.0238.05
4.4.80.0190.0208.05
4.4.70.0230.0228.05
4.4.60.0270.0208.05
4.4.50.0230.0238.05
4.4.40.0240.0318.05
4.4.30.0230.0208.05
4.4.20.0260.0218.05
4.4.10.0220.0238.05
4.4.00.0200.0348.05
4.3.110.0180.0268.05
4.3.100.0190.0218.05
4.3.90.0180.0218.05
4.3.80.0190.0338.05
4.3.70.0240.0168.05
4.3.60.0180.0208.05
4.3.50.0190.0238.05
4.3.40.0190.0328.05
4.3.30.0120.0228.05
4.3.20.0090.0228.05
4.3.10.0090.0218.05
4.3.00.0070.0238.05

preferences:
141.7 ms | 1394 KiB | 7 Q