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.3.60.0140.00316.38
8.3.50.0070.01321.93
8.3.40.0100.00718.45
8.3.30.0120.00318.43
8.3.20.0040.00418.54
8.3.10.0040.00422.02
8.3.00.0040.00421.89
8.2.180.0100.01316.50
8.2.170.0040.01122.96
8.2.160.0070.01022.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0030.00620.35
8.2.110.0070.00321.02
8.2.100.0060.00617.72
8.2.90.0050.00518.16
8.2.80.0050.00317.97
8.2.70.0000.00817.80
8.2.60.0080.00417.31
8.2.50.0090.00417.52
8.2.40.0090.00517.60
8.2.30.0120.00317.63
8.2.20.0070.00617.65
8.2.10.0080.00617.63
8.2.00.0100.00417.57
8.1.280.0120.00625.92
8.1.270.0040.00423.76
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00320.42
8.1.230.0110.00320.82
8.1.220.0040.00417.76
8.1.210.0030.00518.98
8.1.200.0050.00317.22
8.1.190.0000.00817.22
8.1.180.0110.00617.55
8.1.170.0110.00417.37
8.1.160.0090.00517.80
8.1.150.0110.00417.82
8.1.140.0070.00617.96
8.1.130.0070.00717.85
8.1.120.0070.00617.45
8.1.110.0060.00817.35
8.1.100.0060.00717.43
8.1.90.0090.00717.35
8.1.80.0080.00617.38
8.1.70.0100.00517.41
8.1.60.0110.00417.50
8.1.50.0100.00517.43
8.1.40.0120.00417.44
8.1.30.0080.00817.52
8.1.20.0120.00517.47
8.1.10.0150.00317.38
8.1.00.0140.00417.32
8.0.300.0000.00719.90
8.0.290.0000.00816.75
8.0.280.0100.00517.53
8.0.270.0050.00917.24
8.0.260.0060.00817.13
8.0.250.0090.00417.16
8.0.240.0090.00617.15
8.0.230.0120.00217.10
8.0.220.0110.00417.07
8.0.210.0090.00617.05
8.0.200.0080.00516.98
8.0.190.0080.00517.03
8.0.180.0110.00417.00
8.0.170.0110.00417.02
8.0.160.0110.00417.03
8.0.150.0120.00416.94
8.0.140.0120.00516.92
8.0.130.0110.00516.48
8.0.120.0090.00516.25
8.0.110.0110.00416.24
8.0.100.0100.00616.23
8.0.90.0100.00516.21
8.0.80.0100.00616.26
8.0.70.0110.00416.24
8.0.60.0100.00516.28
8.0.50.0100.00516.22
8.0.30.0120.00416.34
8.0.20.0110.00616.56
8.0.10.0100.00516.34
8.0.00.0080.00416.36
7.4.330.0060.00516.82
7.4.320.0100.00417.08
7.4.300.0070.00716.91
7.4.290.0100.00416.86
7.4.280.0110.00516.82
7.4.270.0110.00516.72
7.4.260.0120.00516.69
7.4.250.0110.00616.05
7.4.240.0110.00416.09
7.4.230.0110.00416.07
7.4.220.0090.00616.06
7.4.210.0120.00516.06
7.4.200.0090.00416.08
7.4.190.0120.00316.03
7.4.180.0100.00416.04
7.4.160.0100.00416.11
7.4.150.0100.00516.17
7.4.140.0100.00516.40
7.4.130.0100.00616.05
7.4.120.0090.00516.02
7.4.110.0090.00515.93
7.4.100.0100.00516.05
7.4.90.0100.00616.06
7.4.80.0110.00616.01
7.4.70.0100.00616.07
7.4.60.0090.00716.08
7.4.50.0110.00516.08
7.4.40.0100.00616.02
7.4.30.0090.00616.04
7.4.20.0080.00716.05
7.4.10.0110.00516.06
7.4.00.0090.00615.84
7.3.330.0100.00616.13
7.3.320.0090.00615.56
7.3.310.0120.00415.83
7.3.300.0120.00415.83
7.3.290.0100.00715.88
7.3.280.0100.00616.37
7.3.270.0130.00315.94
7.3.260.0100.00615.94
7.3.250.0110.00615.94
7.3.240.0110.00615.88
7.3.230.0120.00415.84
7.3.220.0120.00415.76
7.3.210.0100.00615.87
7.3.200.0110.00615.89
7.3.190.0110.00515.95
7.3.180.0110.00715.94
7.3.170.0110.00515.89
7.3.160.0100.00615.89
7.3.150.0130.00315.91
7.3.140.0110.00515.87
7.3.130.0110.00515.91
7.3.120.0100.00715.81
7.3.110.0100.00715.81
7.3.100.0110.00515.79
7.3.90.0120.00515.96
7.3.80.0120.00515.85
7.3.70.0110.00615.87
7.3.60.0100.00715.89
7.3.50.0110.00615.86
7.3.40.0120.00515.86
7.3.30.0110.00615.90
7.3.20.0110.00616.85
7.3.10.0110.00716.76
7.3.00.0250.00516.37
7.2.340.0140.00215.77
7.2.330.0110.00615.91
7.2.320.0110.00515.96
7.2.310.0110.00715.98
7.2.300.0100.00815.97
7.2.290.0120.00615.94
7.2.280.0110.00616.00
7.2.270.0100.00715.96
7.2.260.0120.00515.95
7.2.250.0110.00515.90
7.2.240.0130.00515.85
7.2.230.0110.00515.90
7.2.220.0110.00615.94
7.2.210.0110.00515.89
7.2.200.0110.00715.94
7.2.190.0110.00615.93
7.2.180.0120.00615.95
7.2.170.0100.00715.97
7.2.160.0120.00616.07
7.2.150.0140.00416.89
7.2.140.0120.00716.96
7.2.130.0350.00716.77
7.2.120.0330.00616.60
7.2.110.0330.00616.55
7.2.100.0280.00716.47
7.2.90.0390.00616.46
7.2.80.0310.00616.42
7.2.70.0290.00716.48
7.2.60.0210.00716.50
7.2.50.0240.00616.50
7.2.40.0270.00716.55
7.2.30.0230.00616.52
7.2.20.0240.00616.53
7.2.10.0230.00716.55
7.2.00.0220.00616.58
7.1.330.0150.00516.19
7.1.320.0170.00516.17
7.1.310.0140.00616.24
7.1.300.0140.00616.15
7.1.290.0160.00616.18
7.1.280.0130.00716.23
7.1.270.0130.00716.19
7.1.260.0160.00616.14
7.1.250.0150.00715.83
7.1.240.0360.00615.72
7.1.230.0310.00715.72
7.1.220.0350.00615.65
7.1.210.0400.00515.65
7.1.200.0340.00615.63
7.1.190.0320.00615.64
7.1.180.0260.00515.61
7.1.170.0270.00615.61
7.1.160.0280.00615.58
7.1.150.0300.00615.56
7.1.140.0250.00615.62
7.1.130.0250.00715.67
7.1.120.0210.00615.68
7.1.110.0250.00415.68
7.1.100.0250.00615.66
7.1.90.0240.00715.75
7.1.80.0260.00615.78
7.1.70.0260.00615.59
7.1.60.0260.00618.37
7.1.50.0270.00618.34
7.1.40.0260.00618.30
7.1.30.0240.00718.25
7.1.20.0260.00418.29
7.1.10.0180.00815.62
7.1.00.0340.00515.62
7.0.330.0210.00715.59
7.0.320.0290.00615.47
7.0.310.0340.00615.34
7.0.300.0280.00615.36
7.0.290.0240.00715.35
7.0.280.0220.00715.38
7.0.270.0230.00615.42
7.0.260.0250.00515.40
7.0.250.0270.00715.47
7.0.240.0240.00515.49
7.0.230.0250.00615.56
7.0.220.0280.00715.55
7.0.210.0270.00515.42
7.0.200.0240.00515.47
7.0.190.0230.00615.40
7.0.180.0430.00715.40
7.0.170.0230.00615.43
7.0.160.0260.00615.34
7.0.150.0240.00515.41
7.0.140.0250.00615.37
7.0.130.0280.00615.45
7.0.120.0240.00515.48
7.0.110.0240.00615.38
7.0.100.0210.00615.33
7.0.90.0240.00715.35
7.0.80.0200.00715.38
7.0.70.0200.00715.36
7.0.60.0210.00715.33
7.0.50.0200.00715.34
7.0.40.0190.00715.45
7.0.30.0190.00715.40
7.0.20.0200.00615.37
7.0.10.0270.00615.39
7.0.00.0230.00615.35
5.6.400.0140.00715.55
5.6.390.0150.00515.56
5.6.380.0120.00815.26
5.6.370.0140.00615.19
5.6.360.0140.00615.26
5.6.350.0150.00615.25
5.6.340.0140.00715.24
5.6.330.0140.00715.22
5.6.320.0140.00815.29
5.6.310.0140.00715.27
5.6.300.0150.01015.78
5.6.290.0140.01315.83
5.6.280.0140.01115.82
5.6.270.0140.01115.81
5.6.260.0140.01115.81
5.6.250.0130.01215.80
5.6.240.0140.01215.87
5.6.230.0130.01215.87
5.6.220.0120.01215.82
5.6.210.0150.01115.82
5.6.200.0130.01315.83
5.6.190.0140.01115.84
5.6.180.0120.01215.84
5.6.170.0150.01015.84
5.6.160.0120.01215.83
5.6.150.0130.01215.80
5.6.140.0130.01115.81
5.6.130.0110.01415.82
5.6.120.0150.01215.83
5.6.110.0120.01315.83
5.6.100.0120.01315.78
5.6.90.0120.01315.75
5.6.80.0120.01215.70
5.6.70.0110.01315.77
5.6.60.0130.01215.74
5.6.50.0130.01215.72
5.6.40.0140.01015.64
5.6.30.0140.01115.71
5.6.20.0130.01215.71
5.6.10.0150.01015.66
5.6.00.0110.01215.64

preferences:
32.86 ms | 401 KiB | 5 Q