@ 2017-12-21T03:35:21Z <?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));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
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).
Version System time (s) User time (s) Memory (MiB) 8.3.8 0.004 0.007 19.36 8.3.7 0.017 0.003 18.43 8.3.6 0.020 0.003 18.43 8.3.5 0.009 0.009 17.34 8.3.4 0.010 0.010 18.67 8.3.3 0.017 0.000 18.71 8.3.2 0.006 0.003 21.66 8.3.1 0.003 0.007 23.66 8.3.0 0.008 0.003 21.73 8.2.20 0.008 0.004 18.88 8.2.19 0.007 0.011 18.05 8.2.18 0.015 0.003 18.29 8.2.17 0.021 0.003 18.84 8.2.16 0.007 0.011 22.96 8.2.15 0.007 0.003 24.18 8.2.14 0.007 0.007 24.66 8.2.13 0.009 0.000 20.37 8.2.12 0.003 0.006 26.35 8.2.11 0.006 0.006 21.02 8.2.10 0.007 0.007 17.47 8.2.9 0.004 0.004 18.22 8.2.8 0.009 0.000 20.50 8.2.7 0.007 0.003 17.80 8.2.6 0.003 0.006 18.09 8.2.5 0.010 0.000 18.10 8.2.4 0.003 0.006 20.47 8.2.3 0.003 0.006 19.12 8.2.2 0.000 0.008 18.04 8.2.1 0.009 0.000 17.91 8.2.0 0.006 0.003 18.03 8.1.29 0.011 0.000 30.84 8.1.28 0.011 0.007 25.92 8.1.27 0.006 0.006 23.99 8.1.26 0.007 0.003 26.35 8.1.25 0.007 0.003 28.09 8.1.24 0.007 0.004 22.02 8.1.23 0.000 0.013 21.04 8.1.22 0.010 0.000 17.74 8.1.21 0.003 0.006 18.96 8.1.20 0.011 0.000 17.10 8.1.19 0.008 0.003 16.97 8.1.18 0.003 0.006 18.10 8.1.17 0.000 0.009 18.59 8.1.16 0.000 0.009 18.82 8.1.15 0.005 0.005 18.80 8.1.14 0.004 0.004 19.05 8.1.13 0.008 0.000 17.81 8.1.12 0.006 0.003 17.47 8.1.11 0.006 0.003 17.45 8.1.10 0.006 0.003 17.41 8.1.9 0.009 0.003 17.47 8.1.8 0.009 0.000 17.33 8.1.7 0.004 0.004 17.43 8.1.6 0.003 0.006 17.51 8.1.5 0.000 0.010 17.48 8.1.4 0.005 0.005 17.52 8.1.3 0.003 0.006 17.52 8.1.2 0.000 0.009 17.50 8.1.1 0.004 0.007 17.45 8.1.0 0.003 0.006 17.29 8.0.30 0.000 0.009 20.10 8.0.29 0.007 0.003 16.63 8.0.28 0.005 0.003 18.43 8.0.27 0.004 0.004 16.77 8.0.26 0.004 0.004 17.23 8.0.25 0.003 0.006 16.96 8.0.24 0.004 0.004 16.92 8.0.23 0.000 0.008 16.79 8.0.22 0.004 0.004 16.83 8.0.21 0.004 0.004 16.83 8.0.20 0.008 0.000 16.87 8.0.19 0.010 0.000 16.98 8.0.18 0.004 0.004 16.78 8.0.17 0.007 0.003 16.75 8.0.16 0.003 0.006 16.83 8.0.15 0.009 0.000 16.85 8.0.14 0.003 0.006 16.81 8.0.13 0.003 0.003 13.29 8.0.12 0.006 0.003 16.86 8.0.11 0.008 0.000 16.73 8.0.10 0.000 0.008 16.88 8.0.9 0.004 0.004 16.71 8.0.8 0.010 0.010 16.89 8.0.7 0.000 0.008 16.81 8.0.6 0.000 0.009 16.80 8.0.5 0.003 0.006 16.64 8.0.3 0.013 0.015 17.06 8.0.2 0.015 0.014 17.40 8.0.1 0.006 0.003 16.97 8.0.0 0.015 0.015 16.74 7.4.33 0.006 0.000 15.55 7.4.32 0.004 0.004 16.46 7.4.30 0.004 0.004 16.47 7.4.29 0.005 0.003 16.44 7.4.28 0.004 0.007 16.56 7.4.27 0.004 0.004 16.55 7.4.26 0.005 0.003 16.45 7.4.25 0.000 0.009 16.57 7.4.24 0.006 0.003 16.53 7.4.23 0.004 0.004 16.50 7.4.22 0.006 0.003 16.65 7.4.21 0.008 0.012 16.46 7.4.20 0.008 0.000 16.57 7.4.16 0.012 0.011 16.47 7.4.15 0.021 0.003 17.40 7.4.14 0.015 0.013 17.86 7.4.13 0.009 0.016 16.46 7.4.12 0.018 0.010 16.45 7.4.11 0.014 0.010 16.43 7.4.10 0.013 0.013 16.41 7.4.9 0.019 0.006 16.41 7.4.8 0.016 0.013 19.39 7.4.7 0.012 0.020 16.63 7.4.6 0.011 0.012 16.31 7.4.5 0.012 0.006 16.41 7.4.4 0.012 0.012 16.39 7.4.3 0.011 0.011 16.62 7.4.0 0.013 0.006 15.04 7.3.33 0.006 0.000 13.10 7.3.32 0.003 0.003 13.10 7.3.31 0.008 0.000 16.06 7.3.30 0.004 0.004 16.07 7.3.29 0.000 0.008 16.16 7.3.28 0.007 0.013 16.14 7.3.27 0.019 0.009 17.40 7.3.26 0.014 0.014 16.27 7.3.25 0.013 0.013 16.35 7.3.24 0.013 0.014 16.39 7.3.23 0.010 0.013 16.26 7.3.21 0.021 0.007 16.24 7.3.20 0.011 0.011 16.20 7.3.19 0.010 0.014 16.15 7.3.18 0.009 0.013 16.08 7.3.17 0.021 0.009 16.22 7.3.16 0.004 0.017 16.21 7.3.12 0.007 0.014 14.46 7.3.11 0.014 0.007 14.79 7.3.10 0.007 0.013 14.32 7.3.9 0.012 0.006 14.78 7.3.8 0.009 0.009 14.79 7.3.7 0.007 0.010 14.44 7.3.6 0.000 0.016 14.76 7.3.5 0.003 0.017 14.66 7.3.4 0.006 0.006 14.38 7.3.3 0.003 0.013 14.63 7.3.2 0.012 0.004 16.36 7.3.1 0.000 0.023 16.70 7.3.0 0.003 0.012 16.37 7.2.33 0.020 0.007 16.27 7.2.32 0.014 0.010 16.29 7.2.31 0.017 0.014 16.30 7.2.30 0.016 0.010 16.49 7.2.29 0.010 0.013 16.41 7.2.25 0.008 0.012 15.05 7.2.24 0.009 0.015 14.61 7.2.23 0.018 0.004 14.76 7.2.22 0.013 0.005 14.66 7.2.21 0.009 0.009 15.00 7.2.20 0.003 0.013 14.65 7.2.19 0.003 0.017 14.80 7.2.18 0.008 0.008 14.72 7.2.17 0.009 0.004 14.96 7.2.6 0.007 0.010 16.87 7.2.0 0.013 0.016 17.54 7.1.33 0.007 0.010 15.56 7.1.32 0.009 0.006 15.42 7.1.31 0.012 0.009 15.81 7.1.30 0.006 0.015 15.70 7.1.29 0.004 0.015 15.64 7.1.28 0.008 0.008 15.97 7.1.27 0.009 0.009 15.66 7.1.26 0.012 0.006 15.45 7.1.20 0.006 0.008 15.69 7.1.12 0.021 0.014 16.88 7.1.11 0.017 0.012 15.81 7.1.10 0.013 0.013 16.40 7.1.9 0.031 0.006 16.04 7.1.8 0.021 0.010 15.91 7.1.7 0.028 0.015 15.41 7.1.6 0.036 0.023 33.15 7.1.5 0.031 0.012 32.63 7.1.4 0.044 0.013 32.63 7.1.3 0.033 0.013 32.46 7.1.2 0.034 0.010 32.86 7.1.1 0.032 0.004 14.84 7.1.0 0.033 0.013 14.95
preferences:dark mode live preview
30.71 ms | 401 KiB | 5 Q