3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ '10a99b5c', '55', '2a3b1', 'g', ]; var_export( array_map( fn($string) => preg_split('/\d+\K/', $string, 0, PREG_SPLIT_NO_EMPTY), $strings ) );

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.00616.79
8.5.00.0130.00819.93
8.4.160.0170.00923.73
8.4.150.0020.00014.05
8.4.140.0180.01317.77
8.4.130.0050.00818.02
8.4.120.0120.00920.58
8.4.110.0110.00418.86
8.4.100.0040.00517.94
8.4.90.0110.01019.55
8.4.80.0050.00619.71
8.4.70.0060.00317.95
8.4.60.0150.00519.84
8.4.50.0140.00818.53
8.4.40.0150.00617.73
8.4.30.0090.00922.57
8.4.20.0170.00317.61
8.4.10.0060.00319.55
8.3.280.0130.00718.48
8.3.270.0070.01316.57
8.3.260.0050.00316.69
8.3.250.0130.00520.72
8.3.240.0110.00917.00
8.3.230.0100.01016.69
8.3.220.0110.00816.64
8.3.210.0120.00716.60
8.3.200.0120.00816.72
8.3.190.0080.01116.73
8.3.180.0100.00916.89
8.3.170.0030.01118.81
8.3.160.0090.00916.59
8.3.150.0090.00918.67
8.3.140.0080.00017.20
8.3.130.0000.00818.73
8.3.120.0100.00018.96
8.3.110.0060.00320.94
8.3.100.0060.01318.68
8.3.90.0040.00426.77
8.3.80.0000.00917.97
8.3.70.0150.00016.60
8.3.60.0090.01216.72
8.3.50.0140.00718.84
8.3.40.0070.00720.03
8.3.30.0040.01121.90
8.3.20.0000.00724.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.290.0130.00720.15
8.2.280.0130.00718.57
8.2.270.0000.01917.09
8.2.260.0000.00817.08
8.2.250.0000.00916.72
8.2.240.0060.00318.85
8.2.230.0070.00022.58
8.2.220.0000.00824.06
8.2.210.0080.00026.77
8.2.200.0090.00016.88
8.2.190.0160.00616.75
8.2.180.0210.00018.41
8.2.170.0100.01018.93
8.2.160.0050.00822.96
8.2.150.0000.00825.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0050.00320.81
8.2.110.0120.00922.03
8.2.100.0150.00620.95
8.2.90.0140.00320.96
8.2.80.0200.00320.70
8.2.70.0140.00420.79
8.2.60.0140.01020.74
8.2.50.0070.01118.85
8.2.40.0100.01018.90
8.2.30.0210.00318.96
8.2.20.0070.01018.81
8.2.10.0040.00719.20
8.2.00.0110.00719.16
8.1.330.0150.00518.65
8.1.320.0110.00717.96
8.1.310.0080.00018.38
8.1.300.0040.01219.89
8.1.290.0030.00630.84
8.1.280.0080.00825.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00618.74
8.1.230.0140.00318.74
8.1.220.0170.00318.73
8.1.210.0100.00720.08
8.1.200.0060.00318.76
8.1.190.0100.00718.55
8.1.180.0030.00618.63
8.1.170.0140.00318.52
8.1.160.0140.00318.59
8.1.150.0030.01420.48
8.1.140.0060.00318.69
8.1.130.0030.00618.65
8.1.120.0100.00718.55
8.1.110.0100.00718.86
8.1.100.0000.01018.62
8.1.90.0050.00518.69
8.1.80.0000.00918.60
8.1.70.0060.00318.80
8.1.60.0080.00418.68
8.1.50.0100.00720.54
8.1.40.0100.00718.76
8.1.30.0110.00419.06
8.1.20.0050.00518.85
8.1.10.0070.01018.63
8.1.00.0060.00318.62
8.0.300.0000.00917.95
8.0.290.0040.00417.94
8.0.280.0000.00917.95
8.0.270.0060.00317.99
8.0.260.0060.00318.00
8.0.250.0060.00317.96
8.0.240.0090.00018.02
8.0.230.0090.00018.23
8.0.220.0030.00717.96
8.0.210.0030.00617.90
8.0.200.0090.00018.14
8.0.190.0040.00418.00
8.0.180.0040.00418.00
8.0.170.0060.00318.14
8.0.160.0060.00617.96
8.0.150.0090.00018.12
8.0.140.0090.00017.96
8.0.130.0030.00618.02
8.0.120.0030.00618.08
8.0.110.0030.00618.11
8.0.100.0060.00318.19
8.0.90.0000.00818.09
8.0.80.0080.00018.00
8.0.70.0080.00018.01
8.0.60.0090.00018.00
8.0.50.0080.00018.00
8.0.30.0080.00017.99
8.0.20.0040.00418.18
8.0.10.0030.00618.13

preferences:
80.48 ms | 403 KiB | 5 Q