3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_numerics ($str) { preg_match_all('/\d+/', $str, $matches); return $matches[0]; } $one = 'APP eco 51-100'; print_r(get_numerics($one));

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.0090.01220.08
8.3.50.0090.00618.25
8.3.40.0150.00318.73
8.3.30.0070.00718.67
8.3.20.0040.00423.48
8.3.10.0040.00423.53
8.3.00.0070.00021.70
8.2.180.0200.00018.34
8.2.170.0140.00722.96
8.2.160.0090.00619.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00718.21
8.2.120.0040.00426.35
8.2.110.0030.00720.95
8.2.100.0060.00618.04
8.2.90.0000.00817.88
8.2.80.0080.00017.97
8.2.70.0040.00417.93
8.2.60.0040.00418.22
8.2.50.0060.00318.10
8.2.40.0040.00419.38
8.2.30.0030.00519.14
8.2.20.0040.00418.09
8.2.10.0000.00720.51
8.2.00.0040.00419.47
8.1.280.0100.01025.92
8.1.270.0060.00318.88
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00021.25
8.1.230.0080.00417.83
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00618.73
8.1.160.0070.00018.73
8.1.150.0030.00618.77
8.1.140.0040.00423.95
8.1.130.0030.00320.09
8.1.120.0000.00717.57
8.1.110.0050.00217.47
8.1.100.0050.00217.58
8.1.90.0030.00617.56
8.1.80.0050.00317.59
8.1.70.0000.00717.55
8.1.60.0060.00317.77
8.1.50.0000.00717.66
8.1.40.0000.00817.76
8.1.30.0030.00617.82
8.1.20.0080.00017.82
8.1.10.0000.00817.59
8.1.00.0000.00817.71
8.0.300.0070.00018.77
8.0.290.0030.00616.75
8.0.280.0070.00018.40
8.0.270.0070.00017.12
8.0.260.0000.00618.32
8.0.250.0030.00316.89
8.0.240.0000.00717.08
8.0.230.0000.00717.04
8.0.220.0000.00717.03
8.0.210.0030.00316.82
8.0.200.0030.00317.05
8.0.190.0080.00016.90
8.0.180.0050.00316.98
8.0.170.0030.00616.89
8.0.160.0000.00716.86
8.0.150.0030.00316.84
8.0.140.0070.00016.90
8.0.130.0050.00013.42
8.0.120.0040.00416.98
8.0.110.0030.00616.94
8.0.100.0000.00717.02
8.0.90.0020.00516.86
8.0.80.0080.00716.98
8.0.70.0030.00716.96
8.0.60.0040.00416.84
8.0.50.0080.00016.98
8.0.30.0060.01217.21
8.0.20.0330.00917.40
8.0.10.0070.00016.89
8.0.00.0060.01216.92
7.4.330.0030.00315.55
7.4.320.0000.00616.51
7.4.300.0030.00316.70
7.4.290.0030.00316.64
7.4.280.0080.00016.80
7.4.270.0070.00016.83
7.4.260.0000.00716.79
7.4.250.0000.00716.77
7.4.240.0040.00416.82
7.4.230.0040.00416.65
7.4.220.0040.00416.63
7.4.210.0100.00516.72
7.4.200.0070.00016.84
7.4.160.0090.00816.61
7.4.140.0120.01217.86
7.4.130.0210.00016.56
7.4.120.0070.01116.71
7.4.110.0120.00916.62
7.4.100.0090.00916.70
7.4.90.0130.00316.50
7.4.80.0100.01019.39
7.4.70.0060.01116.38
7.4.60.0130.00316.70
7.4.50.0000.01416.58
7.4.40.0130.00316.83
7.4.00.0100.00615.29
7.3.330.0050.00013.31
7.3.320.0000.00513.41
7.3.310.0000.00716.49
7.3.300.0040.00416.43
7.3.290.0030.00316.41
7.3.280.0060.01216.38
7.3.260.0120.00816.59
7.3.240.0130.00716.60
7.3.230.0070.01016.45
7.3.210.0030.01416.59
7.3.200.0060.01016.73
7.3.190.0040.01516.87
7.3.180.0030.01316.34
7.3.170.0090.01316.45
7.3.160.0110.00416.45
7.3.00.0290.01014.59
7.2.330.0130.00416.44
7.2.320.0110.00616.61
7.2.310.0170.00016.73
7.2.300.0120.00416.81
7.2.290.0090.00916.66
7.2.130.0310.00714.84
7.2.120.0300.00314.94
7.2.110.0250.00714.78
7.2.100.0580.00815.04
7.2.90.0320.00314.89
7.2.80.0320.00314.86
7.2.70.0270.00315.16
7.2.60.0210.00415.26
7.2.50.0260.01014.85
7.2.40.0260.00815.20
7.2.30.0280.00615.08
7.2.20.0240.00714.92
7.2.10.0250.00315.05
7.2.00.0260.00614.96
7.1.250.0220.00613.93
7.0.330.0370.00913.77
5.6.380.0100.00314.11

preferences:
56.79 ms | 401 KiB | 5 Q