3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode(['a','b'])

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.06718.78
5.4.260.0100.06019.02
5.4.250.0100.05719.00
5.4.240.0130.05018.72
5.4.230.0200.07718.81
5.4.220.0030.06719.02
5.4.210.0170.05318.93
5.4.200.0270.05318.87
5.4.190.0170.04718.73
5.4.180.0170.04318.89
5.4.170.0170.05718.68
5.4.160.0070.06718.98
5.4.150.0130.06018.92
5.4.140.0130.04716.27
5.4.130.0100.04716.49
5.4.120.0170.06316.47
5.4.110.0130.05016.52
5.4.100.0100.05316.45
5.4.90.0170.06316.15
5.4.80.0070.06316.24
5.4.70.0170.04316.19
5.4.60.0100.06716.44
5.4.50.0100.05716.39
5.4.40.0100.06716.23
5.4.30.0170.05716.37
5.4.20.0170.06316.32
5.4.10.0130.05016.16
5.4.00.0070.05015.74
5.3.280.0170.04714.52
5.3.270.0170.06314.65
5.3.260.0070.05314.62
5.3.250.0130.07314.52
5.3.240.0130.06014.48
5.3.230.0100.05014.45
5.3.220.0100.05314.71
5.3.210.0100.05314.41
5.3.200.0070.05314.57
5.3.190.0030.05314.45
5.3.180.0130.06314.57
5.3.170.0100.06314.48
5.3.160.0000.06014.26
5.3.150.0170.04314.57
5.3.140.0100.06714.57
5.3.130.0200.04014.25
5.3.120.0100.05714.44
5.3.110.0100.05014.32
5.3.100.0070.05313.96
5.3.90.0100.04714.02
5.3.80.0130.04714.17
5.3.70.0130.06013.71
5.3.60.0170.05313.89
5.3.50.0130.06313.87
5.3.40.0130.05713.80
5.3.30.0030.05713.90
5.3.20.0100.05013.61
5.3.10.0070.05313.64
5.3.00.0030.05713.51
5.2.170.0030.06311.06
5.2.160.0070.04311.06
5.2.150.0030.04310.90
5.2.140.0070.04011.15
5.2.130.0130.04710.98
5.2.120.0130.04711.10
5.2.110.0030.04010.93
5.2.100.0030.05711.10
5.2.90.0100.04310.98
5.2.80.0000.05011.00
5.2.70.0100.03711.09
5.2.60.0030.04311.05
5.2.50.0030.06311.16
5.2.40.0030.04311.14
5.2.30.0170.04010.91
5.2.20.0070.04310.86
5.2.10.0100.03710.93
5.2.00.0100.05010.65
5.1.60.0000.05310.05
5.1.50.0030.04710.03
5.1.40.0170.03710.05
5.1.30.0130.04310.32
5.1.20.0130.04010.43
5.1.10.0100.03010.04
5.1.00.0070.03310.30
5.0.50.0030.0338.50
5.0.40.0030.0308.46
5.0.30.0030.0438.29
5.0.20.0000.0308.23
5.0.10.0030.0308.14
5.0.00.0130.0478.21
4.4.90.0000.0235.91
4.4.80.0030.0305.91
4.4.70.0100.0175.91
4.4.60.0000.0235.91
4.4.50.0130.0175.91
4.4.40.0000.0475.91
4.4.30.0000.0235.91
4.4.20.0070.0235.91
4.4.10.0100.0235.91
4.4.00.0030.0375.91
4.3.110.0030.0305.91
4.3.100.0030.0205.91
4.3.90.0030.0335.91
4.3.80.0030.0335.91
4.3.70.0100.0135.91
4.3.60.0070.0175.91
4.3.50.0070.0235.91
4.3.40.0030.0375.91
4.3.30.0000.0275.91
4.3.20.0000.0305.91
4.3.10.0030.0275.91
4.3.00.0030.0236.89

preferences:
143.21 ms | 1394 KiB | 7 Q