3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode (array("\u0041":"som")));

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.6.80.0030.08720.42
5.5.240.0100.07020.32
5.4.400.0300.04018.72
5.4.390.0200.05318.61
5.4.380.0230.05018.72
5.4.370.0170.05718.84
5.4.360.0170.05718.61
5.4.350.0400.06018.80
5.4.340.0270.07018.53
5.4.320.0270.05718.68
5.4.310.0530.05018.75
5.4.300.0300.07018.69
5.4.290.0270.07318.69
5.4.280.0200.05718.74
5.4.270.0200.05318.75
5.4.260.0200.05318.78
5.4.250.0200.06318.78
5.4.240.0230.05018.50
5.4.230.0230.05018.78
5.4.220.0200.05318.54
5.4.210.0230.05018.49
5.4.200.0230.05016.78
5.4.190.0300.04018.72
5.4.180.0270.05018.73
5.4.170.0200.05318.79
5.4.160.0170.05318.74
5.4.150.0200.05018.69
5.4.140.0230.04716.45
5.4.130.0170.05316.29
5.4.120.0200.05016.43
5.4.110.0100.05316.19
5.4.100.0300.04016.32
5.4.90.0170.05316.29
5.4.80.0170.05316.40
5.4.70.0170.05316.40
5.4.60.0200.05016.25
5.4.50.0170.04716.24
5.4.40.0200.05016.25
5.4.30.0200.05016.21
5.4.20.0170.05316.25
5.4.10.0200.04716.09
5.4.00.0170.05015.68
5.3.290.0170.05714.67
5.3.280.0200.05014.70
5.3.270.0230.05014.68
5.3.260.0270.04314.57
5.3.250.0200.05014.69
5.3.240.0200.05014.68
5.3.230.0300.04014.52
5.3.220.0170.05314.55
5.3.210.0270.04714.54
5.3.200.0230.04714.57
5.3.190.0170.05314.52
5.3.180.0170.05314.59
5.3.170.0130.06014.56
5.3.160.0230.05014.48
5.3.150.0270.04314.65
5.3.140.0170.05314.49
5.3.130.0170.05314.46
5.3.120.0270.04314.59
5.3.110.0200.05314.58
5.3.100.0330.03714.04
5.3.90.0130.05314.00
5.3.80.0100.05714.10
5.3.70.0200.05013.96
5.3.60.0100.05714.10
5.3.50.0270.04313.85
5.3.40.0270.04013.90
5.3.30.0200.05013.91
5.3.20.0100.05713.79
5.3.10.0100.05313.75
5.3.00.0200.05013.53
5.2.170.0130.04311.11
5.2.160.0130.04311.19
5.2.150.0230.03711.07
5.2.140.0270.03011.07
5.2.130.0170.03711.16
5.2.120.0100.04311.16
5.2.110.0100.05311.01
5.2.100.0200.03311.16
5.2.90.0100.04311.03
5.2.80.0270.03711.15
5.2.70.0230.04711.06
5.2.60.0200.04311.08
5.2.50.0200.04011.05
5.2.40.0030.04711.05
5.2.30.0170.04011.02
5.2.20.0130.04010.96
5.2.10.0200.03710.83
5.2.00.0170.03710.71
5.1.60.0130.03010.01
5.1.50.0100.03310.02
5.1.40.0130.03310.03
5.1.30.0100.04010.47
5.1.20.0170.03310.33
5.1.10.0100.05010.20
5.1.00.0230.03310.20
5.0.50.0070.0308.64
5.0.40.0100.0238.54
5.0.30.0030.0478.24
5.0.20.0170.0308.26
5.0.10.0000.0378.34
5.0.00.0070.0478.23
4.4.90.0100.0237.05
4.4.80.0070.0277.05
4.4.70.0100.0237.05
4.4.60.0030.0277.05
4.4.50.0170.0207.05
4.4.40.0070.0377.05
4.4.30.0130.0237.05
4.4.20.0100.0277.05
4.4.10.0100.0307.05
4.4.00.0070.0377.05
4.3.110.0170.0237.05
4.3.100.0130.0207.05
4.3.90.0100.0207.05
4.3.80.0100.0337.05
4.3.70.0100.0237.05
4.3.60.0130.0277.05
4.3.50.0070.0237.05
4.3.40.0130.0407.05
4.3.30.0030.0307.05
4.3.20.0100.0277.05
4.3.10.0130.0237.05
4.3.00.0070.0239.30

preferences:
140.59 ms | 1394 KiB | 7 Q