3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tests = [ '234534_45_92374', '3433_9458_034857', 'zx_8458_047346daf', ]; foreach ($tests as $test) { preg_match('/_\K\d+/', $test, $match); var_export($match[0]); echo "\t"; sscanf($test, '%*[^_]_%d', $integer); var_export($integer); echo "\n"; }

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.30.0100.00820.25
8.5.20.0120.00618.46
8.5.10.0130.00916.92
8.5.00.0120.01020.12
8.4.180.0110.01125.76
8.4.170.0120.00823.67
8.4.160.0060.00523.85
8.4.150.0080.00416.93
8.4.140.0140.00718.05
8.4.130.0130.00718.52
8.4.120.0080.00924.40
8.4.110.0050.00418.69
8.4.100.0040.00518.98
8.4.90.0030.00520.81
8.4.80.0120.00918.92
8.4.70.0080.01218.95
8.4.60.0110.00818.86
8.4.50.0130.00722.44
8.4.40.0080.01117.86
8.4.30.0080.00018.77
8.4.20.0070.01420.01
8.4.10.0040.00419.68
8.3.300.0120.00920.61
8.3.290.0130.00920.86
8.3.280.0120.00818.39
8.3.270.0120.00716.71
8.3.260.0120.00716.56
8.3.250.0150.00418.75
8.3.240.0080.00817.16
8.3.230.0120.00316.70
8.3.220.0080.01118.82
8.3.210.0140.00816.87
8.3.200.0050.00416.67
8.3.190.0040.01217.12
8.3.180.0110.01018.45
8.3.170.0130.00617.00
8.3.160.0090.00918.61
8.3.150.0000.00816.62
8.3.140.0080.00017.06
8.3.130.0040.01116.63
8.3.120.0100.00718.79
8.3.110.0080.00020.94
8.3.100.0100.00624.06
8.3.90.0040.00426.77
8.3.80.0070.00317.97
8.3.70.0110.00716.75
8.3.60.0110.00718.55
8.3.50.0060.01118.62
8.3.40.0080.00822.05
8.3.30.0070.01019.14
8.3.20.0030.00524.18
8.3.10.0060.00324.66
8.3.00.0080.00026.16
8.2.300.0130.00818.15
8.2.290.0120.00820.37
8.2.280.0090.00918.64
8.2.270.0130.00617.27
8.2.260.0120.00620.66
8.2.250.0060.00622.59
8.2.240.0040.00417.30
8.2.230.0060.00322.58
8.2.220.0050.00337.54
8.2.210.0030.00526.77
8.2.200.0090.00016.63
8.2.190.0110.00416.88
8.2.180.0110.00416.63
8.2.170.0130.00719.08
8.2.160.0030.01022.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00021.23
8.2.110.0000.00919.33
8.2.100.0350.00318.44
8.2.90.0210.01018.44
8.2.80.0260.00618.44
8.2.70.0190.01018.44
8.2.60.0250.00318.44
8.2.50.0190.01218.44
8.2.40.0180.01118.44
8.2.30.0290.00018.44
8.2.20.0300.00518.44
8.2.10.0210.00718.44
8.2.00.0220.00418.44
8.1.340.0120.00721.68
8.1.330.0120.00821.95
8.1.320.0110.00916.28
8.1.310.0070.01018.68
8.1.300.0090.00618.25
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0080.00021.93
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00319.39
8.1.230.0210.00518.44
8.1.220.0220.00318.44
8.1.210.0250.00618.44
8.1.200.0230.00318.44
8.1.190.0220.00518.44
8.1.180.0200.01018.44
8.1.170.0230.00318.44
8.1.160.0240.00318.44
8.1.150.0270.00018.44
8.1.140.0190.00818.44
8.1.130.0230.00318.44
8.1.120.0240.00318.44
8.1.110.0260.00018.44
8.1.100.0220.00418.44
8.1.90.0280.00318.44
8.1.80.0190.00918.44
8.1.70.0210.00618.44
8.1.60.0170.01018.44
8.1.50.0190.00618.44
8.1.40.0170.01118.44
8.1.30.0180.01018.44
8.1.20.0220.00418.44
8.1.10.0230.00818.44
8.1.00.0250.00018.44
8.0.300.0290.00018.44
8.0.290.0240.00318.44
8.0.280.0250.00318.44
8.0.270.0250.00418.44
8.0.260.0180.01018.44
8.0.250.0240.00318.44
8.0.240.0210.00718.44
8.0.230.0260.00318.44
8.0.220.0200.00718.44
8.0.210.0230.00418.44
8.0.200.0240.00318.44
8.0.190.0240.00418.44
8.0.180.0240.00318.44
8.0.170.0210.00518.44
8.0.160.0230.00618.44
8.0.150.0200.00718.44
8.0.140.0180.01118.44
8.0.130.0280.00018.44
8.0.120.0260.00018.44
8.0.110.0240.00318.44
8.0.100.0160.01218.44
8.0.90.0230.00518.44
8.0.80.0300.00018.44
8.0.70.0230.00518.44
8.0.60.0230.00218.44
8.0.50.0250.00018.44
8.0.30.0200.00718.44
8.0.20.0190.00618.44
8.0.10.0190.00618.44

preferences:
58.76 ms | 1102 KiB | 5 Q