3v4l.org

run code in 300+ PHP versions simultaneously
<?php $features = array( 'winter' => 'Beautiful arrangements for any occasion.', 'autumn' => "Summer's over, but our flowers are still a riot of colors.", 'spring' => 'It must be spring! Delicate daffodils are here.', 'summer' => "It's summer, and we're in the pink.", ); print_r(array_filter($features, function ($key) { return $key != 'autumn'; }, ARRAY_FILTER_USE_KEY));

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.5.10.0130.00719.54
8.5.00.0120.01320.00
8.4.150.0030.00014.05
8.4.140.0130.00817.22
8.4.130.0120.00817.61
8.4.120.0050.00520.33
8.4.110.0120.00922.39
8.4.100.0110.01017.62
8.4.90.0080.00218.73
8.4.80.0050.00417.82
8.4.70.0130.00717.86
8.4.60.0110.00918.55
8.4.50.0120.00819.36
8.4.40.0130.01017.74
8.4.30.0170.00319.63
8.4.20.0070.01417.57
8.4.10.0090.00017.65
8.3.280.0080.01018.39
8.3.270.0110.00816.36
8.3.260.0120.00716.63
8.3.250.0040.00419.02
8.3.240.0110.00816.42
8.3.230.0050.00316.70
8.3.220.0100.00916.97
8.3.210.0060.00516.54
8.3.200.0050.00416.49
8.3.190.0100.00916.51
8.3.180.0110.00816.31
8.3.170.0000.00917.30
8.3.160.0120.00618.44
8.3.150.0120.00618.85
8.3.140.0190.00016.68
8.3.130.0090.00916.73
8.3.120.0060.00319.01
8.3.110.0050.00320.94
8.3.100.0040.00416.65
8.3.90.0040.00416.79
8.3.80.0120.00018.30
8.3.70.0120.00616.38
8.3.60.0180.00316.38
8.3.50.0120.00521.98
8.3.40.0120.00318.59
8.3.30.0050.00918.36
8.3.20.0040.00420.24
8.3.10.0040.00421.86
8.3.00.0040.00421.91
8.2.290.0140.00520.48
8.2.280.0120.00718.43
8.2.270.0060.01317.23
8.2.260.0140.00416.44
8.2.250.0080.01216.75
8.2.240.0090.00017.17
8.2.230.0030.00622.58
8.2.220.0080.00824.06
8.2.210.0070.01126.77
8.2.200.0040.00716.38
8.2.190.0100.01016.88
8.2.180.0150.00618.17
8.2.170.0100.00722.96
8.2.160.0090.00619.05
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00019.66
8.2.110.0100.00021.13
8.2.100.0040.00717.62
8.2.90.0030.00518.91
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0050.00318.05
8.2.20.0050.00517.99
8.2.10.0030.00518.23
8.2.00.0050.00218.24
8.1.330.0080.01023.87
8.1.320.0070.01316.11
8.1.310.0090.00916.54
8.1.300.0060.00316.32
8.1.290.0090.00018.88
8.1.280.0180.00025.92
8.1.270.0100.01023.86
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.01217.36
8.1.230.0040.00718.87
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.38
8.1.190.0040.00417.13
8.1.180.0080.00018.10
8.1.170.0040.00418.82
8.1.160.0000.00718.87
8.1.150.0000.00721.98
8.1.140.0030.00519.58
8.1.130.0070.00019.07
8.1.120.0050.00617.51
8.1.110.0040.00417.45
8.1.100.0040.00417.47
8.1.90.0020.00517.46
8.1.80.0050.00217.35
8.1.70.0040.00417.49
8.1.60.0050.00217.60
8.1.50.0040.00417.54
8.1.40.0030.00617.50
8.1.30.0050.00217.67
8.1.20.0000.00717.72
8.1.10.0080.00017.50
8.1.00.0000.00717.37
8.0.300.0080.00018.77
8.0.290.0080.00016.58
8.0.280.0040.00418.47
8.0.270.0030.00317.21
8.0.260.0000.00617.07
8.0.250.0030.00316.77
8.0.240.0000.00716.96
8.0.230.0030.00316.88
8.0.220.0000.00916.87
8.0.210.0060.00316.82
8.0.200.0040.00416.97
8.0.190.0030.00616.87
8.0.180.0040.00416.83
8.0.170.0050.00316.91
8.0.160.0070.00016.96
8.0.150.0020.00516.73
8.0.140.0000.00716.84
8.0.130.0000.00513.31
8.0.120.0020.00516.85
8.0.110.0000.00716.93
8.0.100.0000.00816.78
8.0.90.0040.00416.75
8.0.80.0100.00716.81
8.0.70.0050.00216.68
8.0.60.0070.00017.01
8.0.50.0000.00716.85
8.0.30.0120.00816.83
8.0.20.0100.00817.40
8.0.10.0040.00417.01
8.0.00.0140.00416.76
7.4.330.0000.00515.55
7.4.320.0000.00616.58
7.4.300.0030.00316.59
7.4.290.0000.00716.49
7.4.280.0070.00316.64
7.4.270.0000.00716.52
7.4.260.0030.00316.58
7.4.250.0000.00716.48
7.4.240.0060.00316.43
7.4.230.0040.00416.58
7.4.220.0030.01316.61
7.4.210.0110.00816.58
7.4.200.0070.00016.39
7.4.160.0090.00816.45
7.4.150.0100.00717.40
7.4.140.0070.01117.86
7.4.130.0080.01116.50
7.4.120.0140.00816.53
7.4.110.0120.00816.41
7.4.100.0080.01116.31
7.4.90.0140.00316.50
7.4.80.0030.01419.39
7.4.70.0100.01016.30
7.4.60.0060.01016.38
7.4.50.0030.01016.35
7.4.40.0140.00316.43
7.4.30.0030.01316.58
7.4.00.0060.01014.82
7.3.330.0020.00213.07
7.3.320.0030.00313.33
7.3.310.0030.00316.16
7.3.300.0060.00016.35
7.3.290.0000.00716.17
7.3.280.0100.01016.28
7.3.270.0140.00617.40
7.3.260.0120.01116.36
7.3.250.0100.00716.30
7.3.240.0110.00916.58
7.3.230.0070.01016.36
7.3.210.0060.01216.54
7.3.200.0030.01516.28
7.3.190.0110.00716.32
7.3.180.0050.01116.62
7.3.170.0150.00016.31
7.3.160.0130.00316.53
7.3.120.0050.01314.87
7.3.110.0050.01314.90
7.3.100.0030.00914.84
7.3.90.0050.01014.87
7.3.80.0060.00414.66
7.3.70.0040.00614.81
7.3.60.0040.00814.67
7.3.50.0030.00614.76
7.3.40.0050.00514.79
7.3.30.0050.00914.88
7.3.20.0050.00716.72
7.3.10.0110.00416.47
7.3.00.0060.00616.57
7.2.330.0100.01116.70
7.2.320.0120.00416.66
7.2.310.0090.00616.71
7.2.300.0030.01616.20
7.2.290.0050.01316.44
7.2.250.0050.01315.05
7.2.240.0090.00915.03
7.2.230.0030.00915.02
7.2.220.0060.01015.06
7.2.210.0080.00314.94
7.2.200.0060.00615.00
7.2.190.0080.00714.67
7.2.180.0050.00614.82
7.2.170.0050.01114.92
7.2.60.0070.00716.89
7.1.330.0060.00715.54
7.1.320.0040.00615.95
7.1.310.0030.00815.78
7.1.300.0070.00715.87
7.1.290.0030.00815.53
7.1.280.0080.00515.70
7.1.270.0070.00815.71
7.1.260.0080.00515.80
7.1.200.0040.00715.85
7.1.70.0060.00617.56
7.1.60.0060.00917.56
7.1.50.0050.00917.56
7.1.40.0030.00917.56
7.1.30.0070.01017.56
7.1.20.0000.01517.56
7.1.10.0040.00717.56
7.1.00.0050.00717.56
7.0.200.0060.00617.56
7.0.190.0030.00617.56
7.0.180.0040.00617.56
7.0.170.0000.01217.56
7.0.160.0050.00517.56
7.0.150.0090.00017.56
7.0.140.0040.01217.56
7.0.130.0040.00717.56
7.0.120.0050.01417.56
7.0.110.0040.00817.56
7.0.100.0070.00417.56
7.0.90.0120.00317.56
7.0.80.0100.00317.56
7.0.70.0080.00817.56
7.0.60.0080.00817.56
7.0.50.0060.00617.56
7.0.40.0040.00717.56
7.0.30.0040.00817.56
7.0.20.0070.00517.56
7.0.10.0060.00917.56
7.0.00.0030.00917.56

preferences:
223.53 ms | 403 KiB | 5 Q