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, 'tempMax6hrF' => 75, 'tempMin6hrF' => 57, 'sky' => 100, ),]; $x = array_filter($x, function ($array) { return array_key_exists('tempMax6hrF', $array); }); 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.0100.01318.38
8.3.50.0100.01018.29
8.3.40.0040.01118.67
8.3.30.0070.00718.71
8.3.20.0040.00420.22
8.3.10.0040.00422.27
8.3.00.0040.00423.52
8.2.180.0170.01016.32
8.2.170.0110.00722.96
8.2.160.0090.00619.42
8.2.150.0140.00725.66
8.2.140.0040.00424.66
8.2.130.0080.00021.00
8.2.120.0040.00426.35
8.2.110.0000.00919.26
8.2.100.0080.00417.91
8.2.90.0000.00919.40
8.2.80.0000.00818.05
8.2.70.0100.00017.48
8.2.60.0000.00817.93
8.2.50.0040.00418.34
8.2.40.0000.00720.59
8.2.30.0050.00319.19
8.2.20.0000.00818.10
8.2.10.0000.00818.12
8.2.00.0000.00718.07
8.1.280.0100.01025.92
8.1.270.0050.00222.06
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.80
8.1.230.0040.00817.83
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0070.00317.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0050.00318.64
8.1.160.0070.00018.80
8.1.150.0050.00220.25
8.1.140.0070.00019.63
8.1.130.0030.00318.81
8.1.120.0000.00717.39
8.1.110.0030.00617.42
8.1.100.0040.00417.38
8.1.90.0070.00017.38
8.1.80.0040.00417.42
8.1.70.0030.00317.48
8.1.60.0030.00617.58
8.1.50.0040.00417.45
8.1.40.0060.00317.41
8.1.30.0000.00817.55
8.1.20.0000.00817.75
8.1.10.0040.00417.43
8.1.00.0070.00417.44
8.0.300.0050.00318.77
8.0.290.0000.00816.58
8.0.280.0030.00318.44
8.0.270.0030.00317.16
8.0.260.0000.00720.54
8.0.250.0000.00816.76
8.0.240.0000.00716.91
8.0.230.0070.00016.88
8.0.220.0000.00716.80
8.0.210.0030.00316.84
8.0.200.0030.00516.95
8.0.190.0040.00416.97
8.0.180.0070.00016.88
8.0.170.0040.00416.91
8.0.160.0070.00016.79
8.0.150.0070.00016.72
8.0.140.0050.00316.80
8.0.130.0000.00613.32
8.0.120.0040.00416.87
8.0.110.0050.00216.83
8.0.100.0070.00016.72
8.0.90.0070.00017.00
8.0.80.0100.00616.89
8.0.70.0000.00816.74
8.0.60.0040.00416.84
8.0.50.0000.00716.90
8.0.30.0100.01017.01
8.0.20.0160.00517.40
8.0.10.0040.00417.03
8.0.00.0060.01616.56
7.4.330.0050.00015.55
7.4.320.0000.00616.57
7.4.300.0000.00616.39
7.4.290.0030.00516.51
7.4.280.0030.00516.40
7.4.270.0070.00016.61
7.4.260.0040.00416.48
7.4.250.0040.00416.57
7.4.240.0020.00516.53
7.4.230.0030.00316.63
7.4.220.0070.02116.63
7.4.210.0050.01016.58
7.4.200.0040.00416.42
7.4.160.0080.01116.58
7.4.150.0150.00817.40
7.4.140.0170.00617.86
7.4.130.0140.01116.46
7.4.120.0080.01216.51
7.4.110.0090.00916.40
7.4.100.0090.00916.47
7.4.90.0030.01816.27
7.4.80.0070.01119.39
7.4.70.0130.00416.32
7.4.60.0080.00816.37
7.4.50.0120.00316.43
7.4.40.0170.00316.56
7.4.30.0000.01716.26
7.4.00.0080.01015.11
7.3.330.0000.00613.25
7.3.320.0000.00513.05
7.3.310.0000.00716.32
7.3.300.0000.00716.27
7.3.290.0000.00816.19
7.3.280.0070.01016.19
7.3.270.0090.00917.40
7.3.260.0090.01616.30
7.3.250.0110.01016.21
7.3.240.0080.00916.35
7.3.230.0120.00616.34
7.3.210.0100.00716.52
7.3.200.0100.00716.45
7.3.190.0110.00616.54
7.3.180.0110.01116.20
7.3.170.0100.00716.28
7.3.160.0060.01316.60
7.3.120.0070.01114.55
7.3.110.0140.00314.86
7.3.100.0000.01514.70
7.3.90.0060.01314.73
7.3.80.0090.00914.71
7.3.70.0070.00714.72
7.3.60.0030.00914.65
7.3.50.0160.00014.73
7.3.40.0080.00614.76
7.3.30.0000.01614.49
7.3.20.0100.00316.55
7.3.10.0090.00616.54
7.3.00.0070.01016.59
7.2.330.0090.00916.74
7.2.320.0180.00616.69
7.2.310.0080.00816.45
7.2.300.0130.00416.55
7.2.290.0080.01216.65
7.2.250.0070.01115.22
7.2.240.0070.01414.69
7.2.230.0070.00315.09
7.2.220.0080.01115.21
7.2.210.0040.01114.82
7.2.200.0060.01014.74
7.2.190.0060.01214.77
7.2.180.0030.01214.74
7.2.170.0090.00615.04
7.2.80.0090.00916.62
7.2.60.0080.00816.93
7.1.330.0090.00315.67
7.1.320.0110.00415.64
7.1.310.0000.01715.83
7.1.300.0040.00815.63
7.1.290.0000.01515.57
7.1.280.0090.00915.45
7.1.270.0130.00315.93
7.1.260.0030.01015.78
7.1.200.0000.01515.80
7.1.90.0070.00618.11
7.1.80.0100.00317.88
7.1.70.0030.00917.16
7.1.60.0160.00935.17
7.1.50.0190.01534.67
7.1.40.0210.01734.37
7.1.30.0190.01634.26
7.1.20.0170.01034.67
7.1.10.0060.00916.70
7.1.00.0090.00616.51
7.0.230.0070.00717.41
7.0.220.0050.00917.79
7.0.210.0060.00616.60
7.0.200.0050.01116.63
7.0.190.0090.00916.72
7.0.180.0030.01116.24
7.0.170.0060.01116.24
7.0.160.0040.00916.09
7.0.150.0040.01216.17
7.0.140.0080.00516.30
7.0.130.0060.00916.44
7.0.120.0070.01016.34
7.0.110.0060.00616.34
7.0.100.0060.01216.15
7.0.90.0030.01216.40
7.0.80.0070.00716.48
7.0.70.0000.01316.27
7.0.60.0000.01316.03
7.0.50.0070.00716.36
7.0.40.0000.01716.55
7.0.30.0090.00916.63
7.0.20.0070.01016.40
7.0.10.0120.00416.39
7.0.00.0100.00716.43

preferences:
57.65 ms | 400 KiB | 5 Q