3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"contentTitle":"WATCH_DOGS\u2122"}'; $decoded = json_decode($json); var_dump(htmlentities($decoded->contentTitle));

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)
8.3.40.0040.01118.42
8.3.30.0000.01418.93
8.3.20.0040.00419.95
8.3.10.0040.00423.45
8.3.00.0060.00318.88
8.2.170.0110.00422.96
8.2.160.0100.00320.14
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00326.16
8.2.120.0000.00720.38
8.2.110.0030.00722.20
8.2.100.0090.00319.51
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0080.00019.82
8.2.30.0040.00418.18
8.2.20.0040.00417.72
8.2.10.0040.00418.05
8.2.00.0070.00017.67
8.1.270.0030.00523.84
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00422.05
8.1.230.0030.00818.97
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0080.00018.76
8.1.170.0030.00618.58
8.1.160.0080.00021.93
8.1.150.0040.00418.57
8.1.140.0030.00617.43
8.1.130.0000.00717.74
8.1.120.0040.00417.28
8.1.110.0040.00417.32
8.1.100.0040.00417.28
8.1.90.0040.00417.31
8.1.80.0040.00417.36
8.1.70.0070.00017.28
8.1.60.0000.00817.35
8.1.50.0090.00017.28
8.1.40.0040.00417.36
8.1.30.0050.00317.57
8.1.20.0040.00417.41
8.1.10.0000.00917.45
8.1.00.0040.00417.38
8.0.300.0070.00018.77
8.0.290.0000.00717.05
8.0.280.0030.00318.29
8.0.270.0040.00417.21
8.0.260.0030.00317.28
8.0.250.0030.00316.95
8.0.240.0040.00416.82
8.0.230.0050.00316.83
8.0.220.0030.00316.79
8.0.210.0000.00716.84
8.0.200.0000.00616.92
8.0.190.0040.00416.90
8.0.180.0050.00216.85
8.0.170.0080.00016.88
8.0.160.0070.00016.85
8.0.150.0000.00716.87
8.0.140.0030.00516.80
8.0.130.0030.00313.27
8.0.120.0000.00816.78
8.0.110.0030.00616.66
8.0.100.0040.00416.68
8.0.90.0000.00716.86
8.0.80.0060.00916.70
8.0.70.0000.00716.82
8.0.60.0000.00716.84
8.0.50.0000.00816.80
8.0.30.0090.00917.19
8.0.20.0060.01117.40
8.0.10.0000.00716.97
8.0.00.0100.00816.87
7.4.330.0060.00015.00
7.4.320.0000.00616.41
7.4.300.0030.00316.55
7.4.290.0000.00616.48
7.4.280.0000.00716.55
7.4.270.0030.00316.54
7.4.260.0000.00816.51
7.4.250.0000.00816.49
7.4.240.0000.00716.44
7.4.230.0000.00716.34
7.4.220.0110.00616.50
7.4.210.0090.00616.46
7.4.200.0000.00716.27
7.4.190.0070.00016.45
7.4.160.0060.01016.27
7.4.150.0080.00817.40
7.4.140.0100.01017.86
7.4.130.0050.01216.41
7.4.120.0070.01116.56
7.4.110.0070.01516.50
7.4.100.0120.00616.39
7.4.90.0060.01216.39
7.4.80.0090.00919.39
7.4.70.0110.01116.45
7.4.60.0170.00316.25
7.4.50.0000.00416.39
7.4.40.0150.00416.47
7.4.30.0060.00916.28
7.4.00.0060.00614.90
7.3.330.0030.00312.98
7.3.320.0030.00312.98
7.3.310.0040.00416.11
7.3.300.0000.00716.08
7.3.290.0030.01716.16
7.3.280.0070.01116.16
7.3.270.0000.01617.40
7.3.260.0080.00816.12
7.3.250.0090.00716.27
7.3.240.0100.00716.38
7.3.230.0100.00716.39
7.3.210.0090.00816.43
7.3.200.0070.01019.39
7.3.190.0160.00616.52
7.3.180.0030.01316.26
7.3.170.0090.00616.40
7.3.160.0040.01116.14
7.3.120.0040.01114.86
7.2.330.0070.01016.26
7.2.320.0120.00916.45
7.2.310.0100.01316.55
7.2.300.0060.01016.61
7.2.290.0040.01316.73
7.2.00.0000.01319.39
7.1.100.0000.01318.03
7.1.70.0030.00917.03
7.1.60.0030.02019.46
7.1.50.0140.01116.70
7.1.00.0030.07722.40
7.0.200.0030.00616.77
7.0.140.0030.09022.00
7.0.60.0100.06020.02
7.0.50.0000.08717.79
7.0.40.0100.05019.96
7.0.30.0230.05720.00
7.0.20.0270.07720.16
7.0.10.0130.06020.09
7.0.00.0130.07320.18
5.6.280.0130.06320.90
5.6.210.0070.04720.55
5.6.200.0100.08018.22
5.6.190.0100.08020.39
5.6.180.0130.08320.60
5.6.170.0130.05720.41
5.6.160.0000.04720.48
5.6.150.0000.04018.23
5.6.140.0000.04318.18
5.6.130.0070.07018.12
5.6.120.0000.04320.89
5.6.110.0130.08321.09
5.6.100.0070.08321.00
5.6.90.0070.08320.95
5.6.80.0070.04320.37
5.5.350.4370.03720.49
5.5.340.0130.04717.95
5.5.330.0100.04320.21
5.5.320.0270.07720.20
5.5.310.0430.07020.21
5.5.300.0130.06717.96
5.5.290.0030.08018.02
5.5.280.0100.08020.97
5.5.270.0030.05020.83
5.5.260.0230.07020.84
5.5.250.0070.06320.46
5.5.240.0070.07320.26
5.4.450.0900.05719.48
5.4.440.0730.05019.32
5.4.430.0170.06319.36
5.4.420.0130.07019.51
5.4.410.0330.05719.27
5.4.400.0130.06019.00
5.4.390.0270.06319.09
5.4.380.0100.05718.59
5.4.370.0130.07318.59
5.4.360.0170.05318.46
5.4.350.0100.05718.75
5.4.340.0100.05318.74
5.4.320.0050.03912.45
5.4.310.0070.04012.45
5.4.300.0090.03512.46
5.4.290.0050.04112.45
5.4.280.0080.04012.35
5.4.270.0100.03312.35
5.4.260.0080.03812.35
5.4.250.0070.03812.35
5.4.240.0050.03912.35
5.4.230.0040.04312.34
5.4.220.0070.03812.34
5.4.210.0090.03712.34
5.4.200.0070.03512.34
5.4.190.0050.04412.34
5.4.180.0070.05312.34
5.4.170.0090.05112.35
5.4.160.0040.05312.35
5.4.150.0040.04312.34
5.4.140.0050.03912.02
5.4.130.0070.03512.02
5.4.120.0070.03511.97
5.4.110.0050.03611.97
5.4.100.0080.03711.97
5.4.90.0030.04211.97
5.4.80.0080.03711.96
5.4.70.0060.04011.96
5.4.60.0080.03811.96
5.4.50.0100.03811.95
5.4.40.0150.05711.95
5.4.30.0080.05311.95
5.4.20.0070.03911.95
5.4.10.0090.03511.95
5.4.00.0070.03911.44
5.3.290.0080.04512.80
5.3.280.0070.05312.71
5.3.270.0070.04012.72
5.3.260.0090.03812.72
5.3.250.0080.03812.72
5.3.240.0140.04612.72
5.3.230.0070.05012.71
5.3.220.0050.04012.68
5.3.210.0040.04312.68
5.3.200.0160.05412.68
5.3.190.0110.06012.68
5.3.180.0190.08512.68
5.3.170.0240.10912.67
5.3.160.0160.05612.68
5.3.150.0150.05612.67
5.3.140.0100.06012.66
5.3.130.0120.05312.66
5.3.120.0140.03812.66
5.3.110.0170.04812.66
5.3.100.0080.03912.12
5.3.90.0070.05612.09
5.3.80.0100.04812.08
5.3.70.0100.04812.07
5.3.60.0090.04012.06
5.3.50.0090.05012.00
5.3.40.0220.04712.00
5.3.30.0100.06011.94
5.3.20.0140.06911.72
5.3.10.0090.04911.69
5.3.00.0050.04111.68
5.2.170.0100.0299.18
5.2.160.0050.0339.18
5.2.150.0050.0339.18
5.2.140.0100.0269.17
5.2.130.0040.0339.14
5.2.120.0090.0259.13
5.2.110.0050.0319.14
5.2.100.0050.0339.14
5.2.90.0090.0429.14
5.2.80.0060.0349.13
5.2.70.0050.0359.14
5.2.60.0040.0469.09
5.2.50.0090.0419.06
5.2.40.0080.0419.04
5.2.30.0060.0319.01
5.2.20.0060.0288.99
5.2.10.0090.0368.92
5.2.00.0090.0398.78
5.1.60.0060.0458.06
5.1.50.0060.0268.06
5.1.40.0080.0278.04
5.1.30.0090.0268.39
5.1.20.0060.0258.41
5.1.10.0050.0278.14
5.1.00.0050.0288.14
5.0.50.0040.0236.61
5.0.40.0040.0216.47
5.0.30.0070.0286.29
5.0.20.0040.0206.26
5.0.10.0070.0176.23
5.0.00.0020.0326.23
4.4.90.0020.0164.78
4.4.80.0000.0184.75
4.4.70.0030.0174.75
4.4.60.0030.0164.76
4.4.50.0040.0154.77
4.4.40.0010.0284.71
4.4.30.0040.0164.76
4.4.20.0030.0174.84
4.4.10.0020.0194.85
4.4.00.0010.0284.76
4.3.110.0040.0154.67
4.3.100.0020.0164.67
4.3.90.0030.0154.63
4.3.80.0020.0254.58
4.3.70.0030.0154.63
4.3.60.0030.0154.63
4.3.50.0010.0174.63
4.3.40.0060.0284.53
4.3.30.0010.0183.28
4.3.20.0030.0183.25
4.3.10.0020.0193.22
4.3.00.0130.0207.56

preferences:
43.69 ms | 400 KiB | 5 Q