3v4l.org

run code in 300+ PHP versions simultaneously
<script> jQuery(document).ready(function() { // BITONIC var sellBitonic = jQuery.parseJSON('<?php echo @file_get_contents('https://bitonic.nl/api/sell'); ?>'); jQuery(".bitcoin .compare-sell-bitonic").html(parseFloat(sellBitonic.price).toFixed(2)); var buyBitonic = jQuery.parseJSON('<?php echo @file_get_contents('https://bitonic.nl/api/buy'); ?>'); jQuery(".bitcoin .compare-buy-bitonic").html(parseFloat(buyBitonic.price).toFixed(2)); // BITMYMONEY var bitmymoney = jQuery.parseJSON('<?php echo @file_get_contents('https://www.bitmymoney.com/api/v1/ticker'); ?>'); jQuery(".bitcoin .compare-buy-bitmoney").html(parseFloat(bitmymoney.btc.ask).toFixed(2)); jQuery(".bitcoin .compare-sell-bitmoney").html(parseFloat(bitmymoney.btc.bid).toFixed(2)); // BITKASSA var bitkassa = <?php echo @file_get_contents('https://www.bitkassa.nl/price?btc_amount=1'); ?>; jQuery(".bitcoin .compare-buy-bitkassa").html(parseFloat(bitkassa.BTC_EUR.prices.buy).toFixed(2)); jQuery(".bitcoin .compare-sell-bitkassa").html(parseFloat(bitkassa.BTC_EUR.prices.sell).toFixed(2)); // ANYCOIN var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=BTC&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=BTC&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".bitcoin .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".bitcoin .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=LTC&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=LTC&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".litecoin .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".litecoin .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=ETH&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=ETH&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".ethereum .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".ethereum .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=XMR&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=XMR&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".monero .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".monero .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=STRAT&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=STRAT&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".stratis .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".stratis .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=NEO&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=NEO&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".neo .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".neo .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=ETC&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=ETC&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".etherclassic .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".etherclassic .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=PIVX&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=PIVX&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".pivx .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".pivx .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=NLG&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=NLG&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".gulden .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(3)); jQuery(".gulden .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(3)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=DOGE&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=DOGE&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".dogecoin .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(3)); jQuery(".dogecoin .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(3)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=DASH&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=DASH&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".dash .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".dash .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=BLK&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=BLK&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".blackcoin .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(3)); jQuery(".blackcoin .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(3)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=PPC&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=PPC&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".peercoin .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".peercoin .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); var buyAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/buyprices?CoinCode=ZEC&FiatCode=EUR&CoinAmount=1'); ?>; var sellAnycoin = <?php echo @file_get_contents('https://anycoindirect.eu/api/public/sellprices?CoinCode=ZEC&FiatCode=EUR&CoinAmount=1'); ?>; jQuery(".zcash .compare-buy-anycoin").html(parseFloat(buyAnycoin.Data[0].FiatAmount).toFixed(2)); jQuery(".zcash .compare-sell-anycoin").html(parseFloat(sellAnycoin.Data[0].FiatAmount).toFixed(2)); // SATOS var satos = <?php echo @file_get_contents('https://api.satos.nl/v2/public/getTicker?amount=1'); ?>; jQuery.each(satos, function(k,v) { if (v.pairs === 'EUR/BTC') { jQuery(".bitcoin .compare-buy-satos").html(parseFloat(satos[k].buy).toFixed(2)); jQuery(".bitcoin .compare-sell-satos").html(parseFloat(satos[k].sell).toFixed(2)); } if (v.pairs === 'EUR/LTC') { jQuery(".litecoin .compare-buy-satos").html(parseFloat(satos[k].buy).toFixed(2)); jQuery(".litecoin .compare-sell-satos").html(parseFloat(satos[k].sell).toFixed(2)); } if (v.pairs === 'EUR/BCH') { jQuery(".bitcoincash .compare-buy-satos").html(parseFloat(satos[k].buy).toFixed(2)); jQuery(".bitcoincash .compare-sell-satos").html(parseFloat(satos[k].sell).toFixed(2)); } if (v.pairs === 'EUR/XRP') { jQuery(".ripple .compare-buy-satos").html(parseFloat(satos[k].buy).toFixed(2)); jQuery(".ripple .compare-sell-satos").html(parseFloat(satos[k].sell).toFixed(2)); } }); }); </script>

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.00316.75
8.3.50.0160.00616.50
8.3.40.0070.01018.84
8.3.30.0040.01219.02
8.3.20.0030.00622.04
8.3.10.0000.00923.48
8.3.00.0030.00622.05
8.2.180.0070.01018.18
8.2.170.0100.00722.96
8.2.160.0100.00722.08
8.2.150.0090.00024.18
8.2.140.0090.00024.66
8.2.130.0090.00026.16
8.2.120.0060.00321.03
8.2.110.0070.00321.12
8.2.100.0140.00017.97
8.2.90.0040.00418.03
8.2.80.0100.00318.05
8.2.70.0050.00518.03
8.2.60.0040.00417.63
8.2.50.0060.00318.10
8.2.40.0030.00620.75
8.2.30.0040.00422.48
8.2.20.0030.00618.14
8.2.10.0030.00618.00
8.2.00.0030.00518.16
8.1.280.0120.00925.92
8.1.270.0040.00422.14
8.1.260.0050.00526.35
8.1.250.0090.00028.09
8.1.240.0050.00522.31
8.1.230.0120.00022.82
8.1.220.0040.00417.74
8.1.210.0000.01019.11
8.1.200.0040.00717.48
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0040.00418.63
8.1.160.0040.00819.00
8.1.150.0080.00020.50
8.1.140.0000.00917.80
8.1.130.0090.00019.10
8.1.120.0020.00817.59
8.1.110.0050.00317.39
8.1.100.0080.00317.46
8.1.90.0090.00017.52
8.1.80.0090.00017.54
8.1.70.0000.00817.42
8.1.60.0040.00817.70
8.1.50.0030.00617.51
8.1.40.0090.00017.50
8.1.30.0050.00317.75
8.1.20.0030.00617.69
8.1.10.0090.00017.55
8.1.00.0060.00617.38
8.0.300.0000.00819.85
8.0.290.0030.00616.88
8.0.280.0040.00418.54
8.0.270.0030.00616.93
8.0.260.0050.00217.02
8.0.250.0040.00417.09
8.0.240.0060.00317.14
8.0.230.0030.00617.18
8.0.220.0000.00717.07
8.0.210.0000.00817.13
8.0.200.0030.00517.16
8.0.190.0040.00717.04
8.0.180.0050.00316.94
8.0.170.0060.00317.02
8.0.160.0040.00417.11
8.0.150.0030.00517.00
8.0.140.0040.00416.92
8.0.130.0030.00313.58
8.0.120.0000.00917.07
8.0.110.0060.00317.08
8.0.100.0030.00617.15
8.0.90.0060.00316.97
8.0.80.0030.01817.09
8.0.70.0060.00316.93
8.0.60.0040.00417.02
8.0.50.0030.00617.03
8.0.30.0160.00717.05
8.0.20.0200.00717.40
8.0.10.0040.00417.01
8.0.00.0170.01316.87
7.4.330.0030.00315.55
7.4.320.0050.00216.59
7.4.300.0040.00416.58
7.4.290.0000.00916.57
7.4.280.0100.00016.66
7.4.270.0050.00216.57
7.4.260.0030.00616.55
7.4.250.0030.00616.53
7.4.240.0040.00416.57
7.4.230.0020.00516.57
7.4.220.0040.00416.48
7.4.210.0140.00416.55
7.4.200.0040.00416.59
7.4.160.0150.01016.53
7.4.140.0160.01017.86
7.4.130.0240.00016.55
7.4.120.0120.01016.67
7.4.110.0180.00616.61
7.4.100.0200.00816.56
7.4.90.0160.00916.69
7.4.80.0130.01019.39
7.4.70.0120.01216.66
7.4.60.0080.01216.46
7.4.50.0040.01416.59
7.4.40.0110.01116.63
7.4.00.0090.01015.11
7.3.330.0000.00513.24
7.3.320.0030.00313.21
7.3.310.0040.00416.42
7.3.300.0000.00816.38
7.3.290.0080.01516.37
7.3.280.0120.01016.44
7.3.260.0150.01216.53
7.3.240.0080.01616.46
7.3.230.0030.01716.45
7.3.210.0090.01316.45
7.3.200.0170.01216.67
7.3.190.0120.01116.45
7.3.180.0100.01016.29
7.3.170.0090.01316.55
7.3.160.0050.01616.43
7.3.120.0090.00614.96
7.3.110.0170.00314.93
7.3.100.0030.02014.94
7.3.90.0100.00714.62
7.3.80.0060.00614.77
7.3.70.0050.00714.58
7.3.60.0110.00414.95
7.3.50.0100.01014.96
7.3.40.0040.00714.78
7.3.30.0000.01914.72
7.3.20.0120.00616.48
7.3.10.0110.00416.29
7.3.00.0090.00916.64
7.2.330.0140.00916.45
7.2.320.0090.01316.69
7.2.310.0080.00616.69
7.2.300.0120.01216.71
7.2.290.0130.01016.68
7.2.250.0030.01914.64
7.2.240.0060.01615.14
7.2.230.0110.00714.93
7.2.220.0060.00715.27
7.2.210.0050.01115.22
7.2.200.0060.00615.10
7.2.190.0070.00714.70
7.2.180.0030.00914.93
7.2.170.0030.01015.12
7.2.160.0000.01114.77
7.2.150.0070.01016.93
7.2.140.0060.00916.63
7.2.130.0060.00916.93
7.2.120.0090.00916.93
7.2.110.0140.00316.78
7.2.100.0070.01016.81
7.2.90.0100.00716.63
7.2.80.0130.00716.79
7.2.70.0100.00616.67
7.2.60.0060.00816.70
7.2.50.0080.00616.73
7.2.40.0100.00716.76
7.2.30.0070.01316.95
7.2.20.0130.01218.49
7.2.10.0150.00918.23
7.2.00.0090.01718.44
7.1.330.0070.01415.91
7.1.320.0070.00715.37
7.1.310.0040.01115.58
7.1.300.0070.01015.69
7.1.290.0070.01015.75
7.1.280.0030.01015.75
7.1.270.0030.01015.86
7.1.260.0030.01115.68
7.1.250.0120.00315.76
7.1.240.0030.01215.49
7.1.230.0090.00615.86
7.1.220.0090.00615.75
7.1.210.0060.00915.54
7.1.200.0050.01115.63
7.1.190.0000.01515.50
7.1.180.0140.00015.41
7.1.170.0120.00615.37
7.1.160.0120.00315.86
7.1.150.0070.00415.84
7.1.140.0160.01217.43
7.1.130.0180.00817.21
7.1.120.0090.01317.36
7.1.110.0120.00916.89
7.1.100.0100.00816.83
7.1.90.0150.01117.08
7.1.80.0080.01316.89
7.1.70.0110.01116.56
7.1.60.0170.01825.58
7.1.50.0230.01425.51
7.1.40.0210.01024.97
7.1.30.0250.01225.10
7.1.20.0180.01625.11
7.1.10.0090.01416.30
7.1.00.0120.00816.24
7.0.330.0070.00714.99
7.0.320.0090.00615.07
7.0.310.0070.01315.32
7.0.300.0060.00615.26
7.0.290.0080.00415.46
7.0.280.0040.01115.39
7.0.270.0100.00315.16
7.0.260.0160.00015.42
7.0.250.0090.00615.15
7.0.240.0040.01415.50
7.0.230.0000.01115.34
7.0.220.0110.00415.17
7.0.210.0000.01315.28
7.0.200.0060.00615.45
7.0.190.0030.01215.15
7.0.180.0090.00315.44
7.0.170.0060.00615.23
7.0.160.0110.00315.34
7.0.150.0040.01115.38
7.0.140.0070.00315.38
7.0.130.0100.00715.14
7.0.120.0070.00715.21
7.0.110.0030.00815.29
7.0.100.0090.00615.34
7.0.90.0100.00715.45
7.0.80.0040.01515.48
7.0.70.0070.00715.16
7.0.60.0040.01115.56
7.0.50.0070.00315.38
7.0.40.0090.00613.44
7.0.30.0030.00813.51
7.0.20.0040.01113.50
7.0.10.0060.01013.42
7.0.00.0030.01313.45
5.6.400.0030.01214.29
5.6.390.0040.01114.41
5.6.380.0060.00914.03
5.6.370.0070.01014.12
5.6.360.0100.01014.18
5.6.350.0130.00314.15
5.6.340.0000.01514.15
5.6.330.0160.00314.49
5.6.320.0140.00314.20
5.6.310.0060.00914.45
5.6.300.0070.00314.02
5.6.290.0110.00314.17
5.6.280.0070.00714.32
5.6.270.0030.00714.45
5.6.260.0080.00614.37
5.6.250.0140.00314.34
5.6.240.0100.00714.24
5.6.230.0070.00714.46
5.6.220.0070.01014.07
5.6.210.0110.00714.21
5.6.200.0070.01014.07
5.6.190.0070.01014.41
5.6.180.0070.00714.20
5.6.170.0000.01014.22
5.6.160.0030.01414.51
5.6.150.0070.00714.34
5.6.140.0060.00614.27
5.6.130.0060.00914.20
5.6.120.0070.00714.06
5.6.110.0060.00613.95
5.6.100.0060.01214.16
5.6.90.0110.00714.39
5.6.80.0080.01114.42
5.6.70.0160.00014.13
5.6.60.0150.00614.24
5.6.50.0160.00314.33
5.6.40.0090.00614.21
5.6.30.0070.01013.90
5.6.20.0050.00813.89
5.6.10.0070.00714.27
5.6.00.0120.00014.13

preferences:
67.96 ms | 401 KiB | 5 Q