3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Mystreetway 123, 1.th"; var_export ( preg_split('/\D+\K /', $string, 2) );

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.130.0160.00316.58
8.3.120.0060.00320.60
8.3.110.0100.00016.50
8.3.100.0060.00318.48
8.3.90.0040.00426.77
8.3.80.0040.00416.63
8.3.70.0100.01016.75
8.3.60.0110.00716.50
8.3.50.0120.00320.14
8.3.40.0070.01021.99
8.3.30.0060.00918.85
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0030.00626.16
8.2.250.0070.00316.84
8.2.240.0080.00018.44
8.2.230.0000.01020.94
8.2.220.0040.00424.06
8.2.210.0050.00326.77
8.2.200.0190.00316.88
8.2.190.0050.01116.75
8.2.180.0070.01425.92
8.2.170.0110.00422.96
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00326.16
8.2.110.0090.00019.10
8.2.100.0040.00817.91
8.2.90.0080.00017.75
8.2.80.0080.00018.77
8.2.70.0040.00417.50
8.2.60.0030.00517.63
8.2.50.0050.00317.75
8.2.40.0000.00718.09
8.2.30.0070.00018.02
8.2.20.0000.00720.37
8.2.10.0070.00018.12
8.2.00.0090.00019.07
8.1.300.0190.00016.15
8.1.290.0050.00530.84
8.1.280.0070.01125.92
8.1.270.0080.00024.01
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00621.99
8.1.230.0080.00420.91
8.1.220.0080.00018.55
8.1.210.0040.00418.77
8.1.200.0040.00417.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0000.00818.93
8.1.150.0000.00818.54
8.1.140.0070.00017.40
8.1.130.0000.00718.89
8.1.120.0070.00017.45
8.1.110.0050.00317.59
8.1.100.0000.00717.55
8.1.90.0050.00217.55
8.1.80.0110.00417.50
8.1.70.0170.00017.41
8.1.60.0080.00817.71
8.1.50.0120.00617.50
8.1.40.0140.00517.60
8.1.30.0100.01017.69
8.1.20.0100.01017.62
8.1.10.0110.00717.60
8.1.00.0160.00317.54
8.0.300.0040.00419.86
8.0.290.0000.00716.88
8.0.280.0040.00418.39
8.0.270.0070.00016.90
8.0.260.0030.00318.39
8.0.250.0070.00016.96
8.0.240.0000.00717.03
8.0.230.0070.00016.90
8.0.220.0030.00316.86
8.0.210.0110.00416.94
8.0.200.0110.00417.03
8.0.190.0150.00016.98
8.0.180.0080.00816.98
8.0.170.0090.00617.04
8.0.160.0120.00316.86
8.0.150.0110.00316.90
8.0.140.0110.00416.91
8.0.130.0000.01416.76
8.0.120.0070.00716.95
8.0.110.0130.00016.94
8.0.100.0110.00316.95
8.0.90.0040.01116.82
8.0.80.0110.00516.97
8.0.70.0110.00516.90
8.0.60.0090.00516.73
8.0.50.0080.00816.98
8.0.30.0070.01116.82
8.0.20.0150.00017.05
8.0.10.0170.00016.89
7.4.330.0000.00515.55
7.4.320.0000.00616.63
7.4.300.0180.00016.66
7.4.290.0070.01016.55
7.4.280.0120.00316.59
7.4.270.0090.00316.64
7.4.260.0150.00016.58
7.4.250.0140.00316.63
7.4.240.0130.00316.62
7.4.230.0130.00316.61
7.4.220.0090.00516.63
7.4.210.0090.00616.75
7.4.200.0150.00016.59
7.4.190.0100.00316.79
7.4.180.0110.00016.79
7.4.160.0100.00316.71
7.4.150.0120.00316.62
7.4.140.0120.00316.52
7.4.130.0100.00316.61
7.4.120.0150.00016.61
7.4.110.0140.00016.60
7.4.100.0100.00516.62
7.4.90.0100.00516.61
7.4.80.0110.00316.59
7.4.70.0110.00416.62
7.4.60.0110.00416.60
7.4.50.0150.00016.49
7.4.40.0110.00016.34
7.4.30.0000.01316.66
7.4.20.0000.01116.49
7.4.10.0130.00016.64
7.4.00.0130.00016.59

preferences:
27.54 ms | 403 KiB | 5 Q