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) { print_r($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.0120.00318.58
8.3.50.0200.00016.25
8.3.40.0150.00018.95
8.3.30.0060.00918.93
8.3.20.0000.00820.26
8.3.10.0080.00022.13
8.3.00.0090.00020.77
8.2.180.0090.01216.63
8.2.170.0070.00722.96
8.2.160.0110.00419.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00519.34
8.2.120.0080.00026.35
8.2.110.0090.00022.08
8.2.100.0060.00617.84
8.2.90.0000.00819.04
8.2.80.0040.00417.97
8.2.70.0030.00517.75
8.2.60.0050.00317.80
8.2.50.0000.00818.16
8.2.40.0040.00420.30
8.2.30.0040.00419.21
8.2.20.0000.00718.00
8.2.10.0040.00418.05
8.2.00.0000.00818.19
8.1.280.0220.00025.92
8.1.270.0050.00322.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.77
8.1.230.0110.00022.17
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.47
8.1.190.0040.00417.38
8.1.180.0080.00018.10
8.1.170.0000.00918.68
8.1.160.0040.00418.91
8.1.150.0000.00722.11
8.1.140.0040.00419.60
8.1.130.0030.00320.70
8.1.120.0030.00317.64
8.1.110.0040.00417.60
8.1.100.0030.00517.63
8.1.90.0040.00417.64
8.1.80.0050.00317.57
8.1.70.0070.00017.59
8.1.60.0030.00517.67
8.1.50.0040.00417.59
8.1.40.0040.00717.62
8.1.30.0060.00317.80
8.1.20.0050.00317.81
8.1.10.0030.00517.61
8.1.00.0040.00417.63
8.0.300.0000.00718.77
8.0.290.0060.00316.88
8.0.280.0000.00718.46
8.0.270.0000.00717.22
8.0.260.0040.00418.91
8.0.250.0000.00617.12
8.0.240.0000.00717.11
8.0.230.0070.00016.93
8.0.220.0040.00416.95
8.0.210.0000.00717.02
8.0.200.0070.00017.13
8.0.190.0000.00816.98
8.0.180.0040.00417.11
8.0.170.0000.00716.91
8.0.160.0000.00816.92
8.0.150.0000.00716.94
8.0.140.0030.00316.92
8.0.130.0000.00813.41
8.0.120.0070.00016.89
8.0.110.0000.00817.02
8.0.100.0000.00817.03
8.0.90.0000.00716.93
8.0.80.0110.00317.04
8.0.70.0070.00017.01
8.0.60.0000.00716.98
8.0.50.0000.00716.88
8.0.30.0110.00517.14
8.0.20.0090.01017.41
8.0.10.0000.00716.99
8.0.00.0110.00716.97
7.4.330.0000.00415.55
7.4.320.0030.00616.62
7.4.300.0000.00616.66
7.4.290.0030.00316.79
7.4.280.0000.00816.69
7.4.270.0050.00316.85
7.4.260.0030.00416.70
7.4.250.0000.00716.74
7.4.240.0040.00416.60
7.4.230.0040.00416.80
7.4.220.0120.00916.78
7.4.210.0140.00316.74
7.4.200.0030.00316.70
7.4.160.0060.00916.76
7.4.150.0060.01117.40
7.4.140.0070.01117.86
7.4.130.0200.00316.64
7.4.120.0110.00916.65
7.4.110.0080.00916.83
7.4.100.0070.01016.77
7.4.90.0100.01316.72
7.4.80.0140.00419.39
7.4.70.0130.00916.81
7.4.60.0030.01316.60
7.4.50.0030.01316.61
7.4.40.0080.00816.64
7.4.30.0120.00616.45
7.4.00.0040.01314.90
7.3.330.0020.00213.46
7.3.320.0030.00313.30
7.3.310.0030.00316.47
7.3.300.0080.00016.45
7.3.290.0090.00716.42
7.3.280.0080.00816.43
7.3.270.0090.01017.40
7.3.260.0050.01216.59
7.3.250.0160.00716.45
7.3.240.0100.00916.63
7.3.230.0160.00316.52
7.3.210.0030.01316.52
7.3.200.0120.01216.40
7.3.190.0100.00616.83
7.3.180.0060.01516.68
7.3.170.0160.00016.39
7.3.160.0080.00816.53
7.3.120.0050.01515.04
7.3.110.0100.00715.01
7.3.100.0080.00815.02
7.3.90.0110.00715.13
7.3.80.0010.00914.96
7.3.70.0080.00514.83
7.3.60.0050.01014.67
7.3.50.0070.00514.87
7.3.40.0030.00715.00
7.3.30.0080.00714.82
7.3.20.0080.00516.89
7.3.10.0080.00616.72
7.3.00.0050.01016.74
7.2.330.0100.00716.88
7.2.320.0120.00616.86
7.2.310.0040.01416.86
7.2.300.0070.01416.74
7.2.290.0070.01516.91
7.2.250.0060.01215.23
7.2.240.0140.00515.07
7.2.230.0060.01015.19
7.2.220.0060.00315.14
7.2.210.0050.01014.88
7.2.200.0060.00615.18
7.2.190.0020.01515.05
7.2.180.0090.00515.28
7.2.170.0050.01115.17
7.2.160.0120.00314.96
7.2.150.0100.00317.05
7.2.140.0080.00816.99
7.2.130.0080.00816.91
7.2.120.0070.00917.02
7.2.110.0080.00616.97
7.2.100.0050.00817.06
7.2.90.0080.00817.22
7.2.80.0070.00816.95
7.2.70.0070.00817.11
7.2.60.0040.01117.07
7.2.50.0080.00617.09
7.2.40.0070.00717.13
7.2.30.0090.00817.12
7.2.20.0090.00516.86
7.2.10.0080.01117.08
7.2.00.0050.00816.98
7.1.330.0050.01215.77
7.1.320.0050.00915.91
7.1.310.0020.01015.94
7.1.300.0070.00615.92
7.1.290.0070.00916.08
7.1.280.0090.00915.77
7.1.270.0090.00715.91
7.1.260.0050.00815.72
7.1.250.0030.00815.82
7.1.200.0060.00616.05
7.1.80.2460.01016.47
7.1.70.2570.01015.24
7.1.60.4320.01033.56
7.1.50.3970.01033.26
7.1.40.4050.01232.81
7.1.30.4500.00633.05
7.1.20.3780.02032.97
7.1.10.3450.01314.87
7.1.00.3500.01215.13
7.0.200.3940.00615.01
7.0.190.4620.01215.18
7.0.180.4270.01314.58
7.0.170.4360.00914.66
7.0.160.4430.01214.56
7.0.150.3170.01314.50
7.0.140.3620.01514.71
7.0.130.3280.01114.90
7.0.120.3630.00915.07
7.0.110.3400.01214.61
7.0.100.3740.00914.62
7.0.90.3780.00914.88
7.0.80.2920.01214.86
7.0.70.2890.00314.79
7.0.60.2760.00914.34
7.0.50.2880.01214.67
7.0.40.2680.01214.80
7.0.30.2580.01315.00
7.0.20.2870.00515.02
7.0.10.3990.00914.97
7.0.00.2590.01314.66

preferences:
59.94 ms | 400 KiB | 5 Q