3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "tel: 012 213 123. mobil: 0303 11234 \n address: street 14"; echo preg_replace( '/tel\D*(\d+(?: \d+)*).*/is', '$1', $text );

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.00721.45
8.5.20.0110.00920.09
8.5.10.0120.00516.49
8.5.00.0150.00820.06
8.4.180.0130.01219.79
8.4.170.0170.00620.52
8.4.160.0130.00723.88
8.4.150.0050.00416.93
8.4.140.0110.01017.67
8.4.130.0070.00718.93
8.4.120.0120.00724.10
8.4.110.0120.01020.23
8.4.100.0100.01018.84
8.4.90.0120.00820.66
8.4.80.0140.00618.68
8.4.70.0110.01018.99
8.4.60.0100.01018.73
8.4.50.0110.01020.67
8.4.40.0060.00319.65
8.4.30.0170.00318.78
8.4.20.0060.01319.73
8.4.10.0130.00619.45
8.3.300.0120.00820.93
8.3.290.0130.00620.88
8.3.280.0180.01018.70
8.3.270.0130.00716.93
8.3.260.0120.00716.80
8.3.250.0110.00918.78
8.3.240.0100.00916.93
8.3.230.0080.01116.67
8.3.220.0080.00918.75
8.3.210.0090.00916.53
8.3.200.0050.00416.41
8.3.190.0090.01017.03
8.3.180.0060.01018.93
8.3.170.0050.00516.53
8.3.160.0130.00616.72
8.3.150.0090.00916.91
8.3.140.0030.00518.89
8.3.130.0050.00318.67
8.3.120.0060.01018.63
8.3.110.0040.00420.94
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0080.01226.77
8.3.70.0120.00826.77
8.3.60.0100.01326.77
8.3.50.0140.00726.77
8.3.40.0110.00626.77
8.3.30.0110.00726.77
8.3.20.0080.01226.77
8.3.10.0180.00026.77
8.3.00.0060.01126.77
8.2.300.0120.00822.18
8.2.290.0140.00420.49
8.2.280.0120.00818.67
8.2.270.0100.01017.02
8.2.260.0040.01118.57
8.2.250.0040.00418.90
8.2.240.0090.00017.06
8.2.230.0040.00422.58
8.2.220.0050.00337.54
8.2.210.0140.00426.77
8.2.200.0120.00626.77
8.2.190.0120.00626.77
8.2.180.0120.00626.77
8.2.170.0210.00026.77
8.2.160.0200.00026.77
8.2.150.0190.00526.77
8.2.140.0120.00926.77
8.2.130.0180.00326.77
8.2.120.0130.00726.77
8.2.110.0160.00326.77
8.2.100.0180.00026.77
8.2.90.0190.00026.77
8.2.80.0110.00826.77
8.2.70.0190.00026.77
8.2.60.0210.00026.77
8.2.50.0100.01026.77
8.2.40.0180.00326.77
8.2.30.0160.00426.77
8.2.20.0170.00026.77
8.2.10.0120.00426.77
8.2.00.0200.00426.77
8.1.340.0080.01021.54
8.1.330.0080.01121.75
8.1.320.0060.00518.24
8.1.310.0060.00318.22
8.1.300.0100.01017.78
8.1.290.0160.00326.77
8.1.280.0250.00426.77
8.1.270.0210.00726.77
8.1.260.0170.00726.77
8.1.250.0150.00426.77
8.1.240.0070.01126.77
8.1.230.0140.00326.77
8.1.220.0120.00626.77
8.1.210.0090.00926.77
8.1.200.0170.00026.77
8.1.190.0130.00426.77
8.1.180.0130.00526.77
8.1.170.0100.00726.77
8.1.160.0140.00326.77
8.1.150.0120.00526.77
8.1.140.0140.00326.77
8.1.130.0120.00426.77
8.1.120.0150.00226.77
8.1.110.0100.00626.77
8.1.100.0120.00426.77
8.1.90.0100.00726.77
8.1.80.0120.00426.77
8.1.70.0140.00526.77
8.1.60.0210.00026.77
8.1.50.0120.00826.77
8.1.40.0130.00626.77
8.1.30.0210.00026.77
8.1.20.0180.00026.77
8.1.10.0200.00026.77
8.1.00.0100.01026.77

preferences:
59.55 ms | 978 KiB | 5 Q