3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "db_name":"name", "table_name":"tname", "link_col":"colname", "prod_name_col":"pname"}'; $a = json_decode($json, true); print_r($a); echo $a['link_col'];

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.0130.00918.16
8.3.50.0050.01521.27
8.3.40.0060.00918.84
8.3.30.0070.00720.26
8.3.20.0060.00320.48
8.3.10.0000.00821.05
8.3.00.0050.00323.48
8.2.180.0070.01416.50
8.2.170.0070.00722.96
8.2.160.0040.01520.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0120.00026.16
8.2.120.0050.00221.00
8.2.110.0030.00620.97
8.2.100.0100.00020.48
8.2.90.0040.00419.46
8.2.80.0050.00318.22
8.2.70.0000.00818.05
8.2.60.0040.00418.05
8.2.50.0080.00018.16
8.2.40.0050.00320.47
8.2.30.0000.00819.36
8.2.20.0030.00517.73
8.2.10.0040.00417.66
8.2.00.0030.00517.68
8.1.280.0060.00825.92
8.1.270.0070.00023.99
8.1.260.0140.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00622.19
8.1.230.0000.01119.12
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.00
8.1.190.0080.00017.23
8.1.180.0050.00318.10
8.1.170.0080.00018.72
8.1.160.0000.00818.82
8.1.150.0080.00022.03
8.1.140.0040.00417.43
8.1.130.0000.00817.73
8.1.120.0030.00417.35
8.1.110.0070.00017.34
8.1.100.0040.00417.40
8.1.90.0000.00717.30
8.1.80.0070.00017.28
8.1.70.0030.00317.25
8.1.60.0060.00317.43
8.1.50.0040.00417.30
8.1.40.0030.00517.47
8.1.30.0040.00417.45
8.1.20.0030.00517.55
8.1.10.0000.00817.58
8.1.00.0000.00817.54
8.0.300.0040.00419.70
8.0.290.0000.00716.75
8.0.280.0020.00518.44
8.0.270.0000.00817.35
8.0.260.0000.00716.81
8.0.250.0020.00516.83
8.0.240.0050.00316.82
8.0.230.0030.00316.76
8.0.220.0040.00416.82
8.0.210.0030.00316.71
8.0.200.0020.00516.87
8.0.190.0030.00316.77
8.0.180.0050.00316.89
8.0.170.0040.00316.80
8.0.160.0000.00716.84
8.0.150.0070.00016.78
8.0.140.0040.00416.66
8.0.130.0060.00013.26
8.0.120.0060.00316.68
8.0.110.0000.00716.68
8.0.100.0000.00716.62
8.0.90.0070.00016.86
8.0.80.0150.00516.90
8.0.70.0020.00516.88
8.0.60.0070.00016.68
8.0.50.0040.00416.80
8.0.30.0100.00816.97
8.0.20.0140.00617.40
8.0.10.0030.00517.00
8.0.00.0090.01216.68
7.4.330.0060.00016.67
7.4.320.0000.00616.54
7.4.300.0030.00316.41
7.4.290.0060.00316.43
7.4.280.0070.00416.31
7.4.270.0000.00716.45
7.4.260.0000.00513.31
7.4.250.0000.00816.39
7.4.240.0000.00716.51
7.4.230.0030.00316.52
7.4.220.0070.01116.46
7.4.210.0060.00816.48
7.4.200.0070.00016.43
7.4.190.0000.00716.40
7.4.160.0130.00316.43
7.4.150.0070.01117.40
7.4.140.0120.00917.86
7.4.130.0040.01616.51
7.4.120.0100.01016.48
7.4.110.0120.00616.34
7.4.100.0130.01016.54
7.4.90.0100.01416.37
7.4.80.0150.00319.39
7.4.70.0040.01316.43
7.4.60.0080.00816.39
7.4.50.0040.00416.67
7.4.40.0030.01022.77
7.4.30.0090.00916.20
7.4.00.0000.01815.03
7.3.330.0030.00312.97
7.3.320.0060.00013.04
7.3.310.0040.00416.18
7.3.300.0000.00716.18
7.3.290.0060.01316.14
7.3.280.0080.00916.21
7.3.270.0110.00617.40
7.3.260.0170.00818.24
7.3.250.0080.00916.28
7.3.240.0030.01316.18
7.3.230.0080.00816.39
7.3.210.0060.01316.25
7.3.200.0130.00919.39
7.3.190.0080.01316.22
7.3.180.0040.01116.19
7.3.170.0110.00416.49
7.3.160.0100.00716.21
7.3.120.0140.00314.84
7.3.10.0000.01016.43
7.3.00.0030.00716.77
7.2.330.0120.00616.50
7.2.320.0170.00716.43
7.2.310.0030.01816.38
7.2.300.0030.01216.42
7.2.290.0080.00816.73
7.2.130.0040.00717.00
7.2.120.0070.00316.54
7.2.110.0040.00716.71
7.2.100.0070.00716.81
7.2.90.0060.00616.80
7.2.80.0000.01116.65
7.2.70.0050.00516.88
7.2.60.0040.00816.74
7.2.50.0060.00616.74
7.2.40.0070.00716.84
7.2.30.0000.01117.10
7.2.20.0070.00716.49
7.2.10.0030.01016.95
7.2.00.0060.00916.96
7.1.250.0080.00015.94
7.1.70.0020.00517.01
7.1.60.0120.01219.17
7.1.50.0130.01016.96
7.1.00.0000.03722.40
7.0.200.0000.00716.65
7.0.140.0100.06722.18
7.0.60.0030.05019.79
7.0.50.0030.07017.85
7.0.40.0100.05020.24
7.0.30.0230.04720.13
7.0.20.0270.04720.21
7.0.10.0070.09020.18
7.0.00.0100.03720.19
5.6.280.0030.07321.14
5.6.210.0130.07320.61
5.6.200.0130.07018.21
5.6.190.0130.04020.45
5.6.180.0430.08020.41
5.6.170.0230.06720.41
5.6.160.0070.04020.51
5.6.150.0130.06718.19
5.6.140.0030.04018.18
5.6.130.0070.08018.21
5.6.120.0030.08320.97
5.6.110.0100.07321.00
5.6.100.0030.09320.92
5.6.90.0070.08021.02
5.6.80.0070.08720.46
5.5.350.0130.04320.27
5.5.340.0000.04017.89
5.5.330.0170.08020.20
5.5.320.0200.07320.41
5.5.310.0300.06320.18
5.5.300.0000.08717.97
5.5.290.0100.05017.87
5.5.280.0030.09020.68
5.5.270.0070.04020.84
5.5.260.0070.03720.95
5.5.250.0000.09320.61
5.5.240.0300.07320.03
5.4.450.0070.03719.58
5.4.440.1670.04319.26
5.4.430.0030.04719.13
5.4.420.0100.04019.13
5.4.410.0030.03719.30
5.4.400.0270.04719.08
5.4.390.0030.03719.08
5.4.380.0030.08018.78
5.4.370.2470.04319.09
5.4.360.2600.04719.10
5.4.350.2030.04019.25
5.4.340.0000.04019.22
5.4.320.0030.03719.06
5.4.310.1070.04019.08
5.4.300.0100.04718.80
5.4.290.0030.04719.25
5.4.280.1400.05019.25
5.4.270.0130.03319.24
5.4.260.0000.04019.15
5.4.250.1370.03019.09
5.4.240.0100.07018.93
5.4.230.0030.04719.24
5.4.220.0270.03318.91
5.4.210.0000.04018.88
5.4.200.0030.04719.15
5.4.190.0270.03719.12
5.4.180.0000.04018.77
5.4.170.0030.03718.77
5.4.160.0870.04318.93
5.4.150.2500.04318.89
5.4.140.2470.03716.38
5.4.130.2600.04716.30
5.4.120.2430.04016.27
5.4.110.0100.03016.39
5.4.100.0100.06716.23
5.4.90.2130.03716.41
5.4.80.2470.03316.45
5.4.70.0030.03316.41
5.4.60.0000.05716.41
5.4.50.0970.04016.41
5.4.40.0070.05316.45
5.4.30.0070.06716.36
5.4.20.1330.04016.18
5.4.10.0100.04716.46
5.4.00.0030.03715.99
5.3.290.1670.03014.52
5.3.280.2530.04714.50
5.3.270.2630.03714.55
5.3.260.0030.08014.57
5.3.250.0100.06714.44
5.3.240.0630.06714.45
5.3.230.0030.06314.43
5.3.220.0000.04714.44
5.3.210.0330.04014.40
5.3.200.0030.07314.55
5.3.190.0030.04314.41
5.3.180.0730.06314.58
5.3.170.0030.04714.50
5.3.160.0000.04714.50
5.3.150.0070.04014.40
5.3.140.0070.06314.40
5.3.130.0130.07014.49
5.3.120.2430.03714.50
5.3.110.2200.04714.39
5.3.100.2700.05013.98
5.3.90.0100.07313.86
5.3.80.0000.04314.04
5.3.70.0470.06714.11
5.3.60.0070.05713.83
5.3.50.0070.05313.90
5.3.40.0630.03713.74
5.3.30.0000.04713.76
5.3.20.0070.06713.64
5.3.10.0030.04013.60
5.3.00.0000.04013.71
5.2.170.0070.02711.00
5.2.160.0000.03011.23
5.2.150.2100.03711.22
5.2.140.0030.04711.19
5.2.130.0000.05011.18
5.2.120.0300.02710.95
5.2.110.0130.05311.02
5.2.100.0200.03010.95
5.2.90.0030.06310.93
5.2.80.0100.04310.98
5.2.70.0100.03310.96
5.2.60.0170.02710.89
5.2.50.0170.02310.95
5.2.40.0130.02711.00
5.2.30.0170.02710.82
5.2.20.0130.02311.00
5.2.10.0000.03010.82
5.2.00.0000.03710.73
5.1.60.0030.03010.11
5.1.50.0100.0239.97
5.1.40.0100.0239.95
5.1.30.0170.02010.30
5.1.20.0030.03010.44
5.1.10.0100.03310.11
5.1.00.0130.02010.08
5.0.50.0030.0278.62
5.0.40.0170.0138.48
5.0.30.0030.0308.26
5.0.20.0130.0138.07
5.0.10.0000.0208.06
5.0.00.0100.0278.38
4.4.90.0030.0207.69
4.4.80.0070.0137.69
4.4.70.0000.0177.69
4.4.60.0000.0177.69
4.4.50.0000.0177.69
4.4.40.0030.0207.69
4.4.30.0070.0107.69
4.4.20.0030.0137.69
4.4.10.0030.0177.69
4.4.00.0000.0237.69
4.3.110.0070.0137.69
4.3.100.0070.0137.69
4.3.90.0030.0137.69
4.3.80.0000.0237.69
4.3.70.0200.0177.69
4.3.60.0700.0137.69
4.3.50.0000.0237.69
4.3.40.0070.0177.69
4.3.30.0000.0207.69
4.3.20.0000.0207.69
4.3.10.0000.0207.69
4.3.00.0000.0137.69

preferences:
32.56 ms | 401 KiB | 5 Q