3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = <<< 'TXT' { "items": [ { "tableName": "CO.Affected_Country", "count": 1, "columnNames": [ "id" ], "rows": [ [ "12" ] ] } ], "links": [ { "rel": "self", "href": "https://ter.ge.com/services/rest/connect/v1.3/queryResults?query=x" }, { "rel": "canonical", "href": "x" }, { "rel": "describedby", "href": "x", "mediaType": "application/schema+json" } ] } TXT; $obj = json_decode($response); echo $obj->items[0]->rows[0][0];

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.70.0090.00616.38
8.3.60.0270.00921.15
8.3.50.0120.00923.85
8.3.40.0250.00522.47
8.3.30.0180.01122.29
8.3.20.0260.00223.85
8.3.10.0240.00424.70
8.3.00.0210.00621.83
8.2.190.0110.01116.58
8.2.180.0210.00921.14
8.2.170.0270.00924.44
8.2.160.0290.00723.13
8.2.150.0240.00625.05
8.2.140.0220.00825.29
8.2.130.0250.00526.04
8.2.120.0220.00922.60
8.2.110.0200.00822.60
8.2.100.0230.00721.91
8.2.90.0220.00322.55
8.2.80.0200.00521.95
8.2.70.0180.01021.70
8.2.60.0190.00621.99
8.2.50.0210.00222.01
8.2.40.0180.00623.28
8.2.30.0180.00823.54
8.2.20.0170.00821.81
8.2.10.0190.00622.06
8.2.00.0220.00322.00
8.1.280.0270.00625.92
8.1.270.0220.00524.86
8.1.260.0230.00426.14
8.1.250.0260.01127.00
8.1.240.0240.00724.92
8.1.230.0230.00821.78
8.1.220.0170.00621.83
8.1.210.0140.00722.35
8.1.200.0140.00621.58
8.1.190.0190.00421.51
8.1.180.0190.00722.01
8.1.170.0160.00822.16
8.1.160.0260.00723.99
8.1.150.0240.00322.41
8.1.140.0200.00322.67
8.1.130.0210.00221.80
8.1.120.0150.00921.61
8.1.110.0190.00420.21
8.1.100.0140.00820.20
8.1.90.0180.00620.24
8.1.80.0130.00820.23
8.1.70.0130.00720.20
8.1.60.0130.00520.30
8.1.50.0140.01120.23
8.1.40.0190.00720.30
8.1.30.0190.00620.29
8.1.20.0200.00520.20
8.1.10.0150.00920.32
8.1.00.0160.00920.27
8.0.300.0190.00522.35
8.0.290.0180.00421.34
8.0.280.0150.01022.17
8.0.270.0180.00621.34
8.0.260.0190.00521.53
8.0.250.0090.01321.41
8.0.240.0170.00719.99
8.0.230.0200.00519.94
8.0.220.0190.00519.90
8.0.210.0170.00619.87
8.0.200.0130.00719.92
8.0.190.0270.00319.88
8.0.180.0150.00919.93
8.0.170.0200.00519.92
8.0.160.0160.00719.88
8.0.150.0170.00619.79
8.0.140.0130.01119.87
8.0.130.0190.00418.68
8.0.120.0160.00819.87
8.0.110.0180.00419.86
8.0.100.0180.00419.82
8.0.90.0110.00919.92
8.0.80.0200.00319.89
8.0.70.0170.00319.80
8.0.60.0130.00819.88
8.0.50.0170.00419.81
8.0.30.0140.00919.21
8.0.20.0170.00619.02
8.0.10.0160.00719.90
8.0.00.0150.01019.88
7.4.330.0150.00720.50
7.4.320.0180.00519.63
7.4.300.0160.00719.67
7.4.290.0200.00319.64
7.4.280.0150.00819.67
7.4.270.0190.00319.61
7.4.260.0180.00619.64
7.4.250.0150.00819.62
7.4.240.0150.00418.91
7.4.230.0130.00819.74
7.4.220.0200.01219.75
7.4.210.0130.01019.68
7.4.200.0130.00519.67
7.4.190.0190.00521.23
7.4.180.0170.00821.21
7.4.160.0110.00818.86
7.4.150.0130.00919.92
7.4.140.0140.00819.54
7.4.130.0170.00719.66
7.4.120.0130.00718.85
7.4.110.0130.00819.67
7.4.100.0120.01019.58
7.4.90.0140.00819.63
7.4.80.0190.00420.54
7.4.70.0120.01019.61
7.4.60.0170.00619.63
7.4.50.0210.00519.49
7.4.40.0200.00419.59
7.4.30.0180.00519.50
7.4.20.0220.00321.21
7.4.10.0210.00421.18
7.4.00.0150.00419.02
7.3.330.0110.00618.35
7.3.320.0130.00518.35
7.3.310.0160.00419.44
7.3.300.0100.00919.49
7.3.290.0110.00818.14
7.3.280.0110.00717.63
7.3.270.0160.00719.89
7.3.260.0130.00818.64
7.3.250.0220.00520.97
7.3.240.0160.00718.80
7.3.230.0180.00719.50
7.3.220.0330.00521.04
7.3.210.0110.01219.56
7.3.200.0170.00719.51
7.3.190.0140.00919.46
7.3.180.0180.00719.54
7.3.170.0150.01019.52
7.3.160.0190.00619.49
7.3.150.0220.00621.08
7.3.140.0220.00621.13
7.3.130.0210.00721.05
7.3.120.0220.00521.00
7.3.110.0210.00521.07
7.3.100.0190.00220.99
7.3.90.0170.00621.16
7.3.80.0150.00921.08
7.3.70.0190.00521.12
7.3.60.0190.00521.18
7.3.50.0170.00421.03
7.3.40.0160.00621.11
7.3.30.0140.00721.16
7.3.20.0150.00721.97
7.3.10.0130.00720.13
7.3.00.0170.00820.12
7.2.340.0220.00521.02
7.2.330.0180.00619.66
7.2.320.0170.00819.53
7.2.310.0180.00719.52
7.2.300.0170.00719.59
7.2.290.0170.00719.61
7.2.280.0230.00421.16
7.2.270.0200.00721.12
7.2.260.0170.01021.09
7.2.250.0230.00921.17
7.2.240.0220.01121.13
7.2.230.0200.00521.02
7.2.220.0180.00921.16
7.2.210.0190.00621.13
7.2.200.0170.00921.14
7.2.190.0140.00921.12
7.2.180.0190.00921.07
7.2.170.0180.00921.28
7.2.160.0220.00621.11
7.2.150.0220.00722.10
7.2.140.0200.00822.14
7.2.130.0180.00620.31
7.2.120.0170.00920.39
7.2.110.0140.00919.29
7.2.100.0190.00520.32
7.2.90.0190.00220.21
7.2.80.0160.00720.22
7.2.70.0170.00520.23
7.2.60.0140.00719.30
7.2.50.0170.00620.28
7.2.40.0160.00520.34
7.2.30.0150.00620.35
7.2.20.0160.00720.36
7.2.10.0140.00820.32
7.2.00.0110.00720.09
7.1.330.0190.00721.64
7.1.320.0200.00521.71
7.1.310.0210.00521.59
7.1.300.0200.00621.62
7.1.290.0170.00821.69
7.1.280.0170.00821.64
7.1.270.0210.00421.65
7.1.260.0220.00721.56
7.1.250.0170.00619.58
7.1.240.0200.00421.68
7.1.230.0170.00821.62
7.1.220.0180.00821.66
7.1.210.0200.00721.60
7.1.200.0120.00919.75
7.1.190.0250.00221.61
7.1.180.0130.01321.60
7.1.170.0210.00521.65
7.1.160.0180.00821.65
7.1.150.0190.00621.58
7.1.140.0240.00121.61
7.1.130.0180.00721.56
7.1.120.0230.00521.56
7.1.110.0220.00421.62
7.1.100.0190.00621.53
7.1.90.0190.00921.58
7.1.80.0190.00721.56
7.1.70.0170.00519.97
7.1.60.0160.00820.21
7.1.50.0140.00820.07
7.1.40.0140.00719.98
7.1.30.0160.00419.98
7.1.20.0160.00719.94
7.1.10.0150.00519.95
7.1.00.0150.00719.96
7.0.330.0190.00321.45
7.0.320.0240.00421.47
7.0.310.0190.00721.34
7.0.300.0180.00521.44
7.0.290.0130.01221.39
7.0.280.0210.00321.37
7.0.270.0190.00521.42
7.0.260.0230.00421.37
7.0.250.0200.00521.53
7.0.240.0200.00421.57
7.0.230.0230.00421.49
7.0.220.0190.00621.43
7.0.210.0220.00321.40
7.0.200.0180.00419.77
7.0.190.0150.00619.83
7.0.180.0140.00419.75
7.0.170.0140.00419.68
7.0.160.0120.00719.75
7.0.150.0140.00319.66
7.0.140.0100.00919.77
7.0.130.0130.00519.83
7.0.120.0110.00819.84
7.0.110.0160.00519.74
7.0.100.0130.00719.73
7.0.90.0150.00619.76
7.0.80.0130.00819.67
7.0.70.0160.00319.73
7.0.60.0170.00219.73
7.0.50.0160.00319.74
7.0.40.0130.00519.70
7.0.30.0130.00719.70
7.0.20.0160.00519.71
7.0.10.0150.00519.73
7.0.00.0120.00719.68
5.6.400.0210.00420.79
5.6.390.0190.00620.89
5.6.380.0160.00720.89
5.6.370.0170.00720.75
5.6.360.0210.00420.87
5.6.350.0150.01020.86
5.6.340.0170.00820.80
5.6.330.0160.00920.78
5.6.320.0170.00720.85
5.6.310.0190.00620.79
5.6.300.0150.02120.70
5.6.290.0150.01820.88
5.6.280.0140.01520.88
5.6.270.0100.02020.82
5.6.260.0140.02920.94
5.6.250.0140.02520.85
5.6.240.0100.01920.85
5.6.230.0160.02620.93
5.6.220.0150.02120.90
5.6.210.0120.01820.90
5.6.200.0110.02220.88
5.6.190.0130.02020.89
5.6.180.0200.02720.89
5.6.170.0150.01820.93
5.6.160.0160.01920.93
5.6.150.0160.02420.93
5.6.140.0130.02920.95
5.6.130.0170.01820.82
5.6.120.0090.02120.81
5.6.110.0130.01720.92
5.6.100.0130.02020.87
5.6.90.0170.02920.80
5.6.80.0120.02020.70
5.6.70.0140.02020.70
5.6.60.0150.01420.69
5.6.50.0110.02120.65
5.6.40.0120.02120.68
5.6.30.0160.01420.60
5.6.20.0120.02020.54
5.6.10.0130.01620.61
5.6.00.0180.01420.58

preferences:
67.87 ms | 401 KiB | 5 Q