3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[{"destination_url":"https://www.smh.com.au/business/the-economy/australia-s-workplaces-are-transforming-search-where-the-jobs-will-be-in-2024-20180418-p4zaal.html?promote_channel=edmail&mbnr=MjAyNTgyMjU&eid=email:nnn-13omn654-ret_newsl-membereng:nnn-04%2F11%2F2013-news_am-dom-news-nnn-age-u&campaign_code=13INO010&et_bid=29124074&list_name=40_smh_newsalert&instance=2018-04-18--20-11--UTC","doc_id":"17014","main_url":"http://click.email.fairfaxmedia.com.au/?qs=b3370d8980e989c9e39909e0291c60d501f8a164477f9e049f07626b2a9c7e79da7d38ad705d7713e024559ecf2f217f79f8c08f728ab7fe","redirect_urls":"http://click.email.fairfaxmedia.com.au/?qs=b3370d8980e989c9e39909e0291c60d501f8a164477f9e049f07626b2a9c7e79da7d38ad705d7713e024559ecf2f217f79f8c08f728ab7fe||http://www.smh.com.au/business/the-economy/australia-s-workplaces-are-transforming-search-where-the-jobs-will-be-in-2024-20180418-p4zaal.html?promote_channel=edmail&mbnr=MjAyNTgyMjU&eid=email:nnn-13omn654-ret_newsl-membereng:nnn-04%2F11%2F2013-news_am-dom-news-nnn-age-u&campaign_code=13INO010&et_bid=29124074&list_name=40_smh_newsalert&instance=2018-04-18--20-11--UTC"}]'; echo (int)json_decode($json, true)[0]['doc_id'];

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.140.0130.01617.52
8.4.130.0110.00818.65
8.4.120.0110.00823.89
8.4.110.0110.00918.70
8.4.100.0130.00818.95
8.4.90.0050.00520.79
8.4.80.0160.00418.52
8.4.70.0120.00717.80
8.4.60.0090.01018.74
8.4.50.0110.00917.67
8.4.40.0130.00317.52
8.4.30.0030.01617.68
8.4.20.0070.00319.70
8.4.10.0060.01020.72
8.3.270.0100.00916.59
8.3.260.0130.00616.72
8.3.250.0120.00718.92
8.3.240.0100.00917.08
8.3.230.0140.00516.57
8.3.220.0070.00418.93
8.3.210.0110.00918.44
8.3.200.0050.00516.76
8.3.190.0100.00918.53
8.3.180.0060.00416.71
8.3.170.0070.01316.61
8.3.160.0120.00616.72
8.3.150.0100.00717.20
8.3.140.0040.00417.35
8.3.130.0000.00818.36
8.3.120.0080.00020.65
8.3.110.0160.00320.94
8.3.100.0050.00516.60
8.3.90.0000.00818.23
8.3.80.0040.00418.29
8.3.70.0120.00316.63
8.3.60.0140.00718.38
8.3.50.0050.01017.93
8.3.40.0000.01518.54
8.3.30.0160.00618.58
8.3.20.0050.00319.15
8.3.10.0040.00421.85
8.3.00.0050.00319.56
8.2.290.0070.00120.50
8.2.280.0110.00618.22
8.2.270.0090.00916.56
8.2.260.0040.01117.37
8.2.250.0050.00316.81
8.2.240.0080.00817.33
8.2.230.0040.00422.58
8.2.220.0050.00524.06
8.2.210.0080.00026.77
8.2.200.0030.00618.41
8.2.190.0000.01416.58
8.2.180.0120.00616.50
8.2.170.0110.00422.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.01426.16
8.2.120.0030.00518.85
8.2.110.0060.00321.06
8.2.100.0040.00817.84
8.2.90.0000.00817.84
8.2.80.0000.00819.28
8.2.70.0080.00018.05
8.2.60.0060.00617.80
8.2.50.0000.00918.16
8.2.40.0050.00320.94
8.2.30.0040.00419.48
8.2.20.0000.00718.07
8.2.10.0070.00017.86
8.2.00.0000.00719.16
8.1.330.0120.00721.88
8.1.320.0100.01117.98
8.1.310.0080.00016.42
8.1.300.0060.00317.93
8.1.290.0030.00618.88
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0110.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00723.97
8.1.230.0110.00021.04
8.1.220.0080.00017.79
8.1.210.0040.00418.77
8.1.200.0000.00917.22
8.1.190.0090.00017.10
8.1.180.0040.00418.10
8.1.170.0040.00418.58
8.1.160.0050.00218.69
8.1.150.0080.00018.86
8.1.140.0000.00717.50
8.1.130.0000.00719.00
8.1.120.0000.00717.42
8.1.110.0040.00417.38
8.1.100.0040.00517.45
8.1.90.0070.00417.35
8.1.80.0000.00717.42
8.1.70.0070.00017.41
8.1.60.0000.01017.54
8.1.50.0040.00417.50
8.1.40.0030.00517.43
8.1.30.0080.00017.48
8.1.20.0070.00017.65
8.1.10.0070.00017.48
8.1.00.0060.00317.48
8.0.300.0000.00720.02
8.0.290.0000.00816.63
8.0.280.0030.00318.39
8.0.270.0000.00817.26
8.0.260.0040.00417.24
8.0.250.0000.00916.95
8.0.240.0040.00416.89
8.0.230.0030.00316.89
8.0.220.0000.00716.71
8.0.210.0050.00216.85
8.0.200.0000.00716.93
8.0.190.0050.00316.87
8.0.180.0030.00616.82
8.0.170.0090.00016.84
8.0.160.0050.00316.81
8.0.150.0000.00716.66
8.0.140.0030.00316.86
8.0.130.0000.00613.20
8.0.120.0040.00416.84
8.0.110.0080.00016.67
8.0.100.0050.00216.79
8.0.90.0050.00216.61
8.0.80.0040.01516.79
8.0.70.0030.00616.82
8.0.60.0030.00516.70
8.0.50.0040.00416.60
8.0.30.0090.00817.00
8.0.20.0120.01217.40
8.0.10.0030.00516.89
8.0.00.0080.01116.49
7.4.330.0050.00015.55
7.4.320.0060.00016.48
7.4.300.0000.00716.58
7.4.290.0000.00716.50
7.4.280.0000.00716.63
7.4.270.0000.00716.61
7.4.260.0030.00316.54
7.4.250.0030.00316.59
7.4.240.0060.00016.68
7.4.230.0000.00716.61
7.4.220.0040.00416.70
7.4.210.0050.01616.59
7.4.200.0030.00316.39
7.4.160.0100.00516.41
7.4.140.0100.00817.86
7.4.130.0150.00616.47
7.4.120.0070.01316.52
7.4.110.0070.01016.70
7.4.100.0090.01316.47
7.4.90.0110.00716.43
7.4.80.0110.01219.39
7.4.70.0110.00516.52
7.4.60.0060.00916.34
7.4.50.0080.00516.42
7.4.40.0100.00616.50
7.4.00.0090.00614.94
7.3.330.0030.00313.17
7.3.320.0060.00013.09
7.3.310.0040.00416.13
7.3.300.0000.00616.29
7.3.290.0000.00716.21
7.3.280.0120.00516.20
7.3.260.0150.00416.25
7.3.240.0120.00516.39
7.3.230.0120.00916.68
7.3.210.0100.01316.27
7.3.200.0040.01716.28
7.3.190.0100.00716.27
7.3.180.0130.00316.51
7.3.170.0090.00616.36
7.3.160.0090.00616.28
7.3.120.0030.01314.93
7.3.110.0070.00714.51
7.3.100.0040.01115.08
7.3.90.0030.00714.77
7.3.80.0100.00314.85
7.3.70.0080.00814.63
7.3.60.0120.00414.90
7.3.50.0040.00814.45
7.3.40.0100.00314.54
7.3.30.0030.00914.86
7.3.20.0070.00416.66
7.3.10.0000.01516.63
7.3.00.0080.00616.59
7.2.330.0160.00716.60
7.2.320.0090.00916.37
7.2.310.0130.01016.47
7.2.300.0080.01816.41
7.2.290.0110.00716.62
7.2.250.0120.00615.19
7.2.240.0100.01015.05
7.2.230.0040.00814.71
7.2.220.0000.01414.79
7.2.210.0100.00715.16
7.2.200.0080.00414.68
7.2.190.0030.01315.11
7.2.180.0030.00614.82
7.2.170.0130.00315.06
7.2.130.0070.00716.91
7.2.120.0030.00616.63
7.2.110.0040.00416.86
7.2.100.0070.00316.78
7.2.90.0070.00416.90
7.2.80.0050.00316.57
7.2.70.0080.00016.91
7.2.60.0020.00816.96
7.2.50.0050.00416.93
7.2.40.0130.00817.43
7.2.30.0140.00817.39
7.2.20.0090.00617.43
7.2.10.0130.01017.27
7.2.00.0120.00617.43
7.1.330.0030.01515.88
7.1.320.0060.00315.61
7.1.310.0040.01215.93
7.1.300.0060.00615.74
7.1.290.0080.00815.80
7.1.280.0100.00315.52
7.1.270.0040.00915.79
7.1.260.0060.00915.98
7.1.250.0040.00415.61
7.1.240.0040.00415.78
7.1.230.0070.00715.80
7.1.220.0030.00615.96
7.1.210.0070.00715.44
7.1.200.0020.00915.71
7.1.190.0070.00315.79
7.1.180.0060.00615.73
7.1.170.0030.00915.60
7.1.160.0050.01116.38
7.1.150.0140.00616.33
7.1.140.0430.00816.36
7.1.130.0180.00516.34
7.1.120.0480.00916.33
7.1.110.0490.00416.06
7.1.100.0080.00615.86
7.1.90.0290.01116.07
7.1.80.0220.00615.81
7.1.70.0040.01115.63
7.1.60.1730.01424.52
7.1.50.1950.00824.41
7.1.40.2000.00624.30
7.1.30.2090.01024.00
7.1.20.2370.00724.19
7.1.10.1770.00715.20
7.1.00.2190.00315.22
7.0.330.0060.00915.49
5.6.380.0070.00414.52

preferences:
31.96 ms | 403 KiB | 5 Q