3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode(new array("abc"));

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.0170.04718.98
5.4.250.0130.07318.95
5.4.240.0070.05318.74
5.4.230.0130.05018.96
5.4.220.0130.07318.82
5.4.210.0030.05718.94
5.4.200.0100.04718.97
5.4.190.0170.04318.75
5.4.180.0070.05718.97
5.4.170.0030.06018.76
5.4.160.0100.07019.09
5.4.150.0070.07719.00
5.4.140.0130.05316.31
5.4.130.0100.08316.46
5.4.120.0230.05316.38
5.4.110.0030.05316.46
5.4.100.0070.05016.45
5.4.90.0130.04716.57
5.4.80.0030.07316.60
5.4.70.0130.05016.46
5.4.60.0030.05316.27
5.4.50.0030.07016.40
5.4.40.0100.07016.62
5.4.30.0100.05016.32
5.4.20.0070.04716.37
5.4.10.0170.06316.35
5.4.00.0100.05715.87
5.3.280.0070.07314.59
5.3.270.0100.07014.75
5.3.260.0070.05014.51
5.3.250.0130.04714.70
5.3.240.0100.05314.38
5.3.230.0170.05314.38
5.3.220.0100.07314.58
5.3.210.0070.05014.40
5.3.200.0100.04314.27
5.3.190.0030.05714.45
5.3.180.0030.05014.58
5.3.170.0070.05314.66
5.3.160.0000.05714.48
5.3.150.0130.04314.58
5.3.140.0100.04714.43
5.3.130.0000.05714.55
5.3.120.0100.06714.39
5.3.110.0100.05014.70
5.3.100.0030.06313.88
5.3.90.0100.05713.79
5.3.80.0000.05313.86
5.3.70.0100.06713.93
5.3.60.0030.05313.84
5.3.50.0100.04314.10
5.3.40.0070.04713.96
5.3.30.0130.04013.75
5.3.20.0070.07013.71
5.3.10.0000.05313.66
5.3.00.0030.05713.50
5.2.170.0170.03711.14
5.2.160.0130.04311.15
5.2.150.0130.03311.14
5.2.140.0070.04011.05
5.2.130.0000.06311.01
5.2.120.0030.04011.00
5.2.110.0030.04311.02
5.2.100.0030.04311.03
5.2.90.0030.04311.25
5.2.80.0070.04011.15
5.2.70.0070.05011.11
5.2.60.0070.05711.11
5.2.50.0030.04010.80
5.2.40.0000.04311.00
5.2.30.0000.04310.89
5.2.20.0000.04310.96
5.2.10.0100.03310.93
5.2.00.0030.04310.64
5.1.60.0030.0339.93
5.1.50.0030.03310.05
5.1.40.0030.0439.89
5.1.30.0100.03010.41
5.1.20.0030.04010.33
5.1.10.0100.03010.09
5.1.00.0030.03710.30
5.0.50.0100.0308.48
5.0.40.0100.0208.34
5.0.30.0030.0438.24
5.0.20.0030.0278.19
5.0.10.0000.0308.36
5.0.00.0070.0508.14
4.4.90.0030.0306.14
4.4.80.0000.0236.14
4.4.70.0100.0136.14
4.4.60.0000.0236.14
4.4.50.0030.0236.14
4.4.40.0000.0336.14
4.4.30.0000.0336.14
4.4.20.0070.0276.14
4.4.10.0100.0176.14
4.4.00.0000.0337.41
4.3.110.0030.0207.41
4.3.100.0030.0207.41
4.3.90.0000.0237.41
4.3.80.0000.0477.41
4.3.70.0000.0277.41
4.3.60.0100.0137.41
4.3.50.0030.0207.41
4.3.40.0000.0437.41
4.3.30.0070.0177.41
4.3.20.0030.0277.41
4.3.10.0030.0207.41
4.3.00.0100.0207.21

preferences:
140.58 ms | 1394 KiB | 7 Q