3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stuff = '{ "input": { "is_tall": [ "BOOLEAN", false ], "profile": { "fav_color": [ "STRING", true ], "sport": [ "STRING", true ] }, "awesome": "BOOLEAN" } }'; $what = json_decode($stuff); var_dump($what);

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.0110.00418.43
8.3.50.0090.00721.99
8.3.40.0070.00718.59
8.3.30.0110.00418.77
8.3.20.0050.00219.92
8.3.10.0090.00023.27
8.3.00.0080.00020.89
8.2.180.0130.01016.63
8.2.170.0120.00322.96
8.2.160.0100.00320.35
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00819.23
8.2.110.0130.00922.13
8.2.100.0000.01117.78
8.2.90.0110.00019.09
8.2.80.0050.00317.97
8.2.70.0030.00717.63
8.2.60.0110.00017.80
8.2.50.0040.00418.07
8.2.40.0050.00317.91
8.2.30.0110.00018.25
8.2.20.0040.00417.69
8.2.10.0040.00418.03
8.2.00.0000.00817.71
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00322.01
8.1.230.0070.00419.07
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.25
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0030.00518.36
8.1.160.0040.00422.02
8.1.150.0000.00718.58
8.1.140.0040.00417.37
8.1.130.0000.00717.81
8.1.120.0050.00217.27
8.1.110.0030.00517.48
8.1.100.0000.00717.36
8.1.90.0050.00217.31
8.1.80.0070.00017.30
8.1.70.0030.00317.36
8.1.60.0030.00617.43
8.1.50.0000.00817.50
8.1.40.0000.00717.39
8.1.30.0070.00317.56
8.1.20.0060.00317.55
8.1.10.0040.00417.41
8.1.00.0060.00317.27
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.27
8.0.270.0040.00417.11
8.0.260.0070.00017.20
8.0.250.0000.00616.88
8.0.240.0000.00816.87
8.0.230.0030.00316.93
8.0.220.0000.00716.84
8.0.210.0000.00716.82
8.0.200.0030.00316.72
8.0.190.0000.00916.75
8.0.180.0060.00316.88
8.0.170.0050.00216.76
8.0.160.0060.00316.76
8.0.150.0050.00516.84
8.0.140.0070.00016.78
8.0.130.0030.00313.21
8.0.120.0000.00816.85
8.0.110.0080.00016.76
8.0.100.0000.00916.77
8.0.90.0040.00416.76
8.0.80.0090.00916.82
8.0.70.0040.00416.70
8.0.60.0040.00416.87
8.0.50.0000.00716.78
8.0.30.0090.00917.16
8.0.20.0140.00817.40
8.0.10.0040.00416.96
8.0.00.0100.01016.59
7.4.330.0000.00515.00
7.4.320.0000.00716.48
7.4.300.0030.00316.48
7.4.290.0050.00516.59
7.4.280.0040.00416.43
7.4.270.0070.00016.47
7.4.260.0000.01016.36
7.4.250.0050.00316.42
7.4.240.0030.00316.44
7.4.230.0030.00316.62
7.4.220.0070.01016.56
7.4.210.0060.00916.34
7.4.200.0090.00016.53
7.4.160.0030.01516.38
7.4.150.0180.00017.40
7.4.140.0060.01317.86
7.4.130.0130.00416.24
7.4.120.0120.00716.47
7.4.110.0080.00816.31
7.4.100.0040.01316.41
7.4.90.0130.00616.45
7.4.80.0100.00919.39
7.4.70.0080.00916.45
7.4.60.0160.00716.43
7.4.50.0030.00316.18
7.4.40.0090.00916.52
7.4.30.0100.00716.50
7.4.00.0070.01014.60
7.3.330.0040.00412.89
7.3.320.0060.00013.08
7.3.310.0070.00015.99
7.3.300.0060.00016.08
7.3.290.0080.00616.19
7.3.280.0140.00416.15
7.3.270.0070.01017.40
7.3.260.0030.01316.40
7.3.250.0120.01016.23
7.3.240.0070.01516.09
7.3.230.0070.01116.39
7.3.210.0130.00316.42
7.3.200.0030.01319.39
7.3.190.0140.00616.30
7.3.180.0060.01016.45
7.3.170.0070.01316.46
7.3.160.0060.01216.48
7.3.120.0090.00914.89
7.3.10.0000.02015.74
7.3.00.0060.00916.35
7.2.330.0060.01216.55
7.2.320.0130.01016.39
7.2.310.0120.01216.32
7.2.300.0130.01016.29
7.2.290.0070.01116.49
7.2.130.0060.01116.25
7.2.120.0080.00416.46
7.2.110.0030.00916.33
7.2.100.0040.00716.25
7.2.90.0130.00316.67
7.2.80.0070.00816.66
7.2.70.0030.01016.34
7.2.60.0090.00616.55
7.2.50.0030.01016.29
7.2.40.0000.01216.38
7.2.30.0090.00616.58
7.2.20.0030.01016.37
7.2.10.0090.00316.32
7.2.00.0030.01217.92
7.1.250.0000.01115.51
7.1.200.0000.01015.86
7.1.100.0030.00618.13
7.1.70.0020.00516.71
7.1.60.0070.01819.70
7.1.50.0060.00616.81
7.1.00.0070.07722.57
7.0.200.0200.00714.96
7.0.140.0030.07321.97
7.0.60.0130.03719.93
7.0.50.0000.04317.80
7.0.40.0070.06319.98
7.0.30.0500.07320.17
7.0.20.0230.08020.09
7.0.10.0300.08020.12
7.0.00.0070.06020.12
5.6.280.0070.07020.99
5.6.210.0070.06020.74
5.6.200.0070.07718.13
5.6.190.0030.07720.43
5.6.180.0230.08320.61
5.6.170.0270.07320.47
5.6.160.0130.03320.37
5.6.150.0070.08318.15
5.6.140.0100.05318.14
5.6.130.0100.07318.21
5.6.120.0070.05720.98
5.6.110.0130.03721.11
5.6.100.0170.07020.95
5.6.90.0030.09020.96
5.6.80.0100.08020.40
5.6.70.0170.03020.49
5.5.350.0170.03320.37
5.5.340.0130.05017.98
5.5.330.0100.07320.21
5.5.320.0330.06020.36
5.5.310.0400.05020.21
5.5.300.0030.04717.98
5.5.290.0200.06317.92
5.5.280.0100.05320.75
5.5.270.0000.08720.77
5.5.260.0230.06320.75
5.5.250.0070.04320.48
5.5.240.0100.03720.27
5.4.450.0970.05319.32
5.4.440.0100.06019.32
5.4.430.1000.05319.46
5.4.420.0630.00019.68
5.4.410.0230.04718.70
5.4.400.0430.05718.61
5.4.390.0370.04718.72
5.4.380.0300.04718.50
5.4.370.0100.03718.56
5.4.360.0030.05718.51
5.4.350.0050.03611.97
5.4.340.0070.04211.97
5.4.320.0070.03512.46
5.4.310.0120.04812.45
5.4.300.0060.03912.45
5.4.290.0060.04112.45
5.4.280.0060.03812.35
5.4.270.0080.03612.35
5.4.260.0110.04612.35
5.4.250.0130.04712.35
5.4.240.0110.03512.35
5.4.230.0070.03912.34
5.4.220.0100.03612.34
5.4.210.0070.05012.34
5.4.200.0060.04812.34
5.4.190.0070.03612.34
5.4.180.0060.03812.34
5.4.170.0060.03712.35
5.4.160.0060.04012.35
5.4.150.0040.04012.34
5.4.140.0070.03912.02
5.4.130.0080.03512.02
5.4.120.0040.04011.97
5.4.110.0080.03911.97
5.4.100.0070.03911.97
5.4.90.0050.03911.97
5.4.80.0120.05611.97
5.4.70.0070.04011.96
5.4.60.0060.03811.96
5.4.50.0040.04211.96
5.4.40.0080.05111.96
5.4.30.0120.05911.95
5.4.20.0060.06811.95
5.4.10.0140.07011.95
5.4.00.0100.05811.44
5.3.290.0070.05712.80
5.3.280.0090.04012.71
5.3.270.0070.04312.72
5.3.260.0080.04212.72
5.3.250.0190.07912.72
5.3.240.0080.05412.72
5.3.230.0080.04312.71
5.3.220.0090.03912.68
5.3.210.0070.04112.68
5.3.200.0090.04412.68
5.3.190.0150.08212.68
5.3.180.0120.04712.68
5.3.170.0090.03712.67
5.3.160.0080.03912.68
5.3.150.0100.04312.67
5.3.140.0100.05112.66
5.3.130.0080.04912.66
5.3.120.0090.04612.66
5.3.110.0070.04812.66
5.3.100.0120.04012.11
5.3.90.0080.04012.09
5.3.80.0080.03912.07
5.3.70.0070.04212.07
5.3.60.0060.04012.07
5.3.50.0060.04112.00
5.3.40.0120.03412.00
5.3.30.0050.04011.95
5.3.20.0070.03911.72
5.3.10.0070.03811.69
5.3.00.0060.04211.68
5.2.170.0040.0349.18
5.2.160.0100.0289.18
5.2.150.0090.0369.18
5.2.140.0060.0349.17
5.2.130.0050.0339.13
5.2.120.0110.0319.13
5.2.110.0110.0369.14
5.2.100.0130.0469.14
5.2.90.0060.0339.14
5.2.80.0040.0319.13
5.2.70.0050.0319.13
5.2.60.0060.0429.08
5.2.50.0060.0339.05
5.2.40.0050.0319.03
5.2.30.0070.0309.01
5.2.20.0070.0289.00
5.2.10.0080.0288.92
5.2.00.0050.0368.78
5.1.60.0040.0298.06
5.1.50.0040.0268.06
5.1.40.0030.0278.04
5.1.30.0100.0248.39
5.1.20.0040.0298.41
5.1.10.0040.0278.14
5.1.00.0040.0278.14
5.0.50.0070.0216.61
5.0.40.0060.0226.48
5.0.30.0070.0316.29
5.0.20.0080.0316.26
5.0.10.0020.0226.24
5.0.00.0020.0346.23
4.4.90.0060.0204.78
4.4.80.0060.0184.75
4.4.70.0060.0184.75
4.4.60.0070.0184.75
4.4.50.0060.0164.77
4.4.40.0030.0284.71
4.4.30.0040.0174.76
4.4.20.0040.0164.84
4.4.10.0060.0174.85
4.4.00.0030.0284.76
4.3.110.0060.0214.67
4.3.100.0040.0184.67
4.3.90.0030.0364.63
4.3.80.0040.0304.59
4.3.70.0060.0184.63
4.3.60.0030.0214.62
4.3.50.0050.0264.63
4.3.40.0030.0264.53
4.3.30.0040.0193.27
4.3.20.0030.0203.25
4.3.10.0040.0203.21
4.3.00.0070.0236.42

preferences:
41.42 ms | 401 KiB | 5 Q