3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/^http:\/\/(.+).local.master.1ff.space$/m'; $str = 'http://usa.yorketo.diet.local.master.1ff.space'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result echo $matches[0][1] ?? 'NotFound';

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.70.0130.01016.63
8.3.60.0100.01016.63
8.3.50.0090.00918.20
8.3.40.0000.01418.96
8.3.30.0070.00718.84
8.3.20.0040.00423.59
8.3.10.0050.00323.72
8.3.00.0080.00022.21
8.2.190.0120.00916.58
8.2.180.0160.00318.54
8.2.170.0090.00922.96
8.2.160.0080.00619.32
8.2.150.0050.00524.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0030.00619.35
8.2.100.0110.00019.41
8.2.90.0030.00618.00
8.2.80.0040.00420.02
8.2.70.0050.00317.93
8.2.60.0080.00018.34
8.2.50.0050.00318.10
8.2.40.0040.00419.42
8.2.30.0000.00819.40
8.2.20.0070.00018.09
8.2.10.0000.00719.08
8.2.00.0040.00419.25
8.1.280.0090.00925.92
8.1.270.0050.00320.68
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00323.97
8.1.230.0060.00622.14
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0060.00318.71
8.1.160.0000.00718.75
8.1.150.0070.00018.91
8.1.140.0040.00420.79
8.1.130.0000.00720.11
8.1.120.0030.00617.50
8.1.110.0000.00817.40
8.1.100.0000.00817.59
8.1.90.0000.00817.52
8.1.80.0040.00417.50
8.1.70.0030.00317.57
8.1.60.0000.00817.69
8.1.50.0050.00217.56
8.1.40.0040.00417.65
8.1.30.0050.00317.72
8.1.20.0030.00617.78
8.1.10.0080.00017.66
8.1.00.0030.00617.63
8.0.300.0040.00419.75
8.0.290.0040.00416.88
8.0.280.0050.00318.54
8.0.270.0030.00317.18
8.0.260.0000.00820.04
8.0.250.0030.00317.06
8.0.240.0050.00317.14
8.0.230.0030.00316.92
8.0.220.0000.00716.92
8.0.210.0040.00416.88
8.0.200.0060.00016.93
8.0.190.0040.00416.99
8.0.180.0030.00616.98
8.0.170.0030.00516.95
8.0.160.0000.00716.85
8.0.150.0040.00416.82
8.0.140.0000.00716.93
8.0.130.0000.00613.42
8.0.120.0040.00416.96
8.0.110.0000.00716.95
8.0.100.0000.00716.96
8.0.90.0000.00816.79
8.0.80.0030.01317.00
8.0.70.0000.00716.86
8.0.60.0040.00416.99
8.0.50.0050.00216.87
8.0.30.0130.00717.14
8.0.20.0110.00817.13
8.0.10.0030.00517.09
8.0.00.0100.01017.00
7.4.330.0000.00515.55
7.4.320.0000.00616.72
7.4.300.0000.00616.65
7.4.290.0050.00316.74
7.4.280.0000.00816.78
7.4.270.0070.00016.65
7.4.260.0030.00313.40
7.4.250.0030.00316.71
7.4.240.0040.00316.71
7.4.230.0000.00716.64
7.4.220.0030.00316.60
7.4.210.0070.00916.72
7.4.200.0000.00816.83
7.4.140.0090.00917.86
7.4.130.0090.01416.54
7.4.120.0070.01416.76
7.4.110.0100.01016.83
7.4.100.0100.00716.66
7.4.90.0080.00816.73
7.4.80.0120.00619.39
7.4.70.0060.01216.70
7.4.60.0060.01216.95
7.4.50.0120.00016.40
7.4.40.0140.00416.64
7.4.00.0070.00315.34
7.3.330.0000.00716.41
7.3.320.0000.00513.27
7.3.310.0000.00716.14
7.3.300.0070.00016.18
7.3.290.0100.00816.40
7.3.280.0120.00316.37
7.3.260.0070.01216.61
7.3.240.0080.00916.62
7.3.230.0100.00716.50
7.3.210.0060.01216.48
7.3.200.0080.00816.37
7.3.190.0070.01116.39
7.3.180.0100.00616.64
7.3.170.0040.01416.36
7.3.160.0140.00416.64
7.3.90.0070.01414.69
7.3.80.0060.00914.89
7.3.70.0090.00514.93
7.3.60.0090.00614.95
7.3.50.0060.00914.78
7.3.40.0090.00914.93
7.3.30.0110.00314.61
7.3.20.0080.00814.73
7.3.10.0080.00814.93
7.3.00.0090.00614.96
7.2.330.0090.00916.57
7.2.320.0090.00916.64
7.2.310.0140.00516.57
7.2.300.0120.00616.82
7.2.290.0130.00316.84
7.2.220.0060.01515.08
7.2.210.0100.01015.08
7.2.200.0000.01515.06
7.2.190.0060.00915.03
7.2.180.0130.00614.99
7.2.170.0120.00315.04
7.2.160.0070.00715.26
7.2.150.0110.00515.30
7.2.140.0120.00415.23
7.2.130.0100.00715.14
7.2.120.0070.01515.13
7.2.110.0220.00615.29
7.2.100.0090.00915.22
7.2.90.0130.00315.16
7.2.80.0120.01115.06
7.2.70.0070.01015.05
7.2.60.0120.00415.20
7.2.50.0070.01015.30
7.2.40.0110.00515.02
7.2.30.0030.01315.25
7.2.20.0100.00615.03
7.2.10.0160.00015.30
7.2.00.0040.01315.24
7.1.320.0180.00414.07
7.1.310.0120.00314.00
7.1.300.0060.00913.84
7.1.290.0100.01014.11
7.1.280.0030.01214.20
7.1.270.0060.00914.01
7.1.260.0160.00014.04
7.1.250.0110.00313.96

preferences:
17.34 ms | 401 KiB | 5 Q