3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'grjqgbqgrqg0 38975893240- http://www.gg.pl/afa31f312u34b151j5b1598139189 245673256786746545678987654'; $adNr = preg_replace_callback('#http://www.gg.pl/[^\s]+#', function($ma) {}, $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.0040.01818.52
8.3.50.0130.00716.66
8.3.40.0090.00918.79
8.3.30.0100.00718.84
8.3.20.0080.00020.24
8.3.10.0080.00021.97
8.3.00.0000.00820.72
8.2.180.0170.00316.50
8.2.170.0090.00622.96
8.2.160.0070.00719.29
8.2.150.0090.00924.18
8.2.140.0000.00824.66
8.2.130.0040.00419.21
8.2.120.0040.00426.35
8.2.110.0030.00622.27
8.2.100.0000.01117.91
8.2.90.0000.00919.08
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0040.00418.05
8.2.50.0000.00818.16
8.2.40.0040.00420.55
8.2.30.0040.00419.27
8.2.20.0080.00017.99
8.2.10.0040.00418.02
8.2.00.0040.00418.13
8.1.280.0140.00725.92
8.1.270.0040.00421.94
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00623.97
8.1.230.0100.00321.98
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0090.00017.38
8.1.190.0000.00817.48
8.1.180.0040.00418.10
8.1.170.0050.00318.68
8.1.160.0000.00718.84
8.1.150.0070.00022.06
8.1.140.0000.00719.59
8.1.130.0040.00420.70
8.1.120.0070.00017.52
8.1.110.0000.00717.63
8.1.100.0000.00817.64
8.1.90.0040.00417.52
8.1.80.0000.00717.66
8.1.70.0040.00417.67
8.1.60.0080.00017.77
8.1.50.0040.00417.64
8.1.40.0030.00717.66
8.1.30.0080.00017.77
8.1.20.0000.00817.72
8.1.10.0040.00417.59
8.1.00.0000.00817.61
8.0.300.0040.00418.77
8.0.290.0000.00916.88
8.0.280.0030.00318.37
8.0.270.0070.00017.27
8.0.260.0050.00218.94
8.0.250.0000.00717.11
8.0.240.0080.00017.08
8.0.230.0000.00717.09
8.0.220.0050.00316.89
8.0.210.0030.00316.95
8.0.200.0030.00317.09
8.0.190.0060.00317.11
8.0.180.0000.00917.09
8.0.170.0000.00717.07
8.0.160.0030.00616.90
8.0.150.0040.00417.07
8.0.140.0030.00316.90
8.0.130.0030.00313.42
8.0.120.0030.00617.01
8.0.110.0030.00516.96
8.0.100.0000.00716.90
8.0.90.0000.00816.89
8.0.80.0090.00616.92
8.0.70.0050.00317.01
8.0.60.0080.00017.13
8.0.50.0000.00716.91
8.0.30.0090.00917.21
8.0.20.0120.00917.40
8.0.10.0000.00717.16
8.0.00.0070.01016.96
7.4.330.0050.00015.55
7.4.320.0030.00616.68
7.4.300.0030.00316.69
7.4.290.0030.00316.56
7.4.280.0000.00716.65
7.4.270.0030.00516.76
7.4.260.0030.00316.67
7.4.250.0030.00616.59
7.4.240.0060.00316.82
7.4.230.0000.00716.60
7.4.220.0120.00616.78
7.4.210.0100.00916.71
7.4.200.0030.00316.59
7.4.160.0140.00216.70
7.4.150.0130.00717.40
7.4.140.0100.00817.86
7.4.130.0130.01316.64
7.4.120.0120.00816.62
7.4.110.0080.00816.69
7.4.100.0080.01516.42
7.4.90.0000.02316.48
7.4.80.0120.00919.39
7.4.70.0080.00916.80
7.4.60.0100.00716.58
7.4.50.0080.00216.51
7.4.40.0100.00716.61
7.4.30.0110.00716.84
7.4.00.0070.01014.86
7.3.330.0030.00213.44
7.3.320.0000.00613.48
7.3.310.0000.00716.47
7.3.300.0000.00716.48
7.3.290.0050.00916.44
7.3.280.0090.00716.43
7.3.270.0120.00617.40
7.3.260.0050.01316.57
7.3.250.0100.00816.53
7.3.240.0090.01016.57
7.3.230.0120.00616.70
7.3.210.0090.00616.45
7.3.200.0070.01016.56
7.3.190.0050.01116.88
7.3.180.0060.00916.55
7.3.170.0100.00716.59
7.3.160.0160.00616.88
7.3.120.0110.00715.03
7.3.110.0070.01014.91
7.3.100.0040.01114.95
7.3.90.0090.00614.88
7.3.80.0030.01015.13
7.3.70.0090.00314.95
7.3.60.0030.00914.81
7.3.50.0030.01215.05
7.3.40.0050.00514.91
7.3.30.0060.01014.70
7.3.20.0060.00616.71
7.3.10.0080.00716.70
7.3.00.0110.00316.90
7.2.330.0120.00616.65
7.2.320.0140.00316.89
7.2.310.0130.00317.01
7.2.300.0080.00816.79
7.2.290.0090.00916.81
7.2.250.0100.01015.07
7.2.240.0140.00415.28
7.2.230.0060.00615.22
7.2.220.0090.00615.26
7.2.210.0130.00315.15
7.2.200.0070.00715.28
7.2.190.0060.00615.24
7.2.180.0040.01415.23
7.2.170.0060.00914.99
7.2.130.0000.01516.82
7.2.120.0000.01016.91
7.2.110.0090.00617.03
7.2.100.0070.00716.92
7.2.90.0040.00817.14
7.2.80.0030.01617.05
7.2.70.0070.00416.93
7.2.60.0030.01017.00
7.2.50.0090.00616.98
7.2.40.0000.01317.25
7.2.30.0030.01417.04
7.2.20.0100.00317.11
7.2.10.0100.00316.92
7.2.00.0000.01016.75
7.1.330.0040.01116.02
7.1.320.0030.01016.03
7.1.310.0030.01316.05
7.1.300.0110.00015.81
7.1.290.0070.01015.77
7.1.280.0040.01215.82
7.1.270.0030.00615.95
7.1.260.0060.00615.84
7.1.250.0110.00415.98
7.1.200.0090.00316.04
7.1.80.2960.01016.35
7.1.70.2930.01015.49
7.1.60.2800.00733.29
7.1.50.3060.01633.20
7.1.40.2900.01432.99
7.1.30.3100.01333.02
7.1.20.2750.00733.05
7.1.10.3010.01614.95
7.1.00.3380.01014.99
7.0.200.3080.00715.01
7.0.190.3550.01014.84
7.0.180.3340.01014.66
7.0.170.2900.00714.54
7.0.160.3030.01314.57
7.0.150.2990.01014.58
7.0.140.3050.01414.69
7.0.130.2950.00214.80
7.0.120.3180.01315.08
7.0.110.2800.00614.70
7.0.100.2600.00914.73
7.0.90.2870.01314.93
7.0.80.3230.00914.68
7.0.70.3290.01014.82
7.0.60.2980.01314.34
7.0.50.3540.00614.82
7.0.40.3000.01014.64
7.0.30.3000.00715.08
7.0.20.3580.01314.84
7.0.10.3560.01114.69
7.0.00.3470.00614.82

preferences:
60.28 ms | 400 KiB | 5 Q