3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"status":{"timestamp":"2021-12-04T13:02:58.558Z","error_code":0,"error_message":null,"elapsed":22,"credit_count":1,"notice":null,"total_count":7934},"data":[{"id":1,"name":"Bitcoin","symbol":"BTC","slug":"bitcoin","num_market_pairs":8308,"date_added":"2013-04-28T00:00:00.000Z","tags":["mineable","pow","sha-256","store-of-value","state-channel","coinbase-ventures-portfolio","three-arrows-capital-portfolio","polychain-capital-portfolio","binance-labs-portfolio","blockchain-capital-portfolio","boostvc-portfolio","cms-holdings-portfolio","dcg-portfolio","dragonfly-capital-portfolio","electric-capital-portfolio","fabric-ventures-portfolio","framework-ventures-portfolio","galaxy-digital-portfolio","huobi-capital-portfolio","alameda-research-portfolio","a16z-portfolio","1confirmation-portfolio","winklevoss-capital-portfolio","usv-portfolio","placeholder-ventures-portfolio","pantera-capital-portfolio","multicoin-capital-portfolio","paradigm-portfolio"],"max_supply":21000000,"circulating_supply":18890987,"total_supply":18890987,"platform":null,"cmc_rank":1,"last_updated":"2021-12-04T13:02:02.000Z","quote":{"USD":{"price":47201.84236157637,"volume_24h":62618418378.936775,"volume_change_24h":94.4686,"percent_change_1h":1.04215459,"percent_change_24h":-17.01631179,"percent_change_7d":-13.77003006,"percent_change_30d":-23.77721437,"percent_change_60d":-5.46384951,"percent_change_90d":-5.79607754,"market_cap":891689390428.5885,"market_cap_dominance":40.5598,"fully_diluted_market_cap":991238689593.1,"last_updated":"2021-12-04T13:02:02.000Z"}}}]}'; $array = json_decode($json,true); print_r($array);

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.20.0100.01017.74
8.4.10.0060.00319.48
8.3.150.0090.00917.05
8.3.140.0100.00516.42
8.3.130.0100.01018.09
8.3.120.0090.00020.53
8.3.110.0080.00320.94
8.3.100.0080.00016.67
8.3.90.0040.00426.77
8.3.80.0030.00616.50
8.3.70.0180.00316.63
8.3.60.0140.00716.50
8.3.50.0110.01119.64
8.3.40.0060.00918.76
8.3.30.0110.00718.36
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0070.00326.16
8.2.260.0070.01116.54
8.2.250.0060.00318.15
8.2.240.0090.00618.83
8.2.230.0030.00722.58
8.2.220.0100.00024.06
8.2.210.0070.00026.77
8.2.200.0030.00616.63
8.2.190.0120.00616.58
8.2.180.0170.00325.92
8.2.170.0120.00618.83
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0030.00520.76
8.2.110.0040.00420.89
8.2.100.0120.00317.59
8.2.90.0040.00417.72
8.2.80.0040.00418.04
8.2.70.0050.00317.80
8.2.60.0040.00418.04
8.2.50.0080.00018.07
8.2.40.0030.00519.95
8.2.30.0040.00417.69
8.2.20.0050.00220.63
8.2.10.0000.00817.72
8.2.00.0040.00419.24
8.1.310.0030.00618.45
8.1.300.0000.00916.07
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0080.00020.35
8.1.230.0110.00620.96
8.1.220.0030.00617.79
8.1.210.0040.00418.77
8.1.200.0000.00817.10
8.1.190.0070.00317.23
8.1.180.0040.00419.01
8.1.170.0060.00318.52
8.1.160.0040.00318.84
8.1.150.0000.00818.64
8.1.140.0000.00717.33
8.1.130.0030.00318.89
8.1.120.0030.00717.44
8.1.110.0030.00617.38
8.1.100.0030.00517.43
8.1.90.0000.00717.46
8.1.80.0060.00317.38
8.1.70.0080.00017.41
8.1.60.0040.00417.50
8.1.50.0040.00417.48
8.1.40.0040.00417.48
8.1.30.0040.00417.50
8.1.20.0050.00317.55
8.1.10.0000.00817.46
8.1.00.0010.00817.31
8.0.300.0030.00320.09
8.0.290.0060.00316.63
8.0.280.0050.00318.31
8.0.270.0030.00316.82
8.0.260.0030.00318.27
8.0.250.0000.00616.93
8.0.240.0080.00016.88
8.0.230.0000.00716.79
8.0.220.0000.00716.90
8.0.210.0030.00316.67
8.0.200.0070.00016.78
8.0.190.0080.00016.86
8.0.180.0040.00416.93
8.0.170.0040.00416.73
8.0.160.0030.00516.75
8.0.150.0080.00016.79
8.0.140.0040.00416.72
8.0.130.0160.00416.77
8.0.120.0130.00716.72
8.0.110.0180.00016.73
8.0.100.0140.00516.75
8.0.90.0170.00316.73
8.0.80.0130.00716.76
8.0.70.0190.00016.85
8.0.60.0190.00016.74
8.0.50.0150.00516.80
8.0.30.0120.00516.77
8.0.20.0100.00916.89
8.0.10.0180.00216.97
8.0.00.0000.00916.96
7.4.330.0050.00015.55
7.4.320.0030.00316.46
7.4.300.0070.00016.50
7.4.290.0070.00016.34
7.4.280.0030.00616.47
7.4.270.0040.00416.55
7.4.260.0140.00716.32
7.4.250.0240.00016.33
7.4.240.0200.00316.35
7.4.230.0220.00016.43
7.4.220.0160.00316.56
7.4.210.0150.00416.45
7.4.200.0060.01416.54
7.4.190.0100.00816.61
7.4.180.0120.00616.38
7.4.160.0190.00016.36
7.4.150.0130.00616.51
7.4.140.0110.00816.46
7.4.130.0200.00016.26
7.4.120.0160.00316.37
7.4.110.0190.00016.35
7.4.100.0130.00416.48
7.4.90.0130.00316.35
7.4.80.0150.00416.36
7.4.70.0140.00516.33
7.4.60.0170.00316.32
7.4.50.0140.00316.36
7.4.40.0130.00716.24
7.4.30.0140.00516.24
7.4.20.0150.00316.22
7.4.10.0140.00416.41
7.4.00.0170.00316.18
7.3.330.0130.00516.12
7.3.320.0140.00716.07
7.3.310.0180.00316.20
7.3.300.0160.00415.94
7.3.290.0100.01016.07
7.3.280.0120.01016.08
7.3.270.0160.00316.00
7.3.260.0180.00316.08
7.3.250.0090.01016.17
7.3.240.0140.00716.12
7.3.230.0210.00016.14
7.3.220.0130.00716.23
7.3.210.0130.00715.89
7.3.200.0140.00016.02
7.3.190.0170.00316.18
7.3.180.0210.00015.88
7.3.170.0180.00315.98
7.3.160.0160.00415.86
7.3.150.0140.00716.10
7.3.140.0120.00816.02
7.3.130.0210.00016.22

preferences:
71.12 ms | 403 KiB | 5 Q