3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = range(111111111,999999999,1); $non_zero = array_filter($list, function($item) { if(strstr($item, '0')) return false; }); print_r();

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.0140.00316.50
8.3.50.0030.01217.89
8.3.40.0080.00618.49
8.3.30.0110.00318.64
8.3.20.0040.00420.04
8.3.10.0080.00021.69
8.3.00.0040.00419.38
8.2.180.0160.00318.29
8.2.170.0070.01422.96
8.2.160.0070.01020.39
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0100.00019.36
8.2.120.0060.00326.35
8.2.110.0040.00421.02
8.2.100.0110.00017.59
8.2.90.0030.00617.72
8.2.80.0000.00919.82
8.2.70.0040.00417.38
8.2.60.0040.00417.50
8.2.50.0060.00317.55
8.2.40.0090.00019.23
8.2.30.0050.00520.55
8.2.20.0040.00717.60
8.2.10.0040.00417.83
8.2.00.0050.00217.93
8.1.280.0090.00625.92
8.1.270.0000.01323.96
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00623.73
8.1.230.0110.00022.82
8.1.220.0040.00417.74
8.1.210.0040.00418.92
8.1.200.0040.00416.88
8.1.190.0080.00016.88
8.1.180.0000.01318.10
8.1.170.0000.00717.62
8.1.160.0030.00321.92
8.1.150.0080.00018.70
8.1.140.0030.00619.48
8.1.130.0070.00017.56
8.1.120.0000.00717.35
8.1.110.0080.00017.30
8.1.100.0000.00717.36
8.1.90.0040.00417.24
8.1.80.0070.00017.25
8.1.70.0080.00017.16
8.1.60.0030.00617.34
8.1.50.0040.00417.30
8.1.40.0070.00317.39
8.1.30.0030.00517.43
8.1.20.0050.00317.38
8.1.10.0050.00317.29
8.1.00.0000.01017.34
8.0.300.0060.00319.73
8.0.290.0070.00016.63
8.0.280.0000.00718.27
8.0.270.0000.00817.12
8.0.260.0060.00017.18
8.0.250.0030.00316.95
8.0.240.0040.00416.90
8.0.230.0070.00016.75
8.0.220.0000.00716.70
8.0.210.0070.00016.70
8.0.200.0000.00616.74
8.0.190.0050.00316.85
8.0.180.0040.00416.87
8.0.170.0080.00016.82
8.0.160.0080.00016.81
8.0.150.0000.00716.64
8.0.140.0050.00216.72
8.0.130.0030.00313.28
8.0.120.0030.00616.69
8.0.110.0080.00016.86
8.0.100.0050.00516.88
8.0.90.0000.00716.84
8.0.80.0080.01316.77
8.0.70.0080.00016.86
8.0.60.0000.00716.63
8.0.50.0080.00016.88
8.0.30.0110.00816.89
8.0.20.0090.00917.40
8.0.10.0040.00416.83
8.0.00.0080.00916.63
7.4.330.0000.00516.71
7.4.320.0000.00716.28
7.4.300.0030.00316.47
7.4.290.0040.00416.22
7.4.280.0060.00316.30
7.4.270.0030.00316.34
7.4.260.0000.00716.39
7.4.250.0050.00216.42
7.4.240.0020.00516.38
7.4.230.0030.00316.46
7.4.220.0150.01016.53
7.4.210.0000.01416.40
7.4.200.0000.00716.36
7.4.160.0130.00716.45
7.4.150.0120.00617.40
7.4.140.0100.00817.86
7.4.130.0110.00616.50
7.4.120.0120.00916.47
7.4.110.0090.00916.28
7.4.100.0070.01716.36
7.4.90.0180.00316.43
7.4.80.0100.01019.39
7.4.70.0100.00716.41
7.4.60.0100.00616.34
7.4.50.0100.00716.39
7.4.40.0090.00916.50
7.4.30.0170.00016.48
7.4.00.0030.01614.66
7.3.330.0040.00413.24
7.3.320.0060.00013.22
7.3.310.0000.00716.33
7.3.300.0070.00016.25
7.3.290.0030.01216.20
7.3.280.0070.01016.21
7.3.270.0130.00417.40
7.3.260.0100.00716.44
7.3.250.0120.00716.21
7.3.240.0120.00816.17
7.3.230.0060.00916.39
7.3.210.0030.01316.45
7.3.200.0040.01816.16
7.3.190.0030.01516.33
7.3.180.0090.00616.29
7.3.170.0130.00416.27
7.3.160.0080.01116.38
7.2.330.0130.00616.61
7.2.320.0130.01016.32
7.2.310.0080.00816.34
7.2.300.0130.01016.60
7.2.290.0040.01816.33
7.2.60.0000.01316.23
7.2.00.0100.00319.26
7.1.200.0000.01215.68
7.1.100.0000.01417.80
7.1.70.0030.00517.02
7.1.60.0100.01419.48
7.1.50.0120.00016.82
7.1.00.0030.07722.31
7.0.200.0040.00714.84
7.0.60.0230.08019.82
7.0.50.0130.07317.93
7.0.40.0070.05719.96
7.0.30.0300.08020.25
7.0.20.0200.08020.10
7.0.10.0100.08720.25
7.0.00.0100.08020.23
5.6.280.0200.08085.46
5.6.210.0230.12785.19
5.6.200.0330.12082.79
5.6.190.0170.08785.08
5.6.180.0470.08085.01
5.6.170.0430.06085.07
5.6.160.0170.11384.96
5.6.150.0230.12382.79
5.6.140.0400.12082.78
5.6.130.0270.10082.82
5.6.120.0130.07385.65
5.6.110.0230.07385.54
5.6.100.0270.09785.78
5.6.90.0530.10085.64
5.6.80.0430.10785.16
5.5.350.0470.12084.98
5.5.340.0330.08782.64
5.5.330.0400.10784.81
5.5.320.0070.10084.79
5.5.310.0330.08384.77
5.5.300.0400.12082.56
5.5.290.0230.13782.59
5.5.280.0200.12385.42
5.5.270.0470.11385.40
5.5.260.0200.08085.53
5.5.250.0130.08085.22
5.5.240.0400.11384.88

preferences:
55.71 ms | 400 KiB | 5 Q