3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "#22aantal283xuitvoeren"; preg_match_all("/\d+/", $s, $number); echo end($number[0]);

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.1.20.0000.00717.71
8.1.10.0000.00717.68
8.1.00.0050.00317.58
8.0.150.0030.00316.87
8.0.140.0040.00316.85
8.0.130.0030.00313.37
8.0.120.0050.00216.87
8.0.110.0000.00716.96
8.0.100.0040.00416.93
8.0.90.0040.00417.03
8.0.80.0070.01317.00
8.0.70.0000.00816.87
8.0.60.0000.00716.75
8.0.50.0000.00717.03
8.0.30.0090.01017.27
8.0.20.0120.00617.40
8.0.10.0000.00717.05
8.0.00.0110.00616.77
7.4.270.0000.00716.74
7.4.260.0050.00316.61
7.4.250.0070.00016.59
7.4.240.0070.00016.66
7.4.230.0000.00816.82
7.4.220.0000.00716.77
7.4.210.0070.01016.74
7.4.200.0000.00816.57
7.4.160.0080.00716.65
7.4.140.0110.00917.86
7.4.130.0090.00916.84
7.4.120.0100.00916.70
7.4.110.0140.00816.66
7.4.100.0090.00916.60
7.4.90.0030.01416.68
7.4.80.0130.01019.39
7.4.70.0160.00616.86
7.4.60.0060.01516.63
7.4.50.0050.00916.66
7.4.40.0080.00816.45
7.4.00.0130.00315.29
7.3.330.0050.00013.09
7.3.320.0000.00613.26
7.3.310.0070.00016.41
7.3.300.0000.00716.20
7.3.290.0030.00316.27
7.3.280.0060.00816.33
7.3.260.0080.01016.47
7.3.240.0070.01116.59
7.3.230.0140.00316.44
7.3.210.0120.00916.50
7.3.200.0060.01016.64
7.3.190.0100.00716.80
7.3.180.0140.00316.61
7.3.170.0100.01016.40
7.3.160.0030.01616.73
7.2.330.0160.00316.68
7.2.320.0180.00416.67
7.2.310.0120.01216.81
7.2.300.0060.01116.73
7.2.290.0130.00916.63
7.2.60.0070.00716.71
7.2.50.0130.00016.70
7.2.40.0030.01017.04
7.2.30.0110.00417.16
7.2.20.0100.00317.16
7.2.10.0030.01117.00
7.2.00.0000.01416.81
7.1.200.0080.00415.84
7.1.170.0090.00315.87
7.1.160.0060.00615.85
7.1.150.0060.00615.83
7.1.140.0060.00615.61
7.1.130.0100.00315.93
7.1.120.0030.00915.88
7.1.110.0070.00716.06
7.1.100.0070.00716.09
7.1.90.0060.00615.89
7.1.80.0060.00615.78
7.1.70.0030.00915.83
7.1.60.0200.01334.07
7.1.50.0170.01633.96
7.1.40.0290.00633.94
7.1.30.0230.01033.97
7.1.20.0250.00733.91
7.1.10.0100.00315.75
7.1.00.0000.01215.89

preferences:
16.01 ms | 455 KiB | 5 Q