3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = ' { "responses": [ { "safeSearchAnnotation": { "adult": "VERY_UNLIKELY", "spoof": "VERY_UNLIKELY", "medical": "UNLIKELY", "violence": "LIKELY" } } ] }'; print_r(json_decode($json, true));

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.4.10.0030.00619.33
8.3.140.0090.00918.86
8.3.130.0040.00416.72
8.3.120.0220.00417.65
8.3.110.0170.00918.74
8.3.100.0210.00920.33
8.3.90.0220.00521.50
8.3.80.0240.00622.26
8.3.70.0220.00321.21
8.3.60.0260.00221.19
8.3.50.0100.00822.71
8.3.40.0140.00522.21
8.3.30.0130.00522.21
8.3.20.0150.00722.10
8.3.10.0170.00523.32
8.3.00.0110.00723.32
8.2.260.0120.00616.38
8.2.250.0130.00716.30
8.2.240.0180.00617.59
8.2.230.0090.00719.44
8.2.220.0130.00426.90
8.2.210.0120.00721.49
8.2.200.0100.00722.02
8.2.190.0170.00421.25
8.2.180.0130.00921.11
8.2.170.0180.01123.73
8.2.160.0190.01023.46
8.2.150.0210.00624.16
8.2.140.0270.00424.22
8.2.130.0210.00624.72
8.2.120.0190.00822.85
8.2.110.0220.00523.05
8.2.100.0210.00222.00
8.2.90.0180.00522.17
8.2.80.0170.00421.95
8.2.70.0080.00921.97
8.2.60.0150.00520.69
8.2.50.0170.00520.82
8.2.40.0130.00520.11
8.2.30.0180.00319.79
8.2.20.0120.00519.76
8.2.10.0150.00619.73
8.2.00.0140.00519.78
8.1.310.0140.00318.32
8.1.300.0200.00315.93
8.1.290.0180.00625.94
8.1.280.0210.00624.25
8.1.270.0260.00123.91
8.1.260.0240.00124.78
8.1.250.0190.00625.36
8.1.240.0170.00722.74
8.1.230.0210.00422.94
8.1.220.0190.00221.93
8.1.210.0200.00422.33
8.1.200.0150.00821.63
8.1.190.0110.00820.59
8.1.180.0170.00720.72
8.1.170.0180.00420.04
8.1.160.0130.00619.88
8.1.150.0120.00819.85
8.1.140.0130.00619.91
8.1.130.0120.00719.85
8.1.120.0130.00519.66
8.1.110.0120.00719.56
8.1.100.0100.00718.86
8.1.90.0130.00719.22
8.1.80.0150.00519.26
8.1.70.0160.00419.28
8.1.60.0110.00619.16
8.1.50.0120.00619.07
8.1.40.0150.00519.09
8.1.30.0130.00619.18
8.1.20.0150.00518.77
8.1.10.0160.00418.58
8.1.00.0150.00418.52
8.0.300.0140.00722.44
8.0.290.0120.00521.37
8.0.280.0130.00519.54
8.0.270.0080.00919.37
8.0.260.0110.00819.30
8.0.250.0150.00319.32
8.0.240.0160.00519.35
8.0.230.0150.00318.95
8.0.220.0150.00418.93
8.0.210.0140.00518.95
8.0.200.0110.00618.45
8.0.190.0120.00618.66
8.0.180.0150.00318.68
8.0.170.0140.00618.68
8.0.160.0120.00518.70
8.0.150.0140.00418.42
8.0.140.0140.00518.14
8.0.130.0140.00517.78
8.0.120.0110.00517.39
8.0.110.0140.00317.38
8.0.100.0120.00617.37
8.0.90.0130.00517.35
8.0.80.0110.00717.39
8.0.70.0130.00517.37
8.0.60.0120.00517.42
8.0.50.0120.00517.37
8.0.30.0140.00417.31
8.0.20.0120.00717.45
8.0.10.0120.00517.48
8.0.00.0100.00517.50
7.4.330.0110.00619.04
7.4.320.0130.00619.22
7.4.300.0120.00718.78
7.4.290.0130.00518.49
7.4.280.0130.00518.49
7.4.270.0120.00517.95
7.4.260.0150.00417.93
7.4.250.0120.00517.20
7.4.240.0140.00417.23
7.4.230.0130.00417.21
7.4.220.0110.00617.21
7.4.210.0130.00517.20
7.4.200.0110.00417.23
7.4.190.0140.00417.26
7.4.180.0120.00517.28
7.4.160.0120.00517.16
7.4.150.0110.00517.31
7.4.140.0120.00617.35
7.4.130.0100.00617.03
7.4.120.0110.00517.08
7.4.110.0110.00617.09
7.4.100.0120.00517.19
7.4.90.0110.00617.13
7.4.80.0120.00616.99
7.4.70.0110.00617.00
7.4.60.0100.00716.94
7.4.50.0120.00516.94
7.4.40.0110.00616.93
7.4.30.0110.00616.95
7.4.20.0100.00716.96
7.4.10.0120.00516.98
7.4.00.0100.00616.67
7.3.330.0120.00617.43
7.3.320.0110.00616.76
7.3.310.0140.00416.98
7.3.300.0140.00417.00
7.3.290.0120.00616.87
7.3.280.0120.00617.09
7.3.270.0150.00317.07
7.3.260.0120.00616.99
7.3.250.0120.00616.92
7.3.240.0130.00516.94
7.3.230.0130.00416.99
7.3.220.0140.00417.00
7.3.210.0120.00616.94
7.3.200.0130.00516.89
7.3.190.0120.00516.86
7.3.180.0130.00616.81
7.3.170.0130.00516.81
7.3.160.0120.00616.81
7.3.150.0140.00316.83
7.3.140.0130.00516.79
7.3.130.0120.00516.83
7.3.120.0110.00616.67
7.3.110.0110.00616.68
7.3.100.0120.00416.66
7.3.90.0130.00516.84
7.3.80.0130.00516.72
7.3.70.0120.00616.75
7.3.60.0110.00716.75
7.3.50.0120.00516.74
7.3.40.0120.00516.75
7.3.30.0120.00616.76
7.3.20.0120.00617.74
7.3.10.0110.00717.65
7.3.00.0250.00517.15
7.2.340.0150.00317.02
7.2.330.0120.00616.96
7.2.320.0120.00516.95
7.2.310.0120.00716.90
7.2.300.0110.00716.91
7.2.290.0130.00616.86
7.2.280.0120.00616.93
7.2.270.0120.00716.87
7.2.260.0130.00516.88
7.2.250.0120.00516.79
7.2.240.0140.00516.75
7.2.230.0130.00516.76
7.2.220.0130.00516.82
7.2.210.0130.00516.77
7.2.200.0130.00716.83
7.2.190.0130.00716.81
7.2.180.0130.00716.83
7.2.170.0110.00716.87
7.2.160.0120.00617.01
7.2.150.0150.00517.81
7.2.140.0130.00817.87
7.2.130.0330.00717.63
7.2.120.0320.00617.42
7.2.110.0320.00617.38
7.2.100.0270.00717.25
7.2.90.0380.00617.24
7.2.80.0300.00617.21
7.2.70.0280.00717.28
7.2.60.0210.00717.24
7.2.50.0230.00617.28
7.2.40.0270.00717.30
7.2.30.0230.00617.31
7.2.20.0230.00617.31
7.2.10.0230.00617.31
7.2.00.0220.00617.34
7.1.330.0150.00517.08
7.1.320.0170.00517.07
7.1.310.0150.00617.14
7.1.300.0150.00617.07
7.1.290.0160.00617.08
7.1.280.0130.00717.13
7.1.270.0140.00717.09
7.1.260.0160.00617.07
7.1.250.0160.00716.73
7.1.240.0340.00616.58
7.1.230.0300.00716.58
7.1.220.0330.00616.47
7.1.210.0380.00516.48
7.1.200.0320.00616.42
7.1.190.0300.00616.47
7.1.180.0260.00516.44
7.1.170.0260.00616.44
7.1.160.0300.00616.41
7.1.150.0300.00516.38
7.1.140.0250.00616.44
7.1.130.0250.00616.44
7.1.120.0210.00616.46
7.1.110.0250.00516.46
7.1.100.0250.00616.44
7.1.90.0230.00716.48
7.1.80.0260.00616.51
7.1.70.0250.00616.33
7.1.60.0250.00618.86
7.1.50.0260.00618.85
7.1.40.0250.00618.80
7.1.30.0230.00718.75
7.1.20.0250.00418.79
7.1.10.0180.00816.36
7.1.00.0320.00516.38
7.0.330.0200.00716.50
7.0.320.0290.00616.33
7.0.310.0330.00516.18
7.0.300.0270.00616.19
7.0.290.0230.00616.19
7.0.280.0240.00716.20
7.0.270.0220.00716.22
7.0.260.0250.00416.19
7.0.250.0260.00616.26
7.0.240.0240.00516.28
7.0.230.0240.00616.31
7.0.220.0270.00716.29
7.0.210.0260.00516.18
7.0.200.0230.00616.22
7.0.190.0230.00616.16
7.0.180.0410.00616.16
7.0.170.0230.00616.19
7.0.160.0250.00616.10
7.0.150.0240.00516.17
7.0.140.0240.00616.13
7.0.130.0280.00616.21
7.0.120.0240.00516.23
7.0.110.0230.00716.14
7.0.100.0210.00616.09
7.0.90.0230.00716.10
7.0.80.0200.00716.12
7.0.70.0200.00716.12
7.0.60.0230.00716.09
7.0.50.0200.00716.11
7.0.40.0190.00716.19
7.0.30.0190.00716.14
7.0.20.0200.00616.12
7.0.10.0260.00616.15
7.0.00.0230.00616.10
5.6.400.0140.00816.49
5.6.390.0160.00516.50
5.6.380.0130.00716.03
5.6.370.0140.00715.99
5.6.360.0150.00616.05
5.6.350.0150.00616.04
5.6.340.0150.00616.04
5.6.330.0140.00716.01
5.6.320.0140.00816.07
5.6.310.0140.00716.06
5.6.300.0150.01016.44
5.6.290.0140.01216.49
5.6.280.0140.01016.48
5.6.270.0140.01116.47
5.6.260.0140.01116.48
5.6.250.0130.01216.46
5.6.240.0150.01116.53
5.6.230.0140.01116.52
5.6.220.0130.01116.48
5.6.210.0150.01016.49
5.6.200.0130.01216.49
5.6.190.0140.01016.51
5.6.180.0120.01216.50
5.6.170.0150.00916.51
5.6.160.0130.01116.50
5.6.150.0130.01216.47
5.6.140.0140.01016.48
5.6.130.0120.01316.50
5.6.120.0150.01116.51
5.6.110.0130.01216.49
5.6.100.0130.01216.45
5.6.90.0120.01216.43
5.6.80.0130.01116.37
5.6.70.0120.01216.45
5.6.60.0130.01116.42
5.6.50.0130.01116.39
5.6.40.0130.01016.32
5.6.30.0130.01116.38
5.6.20.0130.01216.38
5.6.10.0150.01016.33
5.6.00.0120.01116.33
5.5.330.0170.00815.48

preferences:
15.62 ms | 403 KiB | 5 Q