3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'grjqgbqgrqg0 38975893240- http://www.gg.pl/afa31f312u34b151j5b1598139189 245673256786746545678987654'; $adNr = preg_replace('#http://www.gg.pl/[^\s]+#', 'cutted', $msg); echo $adNr;

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.60.0170.00318.68
8.3.50.0040.01116.66
8.3.40.0090.00918.84
8.3.30.0140.00318.84
8.3.20.0000.00720.29
8.3.10.0070.00022.04
8.3.00.0040.00421.01
8.2.180.0040.01818.29
8.2.170.0130.00919.08
8.2.160.0160.00322.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0070.00019.27
8.2.120.0080.00026.35
8.2.110.0000.00922.09
8.2.100.0040.00817.84
8.2.90.0000.00819.23
8.2.80.0040.00418.03
8.2.70.0090.00017.63
8.2.60.0040.00418.03
8.2.50.0030.00618.22
8.2.40.0030.00520.42
8.2.30.0000.00919.15
8.2.20.0050.00218.09
8.2.10.0040.00418.20
8.2.00.0040.00418.14
8.1.280.0110.00425.92
8.1.270.0000.00822.19
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00822.02
8.1.230.0100.00019.07
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00717.35
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.70
8.1.160.0000.00718.77
8.1.150.0050.00221.99
8.1.140.0040.00419.45
8.1.130.0030.00320.55
8.1.120.0030.00517.45
8.1.110.0000.00717.56
8.1.100.0040.00417.57
8.1.90.0040.00417.39
8.1.80.0040.00417.51
8.1.70.0030.00317.54
8.1.60.0080.00017.73
8.1.50.0000.00817.61
8.1.40.0030.00617.52
8.1.30.0050.00217.70
8.1.20.0040.00417.73
8.1.10.0040.00417.73
8.1.00.0000.00717.60
8.0.300.0030.00618.77
8.0.290.0060.00316.62
8.0.280.0070.00018.38
8.0.270.0040.00417.27
8.0.260.0040.00418.96
8.0.250.0070.00017.13
8.0.240.0080.00017.14
8.0.230.0000.00817.01
8.0.220.0000.00716.93
8.0.210.0070.00017.00
8.0.200.0000.00616.93
8.0.190.0040.00417.04
8.0.180.0050.00316.98
8.0.170.0070.00016.91
8.0.160.0040.00416.87
8.0.150.0070.00016.82
8.0.140.0070.00016.79
8.0.130.0060.00313.37
8.0.120.0000.00816.93
8.0.110.0040.00416.84
8.0.100.0070.00016.91
8.0.90.0030.00516.86
8.0.80.0120.00316.97
8.0.70.0040.00416.86
8.0.60.0070.00016.92
8.0.50.0040.00416.92
8.0.30.0120.00517.04
8.0.20.0110.00817.40
8.0.10.0070.00017.06
8.0.00.0130.00716.75
7.4.330.0000.00515.55
7.4.320.0030.00616.54
7.4.300.0030.00316.63
7.4.290.0040.00416.76
7.4.280.0030.00516.71
7.4.270.0030.00316.67
7.4.260.0060.00316.59
7.4.250.0050.00316.73
7.4.240.0040.00416.72
7.4.230.0000.00816.79
7.4.220.0030.01716.67
7.4.210.0060.01016.64
7.4.200.0030.00316.49
7.4.160.0090.00716.68
7.4.150.0110.00817.40
7.4.140.0140.00617.86
7.4.130.0090.01316.56
7.4.120.0110.00916.62
7.4.110.0060.00916.72
7.4.100.0110.00716.73
7.4.90.0120.00616.66
7.4.80.0140.00319.39
7.4.70.0070.01016.61
7.4.60.0120.00316.40
7.4.50.0120.00216.41
7.4.40.0040.01216.61
7.4.30.0040.01216.47
7.4.00.0040.01415.19
7.3.330.0000.00513.22
7.3.320.0000.00513.25
7.3.310.0000.00616.34
7.3.300.0040.00416.30
7.3.290.0110.00516.30
7.3.280.0090.00616.34
7.3.270.0090.00817.40
7.3.260.0060.01116.37
7.3.250.0070.01116.46
7.3.240.0120.00616.58
7.3.230.0040.01216.63
7.3.210.0070.01016.28
7.3.200.0100.00616.35
7.3.190.0100.00716.64
7.3.180.0070.00916.61
7.3.170.0030.01316.29
7.3.160.0160.00616.82
7.3.10.0000.00916.86
7.3.00.0040.00416.44
7.2.330.0090.00916.69
7.2.320.0090.00916.73
7.2.310.0060.01016.70
7.2.300.0030.01416.66
7.2.290.0070.01016.75
7.2.130.0070.00716.84
7.2.120.0030.00916.95
7.2.110.0120.00516.85
7.2.100.0070.01016.89
7.2.90.0030.01017.01
7.2.80.0000.00917.00
7.2.70.0000.01117.20
7.2.60.0060.00816.99
7.2.50.0000.01317.05
7.2.40.0030.00616.93
7.2.30.0060.00817.04
7.2.20.0140.00017.15
7.2.10.0080.00316.78
7.2.00.0040.00716.95
7.1.250.0080.00315.85
7.1.200.0040.00815.67
7.1.80.3900.01116.42
7.1.70.3470.01615.63
7.1.60.3930.01533.28
7.1.50.3420.01333.29
7.1.40.3270.02532.91
7.1.30.4100.01333.09
7.1.20.3620.01233.20
7.1.10.3480.01514.88
7.1.00.3380.01115.14
7.0.200.3610.01014.99
7.0.190.3630.00615.21
7.0.180.3340.01314.29
7.0.170.3990.01214.36
7.0.160.3740.01014.80
7.0.150.3200.01014.36
7.0.140.3900.01214.70
7.0.130.3050.00314.86
7.0.120.2700.00614.94
7.0.110.2750.01114.60
7.0.100.2370.01014.70
7.0.90.2600.01014.61
7.0.80.2410.00714.92
7.0.70.2400.01014.48
7.0.60.2800.00714.63
7.0.50.2370.01314.80
7.0.40.2450.00914.75
7.0.30.2790.01014.63
7.0.20.2280.01214.49
7.0.10.2280.00714.99
7.0.00.2230.01315.02

preferences:
45.74 ms | 401 KiB | 5 Q