3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [array ( 'timestamp' => 1505324820, 'dateTimeISO' => '2017-09-13T13:47:00-04:00', 'tempF' => 71, 'dewpointF' => 63, 'humidity' => 76, 'pressureMB' => 1012, 'altimeterMB' => 1013, 'windMPH' => 10, 'windSpeedMPH' => 10, 'windDirDEG' => 240, 'windGustMPH' => NULL, 'visibilityMI' => 10, 'weather' => 'Cloudy', 'weatherShort' => 'Cloudy', 'weatherCoded' => '::OV', 'weatherPrimary' => 'Cloudy', 'weatherPrimaryCoded' => '::OV', 'cloudsCoded' => 'OV', 'heatindexF' => 71, 'windchillF' => 71, 'feelslikeF' => 71, 'sunriseISO' => '2017-09-13T06:42:20-04:00', 'sunsetISO' => '2017-09-13T19:14:27-04:00', 'snowDepthIN' => NULL, 'precipIN' => 0, 'sky' => 100, ), array ( 'timestamp' => 1505325240, 'dateTimeISO' => '2017-09-13T13:54:00-04:00', 'tempF' => 71, 'dewpointF' => 63, 'humidity' => 76, 'pressureMB' => 1012, 'altimeterMB' => 1013, 'windMPH' => 10, 'windSpeedMPH' => 10, 'windDirDEG' => 250, 'windGustMPH' => NULL, 'visibilityMI' => 10, 'weather' => 'Cloudy', 'weatherShort' => 'Cloudy', 'weatherCoded' => '::OV', 'weatherPrimary' => 'Cloudy', 'weatherPrimaryCoded' => '::OV', 'cloudsCoded' => 'OV', 'heatindexF' => 71, 'windchillF' => 71, 'feelslikeF' => 71, 'sunriseISO' => '2017-09-13T06:42:20-04:00', 'sunsetISO' => '2017-09-13T19:14:27-04:00', 'snowDepthIN' => NULL, 'precipIN' => 0, 'tempMax6hrFXXXXXXX' => 75, 'tempMin6hrFXXXXXXX' => 57, 'sky' => 100, ),]; $backup = $x[0]; $x = array_filter($x, function ($array) { return array_key_exists('tempMax6hrF', $array); }); $x = count($x) > 0 ? $x : $backup; var_dump($x);

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.0110.00416.36
8.3.50.0030.01218.44
8.3.40.0090.00618.74
8.3.30.0090.00618.75
8.3.20.0090.00020.21
8.3.10.0120.00622.00
8.3.00.0090.00923.53
8.2.180.0110.00418.22
8.2.170.0040.01122.96
8.2.160.0070.00719.50
8.2.150.0040.01424.18
8.2.140.0050.00324.66
8.2.130.0040.00421.04
8.2.120.0080.00026.35
8.2.110.0030.00619.27
8.2.100.0130.00317.84
8.2.90.0040.00419.63
8.2.80.0030.00718.03
8.2.70.0000.00917.88
8.2.60.0050.00318.16
8.2.50.0080.00018.34
8.2.40.0040.00420.47
8.2.30.0040.00419.31
8.2.20.0000.00718.16
8.2.10.0040.00418.01
8.2.00.0000.00718.11
8.1.280.0170.01025.92
8.1.270.0070.01122.06
8.1.260.0110.00726.35
8.1.250.0040.00428.09
8.1.240.0070.00322.45
8.1.230.0070.00318.97
8.1.220.0090.00017.77
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0050.00518.10
8.1.170.0080.00018.48
8.1.160.0040.00418.84
8.1.150.0000.00720.07
8.1.140.0000.00719.50
8.1.130.0000.00718.89
8.1.120.0040.00417.39
8.1.110.0000.00817.42
8.1.100.0040.00417.43
8.1.90.0000.00817.46
8.1.80.0000.00817.46
8.1.70.0000.00717.35
8.1.60.0030.00617.59
8.1.50.0000.00817.38
8.1.40.0080.00017.48
8.1.30.0080.00017.68
8.1.20.0050.00217.66
8.1.10.0070.00017.59
8.1.00.0000.00717.34
8.0.300.0040.00420.09
8.0.290.0040.00416.58
8.0.280.0000.00718.39
8.0.270.0020.00517.28
8.0.260.0000.00720.48
8.0.250.0070.00016.91
8.0.240.0000.00716.91
8.0.230.0040.00416.81
8.0.220.0080.00016.75
8.0.210.0030.00316.68
8.0.200.0050.00216.92
8.0.190.0000.00916.93
8.0.180.0040.00416.85
8.0.170.0070.00316.93
8.0.160.0040.00416.90
8.0.150.0080.00016.79
8.0.140.0080.00016.86
8.0.130.0030.00313.29
8.0.120.0000.00716.75
8.0.110.0000.00716.88
8.0.100.0040.00416.72
8.0.90.0070.00016.79
8.0.80.0070.00716.86
8.0.70.0070.00016.78
8.0.60.0040.00416.89
8.0.50.0040.00416.69
8.0.30.0100.00717.01
8.0.20.0100.01117.40
8.0.10.0000.00716.90
8.0.00.0110.00716.76
7.4.330.0000.00515.55
7.4.320.0000.00616.60
7.4.300.0060.00016.59
7.4.290.0000.00716.49
7.4.280.0050.00216.52
7.4.270.0080.00016.63
7.4.260.0080.00016.48
7.4.250.0030.00516.63
7.4.240.0050.00316.54
7.4.230.0000.00716.36
7.4.220.0070.01316.58
7.4.210.0080.00716.63
7.4.200.0030.00516.42
7.4.160.0090.01016.62
7.4.150.0190.00017.40
7.4.140.0100.01017.86
7.4.130.0100.01016.69
7.4.120.0110.00816.51
7.4.110.0150.00516.36
7.4.100.0090.00916.62
7.4.90.0140.00416.54
7.4.80.0130.00619.39
7.4.70.0090.00916.57
7.4.60.0160.00016.58
7.4.50.0030.01016.38
7.4.40.0040.01516.57
7.4.30.0080.00816.41
7.4.00.0090.00814.85
7.3.330.0000.00513.30
7.3.320.0060.00013.44
7.3.310.0000.00716.27
7.3.300.0070.00016.44
7.3.290.0000.00816.22
7.3.280.0080.00916.31
7.3.270.0160.00317.40
7.3.260.0140.01116.41
7.3.250.0150.00416.42
7.3.240.0120.00516.34
7.3.230.0140.00716.42
7.3.210.0070.01116.45
7.3.200.0030.01516.50
7.3.190.0110.00716.49
7.3.180.0100.01016.49
7.3.170.0090.00916.46
7.3.160.0030.01316.43
7.3.120.0150.00414.70
7.3.110.0060.00914.96
7.3.100.0040.01214.39
7.3.90.0060.00314.91
7.3.80.0030.01514.82
7.3.70.0110.00614.76
7.3.60.0030.00814.85
7.3.50.0000.00914.79
7.3.40.0040.00814.80
7.3.30.0030.01014.66
7.3.20.0110.00316.78
7.3.10.0030.01016.46
7.3.00.0030.01016.66
7.2.330.0090.00916.80
7.2.320.0060.01216.41
7.2.310.0130.00316.46
7.2.300.0050.01416.51
7.2.290.0080.01816.71
7.2.250.0030.01714.77
7.2.240.0140.00715.16
7.2.230.0000.01015.28
7.2.220.0000.01014.96
7.2.210.0000.01515.00
7.2.200.0030.00915.08
7.2.190.0080.00815.09
7.2.180.0000.01314.92
7.2.170.0070.01015.05
7.2.80.0100.01016.57
7.2.60.0060.00616.74
7.1.330.0030.01015.76
7.1.320.0040.00815.73
7.1.310.0040.00415.83
7.1.300.0000.01315.67
7.1.290.0120.00315.55
7.1.280.0060.00315.71
7.1.270.0030.01015.74
7.1.260.0030.01015.71
7.1.200.0040.00815.86
7.1.90.0040.00917.93
7.1.80.0050.00818.12
7.1.70.0050.00817.03
7.1.60.0160.01634.96
7.1.50.0180.01334.64
7.1.40.0160.01334.57
7.1.30.0190.01334.39
7.1.20.0170.00834.67
7.1.10.0040.00916.73
7.1.00.0030.01116.75
7.0.230.0070.00617.40
7.0.220.0030.01017.63
7.0.210.0080.00516.53
7.0.200.0050.00916.54
7.0.190.0030.01216.53
7.0.180.0000.01516.13
7.0.170.0050.01116.07
7.0.160.0000.01316.17
7.0.150.0040.01016.08
7.0.140.0070.00616.40
7.0.130.0010.01416.50
7.0.120.0030.01316.51
7.0.110.0020.01116.25
7.0.100.0000.01216.37
7.0.90.0030.00916.19
7.0.80.0020.01116.18
7.0.70.0030.00916.19
7.0.60.0070.00616.03
7.0.50.0030.01016.05
7.0.40.0080.00516.55
7.0.30.0060.00616.34
7.0.20.0050.00816.37
7.0.10.0070.00516.42
7.0.00.0020.01316.25

preferences:
59.04 ms | 400 KiB | 5 Q