3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"AAPL":{"quote":{"symbol":"AAPL","companyName":"Apple Inc.","primaryExchange":"Nasdaq Global Select","sector":"Technology","calculationPrice":"close","open":174.87,"openTime":1513780200587,"close":174.35,"closeTime":1513803600484,"high":175.42,"low":173.25,"latestPrice":174.35,"latestSource":"Close","latestTime":"December 20, 2017","latestUpdate":1513803600484,"latestVolume":22242407,"iexRealtimePrice":174.33,"iexRealtimeSize":100,"iexLastUpdated":1513803599803,"delayedPrice":174.28,"delayedPriceTime":1513807168736,"previousClose":174.54,"change":-0.19,"changePercent":-0.00109,"iexMarketPercent":0.02476,"iexVolume":550722,"avgTotalVolume":27497701,"iexBidPrice":0,"iexBidSize":0,"iexAskPrice":0,"iexAskSize":0,"marketCap":895167297200,"peRatio":19.81,"week52High":177.2,"week52Low":114.76,"ytdChange":0.5010761945759792},"earnings":{"symbol":"AAPL","earnings":[{"actualEPS":1.67,"consensusEPS":1.57,"estimatedEPS":1.57,"announceTime":"AMC","numberOfEstimates":13,"EPSSurpriseDollar":0.1,"EPSReportDate":"2017-08-01","fiscalPeriod":"Q3 2017","fiscalEndDate":"2017-06-30"},{"actualEPS":2.1,"consensusEPS":2.02,"estimatedEPS":2.02,"announceTime":"AMC","numberOfEstimates":14,"EPSSurpriseDollar":0.08,"EPSReportDate":"2017-05-02","fiscalPeriod":"Q2 2017","fiscalEndDate":"2017-03-31"},{"actualEPS":3.36,"consensusEPS":3.22,"estimatedEPS":3.22,"announceTime":"AMC","numberOfEstimates":15,"EPSSurpriseDollar":0.14,"EPSReportDate":"2017-01-31","fiscalPeriod":"Q1 2017","fiscalEndDate":"2016-12-31"},{"actualEPS":1.67,"consensusEPS":1.66,"estimatedEPS":1.66,"announceTime":"AMC","numberOfEstimates":14,"EPSSurpriseDollar":0.01,"EPSReportDate":"2016-10-25","fiscalPeriod":"Q4 2016","fiscalEndDate":"2016-09-30"}]},"stats":{"companyName":"Apple Inc.","marketcap":896142816480,"beta":1.201281,"week52high":177.2,"week52low":114.76,"week52change":52.046402,"shortInterest":39370984,"shortDate":"2017-11-30","dividendRate":2.52,"dividendYield":1.4437951,"exDividendDate":"2017-11-10 00:00:00.0","latestEPS":9.21,"latestEPSDate":"2017-09-30","sharesOutstanding":5134312000,"float":5124446610,"returnOnEquity":36.08,"consensusEPS":1.57,"numberOfEstimates":13,"EPSSurpriseDollar":null,"EPSSurprisePercent":6.3694,"symbol":"AAPL","EBITDA":76569000000,"revenue":229234000000,"grossProfit":88186000000,"cash":278493000000,"debt":410090000000,"ttmEPS":8.8,"revenuePerShare":45,"revenuePerEmployee":1863691,"peRatioHigh":114.1,"peRatioLow":0,"returnOnAssets":13.6,"returnOnCapital":null,"profitMargin":19.74,"priceToSales":3.9514005,"priceToBook":6.57,"day200MovingAvg":153.68613,"day50MovingAvg":167.26122,"institutionPercent":35.1,"insiderPercent":null,"shortRatio":1.3429409,"year5ChangePercent":1.3500503437799485,"year2ChangePercent":0.6244293301034194,"year1ChangePercent":0.4947702331961591,"ytdChangePercent":0.5010761945759792,"month6ChangePercent":0.19140358070247362,"month3ChangePercent":0.09840609840609844,"month1ChangePercent":0.025708906930227114,"day5ChangePercent":0.012367901521309926}},"TSLA":{"quote":{"symbol":"TSLA","companyName":"Tesla Inc.","primaryExchange":"Nasdaq Global Select","sector":"Consumer Cyclical","calculationPrice":"close","open":332.69,"openTime":1513780200320,"close":328.98,"closeTime":1513803600302,"high":333.1,"low":325.04,"latestPrice":328.98,"latestSource":"Close","latestTime":"December 20, 2017","latestUpdate":1513803600302,"latestVolume":5951381,"iexRealtimePrice":329.06,"iexRealtimeSize":36,"iexLastUpdated":1513803595501,"delayedPrice":329.17,"delayedPriceTime":1513807018707,"previousClose":331.1,"change":-2.12,"changePercent":-0.0064,"iexMarketPercent":0.02209,"iexVolume":131466,"avgTotalVolume":6218329,"iexBidPrice":0,"iexBidSize":0,"iexAskPrice":0,"iexAskSize":0,"marketCap":55290811607,"peRatio":-37.17,"week52High":389.61,"week52Low":202.5,"ytdChange":0.5258767685146781},"earnings":{"symbol":"TSLA","earnings":[{"actualEPS":-3.59,"consensusEPS":-3.09,"estimatedEPS":-3.09,"announceTime":"AMC","numberOfEstimates":1,"EPSSurpriseDollar":-0.5,"EPSReportDate":"2017-11-01","fiscalPeriod":"Q3 2017","fiscalEndDate":"2017-09-30"},{"actualEPS":-2.04,"consensusEPS":-2,"estimatedEPS":-2,"announceTime":"AMC","numberOfEstimates":2,"EPSSurpriseDollar":-0.04,"EPSReportDate":"2017-08-02","fiscalPeriod":"Q2 2017","fiscalEndDate":"2017-06-30"},{"actualEPS":-1.97,"consensusEPS":-0.67,"estimatedEPS":-0.67,"announceTime":"AMC","numberOfEstimates":1,"EPSSurpriseDollar":-1.3,"EPSReportDate":"2017-05-03","fiscalPeriod":"Q1 2017","fiscalEndDate":"2017-03-31"},{"actualEPS":-1.25,"consensusEPS":-1.19,"estimatedEPS":-1.19,"announceTime":"AMC","numberOfEstimates":2,"EPSSurpriseDollar":-0.06,"EPSReportDate":"2017-02-22","fiscalPeriod":"Q4 2016","fiscalEndDate":"2016-12-31"}]},"stats":{"consensusEPS":-3.09,"numberOfEstimates":1,"EPSSurpriseDollar":null,"EPSSurprisePercent":-16.1812,"symbol":"TSLA","EBITDA":245806000,"revenue":10755133000,"grossProfit":2218979000,"cash":13965763000,"debt":33228331000,"ttmEPS":-8.85,"revenuePerShare":64,"revenuePerEmployee":604833,"returnOnEquity":-37.47,"peRatioHigh":0,"peRatioLow":0,"companyName":"Tesla Inc.","marketcap":55647114485,"beta":0.937545,"week52high":389.61,"week52low":202.5,"week52change":63.3207,"shortInterest":31163330,"shortDate":"2017-11-30","dividendRate":0,"dividendYield":0,"exDividendDate":0,"latestEPS":-4.82,"latestEPSDate":"2016-12-31","sharesOutstanding":168067395,"float":167512239,"returnOnAssets":-6.82,"returnOnCapital":null,"profitMargin":-15.88,"priceToSales":5.2954245,"priceToBook":11.99,"day200MovingAvg":327.17374,"day50MovingAvg":324.7992,"institutionPercent":38.3,"insiderPercent":null,"shortRatio":4.2818084,"year5ChangePercent":8.616613418530353,"year2ChangePercent":0.42371861025111807,"year1ChangePercent":0.6332067281606079,"ytdChangePercent":0.5258767685146781,"month6ChangePercent":-0.10465116279069764,"month3ChangePercent":-0.11730205278592375,"month1ChangePercent":0.07242339832869085,"day5ChangePercent":-0.02339026044892768}},"GE":{"quote":{"symbol":"GE","companyName":"General Electric Company","primaryExchange":"New York Stock Exchange","sector":"Industrials","calculationPrice":"close","open":17.6,"openTime":1513780210723,"close":17.45,"closeTime":1513803610194,"high":17.65,"low":17.36,"latestPrice":17.45,"latestSource":"Close","latestTime":"December 20, 2017","latestUpdate":1513803610194,"latestVolume":75339264,"iexRealtimePrice":17.455,"iexRealtimeSize":100,"iexLastUpdated":1513803595356,"delayedPrice":17.44,"delayedPriceTime":1513807092636,"previousClose":17.59,"change":-0.14,"changePercent":-0.00796,"iexMarketPercent":0.03586,"iexVolume":2701666,"avgTotalVolume":80328402,"iexBidPrice":0,"iexBidSize":0,"iexAskPrice":0,"iexAskSize":0,"marketCap":151327883250,"peRatio":14.07,"week52High":32.38,"week52Low":17.45,"ytdChange":-0.4449353108236037},"earnings":{"symbol":"GE","earnings":[{"actualEPS":0.29,"consensusEPS":0.49,"estimatedEPS":0.49,"announceTime":"BTO","numberOfEstimates":8,"EPSSurpriseDollar":-0.2,"EPSReportDate":"2017-10-20","fiscalPeriod":"Q3 2017","fiscalEndDate":"2017-09-30"},{"actualEPS":0.28,"consensusEPS":0.25,"estimatedEPS":0.25,"announceTime":"BTO","numberOfEstimates":8,"EPSSurpriseDollar":0.03,"EPSReportDate":"2017-07-21","fiscalPeriod":"Q2 2017","fiscalEndDate":"2017-06-30"},{"actualEPS":0.21,"consensusEPS":0.17,"estimatedEPS":0.17,"announceTime":"BTO","numberOfEstimates":8,"EPSSurpriseDollar":0.04,"EPSReportDate":"2017-04-21","fiscalPeriod":"Q1 2017","fiscalEndDate":"2017-03-31"},{"actualEPS":0.46,"consensusEPS":0.46,"estimatedEPS":0.46,"announceTime":"BTO","numberOfEstimates":8,"EPSSurpriseDollar":null,"EPSReportDate":"2017-01-20","fiscalPeriod":"Q4 2016","fiscalEndDate":"2016-12-31"}]},"stats":{"companyName":"General Electric Company","marketcap":152541975150,"beta":1.062203,"week52high":32.38,"week52low":17.46,"week52change":-42.9999,"shortInterest":120704892,"shortDate":"2017-11-30","dividendRate":0.48,"dividendYield":2.7288232,"exDividendDate":"2017-12-26 00:00:00.0","latestEPS":0.89,"latestEPSDate":"2016-12-31","sharesOutstanding":8672085000,"float":8658476659,"returnOnEquity":8.78,"consensusEPS":0.49,"numberOfEstimates":8,"EPSSurpriseDollar":null,"EPSSurprisePercent":-40.8163,"symbol":"GE","EBITDA":16324000000,"revenue":123779000000,"grossProfit":33760000000,"cash":338522000000,"debt":534321000000,"ttmEPS":1.24,"revenuePerShare":14,"revenuePerEmployee":419590,"peRatioHigh":0,"peRatioLow":0,"returnOnAssets":1.81,"returnOnCapital":null,"profitMargin":6.27,"priceToSales":1.2552772,"priceToBook":2.01,"day200MovingAvg":25.09911,"day50MovingAvg":19.8425,"institutionPercent":31.8,"insiderPercent":null,"shortRatio":1.2996557,"year5ChangePercent":-0.16437054631828982,"year2ChangePercent":-0.4213815789473684,"year1ChangePercent":-0.44893483709273185,"ytdChangePercent":-0.4449353108236037,"month6ChangePercent":-0.3892361111111111,"month3ChangePercent":-0.27314049586776856,"month1ChangePercent":-0.021690767519466105,"day5ChangePercent":-0.009572072072072167}}}'; Var_dump(json_decode($str, true));

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.80.0040.00719.36
8.3.70.0170.00318.43
8.3.60.0200.00318.43
8.3.50.0090.00917.34
8.3.40.0100.01018.67
8.3.30.0170.00018.71
8.3.20.0060.00321.66
8.3.10.0030.00723.66
8.3.00.0080.00321.73
8.2.200.0080.00418.88
8.2.190.0070.01118.05
8.2.180.0150.00318.29
8.2.170.0210.00318.84
8.2.160.0070.01122.96
8.2.150.0070.00324.18
8.2.140.0070.00724.66
8.2.130.0090.00020.37
8.2.120.0030.00626.35
8.2.110.0060.00621.02
8.2.100.0070.00717.47
8.2.90.0040.00418.22
8.2.80.0090.00020.50
8.2.70.0070.00317.80
8.2.60.0030.00618.09
8.2.50.0100.00018.10
8.2.40.0030.00620.47
8.2.30.0030.00619.12
8.2.20.0000.00818.04
8.2.10.0090.00017.91
8.2.00.0060.00318.03
8.1.290.0110.00030.84
8.1.280.0110.00725.92
8.1.270.0060.00623.99
8.1.260.0070.00326.35
8.1.250.0070.00328.09
8.1.240.0070.00422.02
8.1.230.0000.01321.04
8.1.220.0100.00017.74
8.1.210.0030.00618.96
8.1.200.0110.00017.10
8.1.190.0080.00316.97
8.1.180.0030.00618.10
8.1.170.0000.00918.59
8.1.160.0000.00918.82
8.1.150.0050.00518.80
8.1.140.0040.00419.05
8.1.130.0080.00017.81
8.1.120.0060.00317.47
8.1.110.0060.00317.45
8.1.100.0060.00317.41
8.1.90.0090.00317.47
8.1.80.0090.00017.33
8.1.70.0040.00417.43
8.1.60.0030.00617.51
8.1.50.0000.01017.48
8.1.40.0050.00517.52
8.1.30.0030.00617.52
8.1.20.0000.00917.50
8.1.10.0040.00717.45
8.1.00.0030.00617.29
8.0.300.0000.00920.10
8.0.290.0070.00316.63
8.0.280.0050.00318.43
8.0.270.0040.00416.77
8.0.260.0040.00417.23
8.0.250.0030.00616.96
8.0.240.0040.00416.92
8.0.230.0000.00816.79
8.0.220.0040.00416.83
8.0.210.0040.00416.83
8.0.200.0080.00016.87
8.0.190.0100.00016.98
8.0.180.0040.00416.78
8.0.170.0070.00316.75
8.0.160.0030.00616.83
8.0.150.0090.00016.85
8.0.140.0030.00616.81
8.0.130.0030.00313.29
8.0.120.0060.00316.86
8.0.110.0080.00016.73
8.0.100.0000.00816.88
8.0.90.0040.00416.71
8.0.80.0100.01016.89
8.0.70.0000.00816.81
8.0.60.0000.00916.80
8.0.50.0030.00616.64
8.0.30.0130.01517.06
8.0.20.0150.01417.40
8.0.10.0060.00316.97
8.0.00.0150.01516.74
7.4.330.0060.00015.55
7.4.320.0040.00416.46
7.4.300.0040.00416.47
7.4.290.0050.00316.44
7.4.280.0040.00716.56
7.4.270.0040.00416.55
7.4.260.0050.00316.45
7.4.250.0000.00916.57
7.4.240.0060.00316.53
7.4.230.0040.00416.50
7.4.220.0060.00316.65
7.4.210.0080.01216.46
7.4.200.0080.00016.57
7.4.160.0120.01116.47
7.4.150.0210.00317.40
7.4.140.0150.01317.86
7.4.130.0090.01616.46
7.4.120.0180.01016.45
7.4.110.0140.01016.43
7.4.100.0130.01316.41
7.4.90.0190.00616.41
7.4.80.0160.01319.39
7.4.70.0120.02016.63
7.4.60.0110.01216.31
7.4.50.0120.00616.41
7.4.40.0120.01216.39
7.4.30.0110.01116.62
7.4.00.0130.00615.04
7.3.330.0060.00013.10
7.3.320.0030.00313.10
7.3.310.0080.00016.06
7.3.300.0040.00416.07
7.3.290.0000.00816.16
7.3.280.0070.01316.14
7.3.270.0190.00917.40
7.3.260.0140.01416.27
7.3.250.0130.01316.35
7.3.240.0130.01416.39
7.3.230.0100.01316.26
7.3.210.0210.00716.24
7.3.200.0110.01116.20
7.3.190.0100.01416.15
7.3.180.0090.01316.08
7.3.170.0210.00916.22
7.3.160.0040.01716.21
7.3.120.0070.01414.46
7.3.110.0140.00714.79
7.3.100.0070.01314.32
7.3.90.0120.00614.78
7.3.80.0090.00914.79
7.3.70.0070.01014.44
7.3.60.0000.01614.76
7.3.50.0030.01714.66
7.3.40.0060.00614.38
7.3.30.0030.01314.63
7.3.20.0120.00416.36
7.3.10.0000.02316.70
7.3.00.0030.01216.37
7.2.330.0200.00716.27
7.2.320.0140.01016.29
7.2.310.0170.01416.30
7.2.300.0160.01016.49
7.2.290.0100.01316.41
7.2.250.0080.01215.05
7.2.240.0090.01514.61
7.2.230.0180.00414.76
7.2.220.0130.00514.66
7.2.210.0090.00915.00
7.2.200.0030.01314.65
7.2.190.0030.01714.80
7.2.180.0080.00814.72
7.2.170.0090.00414.96
7.2.60.0070.01016.87
7.2.00.0130.01617.54
7.1.330.0070.01015.56
7.1.320.0090.00615.42
7.1.310.0120.00915.81
7.1.300.0060.01515.70
7.1.290.0040.01515.64
7.1.280.0080.00815.97
7.1.270.0090.00915.66
7.1.260.0120.00615.45
7.1.200.0060.00815.69
7.1.120.0210.01416.88
7.1.110.0170.01215.81
7.1.100.0130.01316.40
7.1.90.0310.00616.04
7.1.80.0210.01015.91
7.1.70.0280.01515.41
7.1.60.0360.02333.15
7.1.50.0310.01232.63
7.1.40.0440.01332.63
7.1.30.0330.01332.46
7.1.20.0340.01032.86
7.1.10.0320.00414.84
7.1.00.0330.01314.95

preferences:
30.71 ms | 401 KiB | 5 Q