3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'tehdgsd f fs fsddf sdf http://mail.ru?dsdfll fdsfsd'; if (preg_match_all("/(https?:\/\/[^\s]+)/", $text, $m)) { echo trim($matches[0][0]); }

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.00816.73
8.3.50.0130.00822.97
8.3.40.0080.00818.96
8.3.30.0030.01018.96
8.3.20.0080.00020.04
8.3.10.0000.00821.88
8.3.00.0080.00017.75
8.2.180.0040.01118.56
8.2.170.0040.01122.96
8.2.160.0070.00720.38
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0070.00726.16
8.2.120.0070.00021.24
8.2.110.0090.00021.12
8.2.100.0040.00817.97
8.2.90.0000.00719.39
8.2.80.0040.00418.00
8.2.70.0060.00317.88
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0000.00918.28
8.2.30.0050.00318.21
8.2.20.0050.00318.02
8.2.10.0000.00718.08
8.2.00.0040.00417.81
8.1.280.0120.00325.92
8.1.270.0060.00323.82
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0030.00622.47
8.1.230.0070.00420.84
8.1.220.0050.00318.77
8.1.210.0030.00518.85
8.1.200.0040.00417.35
8.1.190.0030.00517.11
8.1.180.0000.00918.10
8.1.170.0000.00818.71
8.1.160.0080.00021.88
8.1.150.0040.00418.88
8.1.140.0070.00017.40
8.1.130.0000.00717.86
8.1.120.0040.00317.52
8.1.110.0040.00417.54
8.1.100.0040.00417.50
8.1.90.0040.00417.57
8.1.80.0050.00217.51
8.1.70.0040.00417.52
8.1.60.0040.00417.61
8.1.50.0000.00817.51
8.1.40.0030.00617.61
8.1.30.0040.00417.68
8.1.20.0040.00417.57
8.1.10.0000.00817.73
8.1.00.0030.00617.54
8.0.300.0000.00820.08
8.0.290.0000.00716.75
8.0.280.0000.00718.54
8.0.270.0020.00517.21
8.0.260.0030.00317.29
8.0.250.0000.00717.21
8.0.240.0000.00717.12
8.0.230.0080.00016.98
8.0.220.0070.00016.92
8.0.210.0000.00617.07
8.0.200.0050.00217.09
8.0.190.0000.00717.07
8.0.180.0050.00217.07
8.0.170.0040.00417.01
8.0.160.0050.00217.08
8.0.150.0070.00016.99
8.0.140.0060.00617.00
8.0.130.0000.00513.46
8.0.120.0030.00517.03
8.0.110.0050.00217.02
8.0.100.0080.00017.02
8.0.90.0040.00417.10
8.0.80.0090.00616.94
8.0.70.0000.00817.10
8.0.60.0000.00716.92
8.0.50.0080.00017.14
8.0.30.0150.01217.32
8.0.20.0100.00817.40
8.0.10.0070.00017.20
8.0.00.0090.00917.05
7.4.330.0050.00015.00
7.4.320.0000.00616.55
7.4.300.0070.00016.59
7.4.290.0060.00316.73
7.4.280.0040.00416.75
7.4.270.0070.00016.67
7.4.260.0030.00716.63
7.4.250.0000.00916.65
7.4.240.0000.00716.76
7.4.230.0040.00416.64
7.4.220.0100.00716.70
7.4.210.0060.00816.70
7.4.200.0000.00716.64
7.4.160.0060.00916.70
7.4.150.0110.00717.40
7.4.140.0090.00817.86
7.4.130.0150.00916.63
7.4.120.0030.01416.77
7.4.110.0030.01316.72
7.4.100.0110.00516.89
7.4.90.0100.00716.60
7.4.80.0170.00619.39
7.4.70.0140.00316.47
7.4.60.0160.00616.75
7.4.50.0030.00616.79
7.4.40.0030.01716.39
7.4.30.0100.00516.68
7.4.00.0050.01214.92
7.3.330.0060.00013.31
7.3.320.0000.00613.33
7.3.310.0030.00316.55
7.3.300.0030.00316.41
7.3.290.0100.00516.45
7.3.280.0080.00716.49
7.3.270.0200.00317.40
7.3.260.0030.01916.53
7.3.240.0060.01216.47
7.3.230.0030.01316.40
7.3.210.0100.00716.66
7.3.200.0030.01319.39
7.3.190.0060.01016.65
7.3.180.0080.00816.79
7.3.170.0090.00616.45
7.3.160.0090.00616.41
7.3.120.0060.00914.91
7.3.110.0070.01115.26
7.3.100.0060.01014.54
7.3.90.0060.00915.14
7.3.80.0000.01314.90
7.3.70.0030.00714.98
7.3.60.0060.01014.58
7.3.50.0130.00315.07
7.3.40.0090.00315.12
7.3.30.0120.00315.00
7.3.20.0090.00316.70
7.3.10.0090.00016.81
7.3.00.0030.00916.76
7.2.330.0090.00916.70
7.2.320.0100.00716.73
7.2.310.0140.00616.78
7.2.300.0030.01316.68
7.2.290.0100.00716.66
7.2.250.0030.01615.19
7.2.240.0030.01714.98
7.2.230.0070.01015.09
7.2.220.0040.01115.34
7.2.210.0030.01315.01
7.2.200.0120.00314.97
7.2.190.0070.00315.05
7.2.180.0000.01314.98
7.2.170.0030.01415.25
7.2.80.0040.00816.80
7.2.60.0050.00517.08
7.2.00.0060.00619.50
7.1.330.0070.00716.02
7.1.320.0030.00715.95
7.1.310.0100.00315.75
7.1.300.0090.00616.18
7.1.290.0060.00615.96
7.1.280.0070.01016.11
7.1.270.0070.01016.12
7.1.260.0100.00316.13
7.1.200.0030.00715.64
7.1.100.0300.00318.43
7.1.70.0050.00217.13
7.1.60.0100.01319.40
7.1.50.0040.01816.83
7.1.00.0070.07322.47
7.0.200.0030.00616.95
7.0.140.0000.07022.09
7.0.60.0200.06719.92
7.0.50.0070.06317.94
7.0.40.0130.08020.11
7.0.30.0230.04020.02
7.0.20.0230.08720.21
7.0.10.0070.08320.22
7.0.00.0030.05020.31
5.6.280.0030.07320.91
5.6.210.0070.08320.71
5.6.200.0100.08018.23
5.6.190.0130.03720.41
5.6.180.0170.06320.43
5.6.170.0470.07020.41
5.6.160.0070.04320.50
5.6.150.0030.05018.19
5.6.140.0030.04318.22
5.6.130.0100.03318.11
5.6.120.0170.07721.12
5.6.110.0100.08020.99
5.6.100.0100.07020.96
5.6.90.0030.09021.09
5.6.80.0130.06320.42
5.5.350.0170.07020.40
5.5.340.0100.07718.02
5.5.330.0130.05720.21
5.5.320.0370.05020.29
5.5.310.0200.07720.35
5.5.300.0000.05017.91
5.5.290.0100.04317.89
5.5.280.0030.08720.79
5.5.270.0000.06320.64
5.5.260.0030.08020.88
5.5.250.0070.08720.51
5.5.240.0170.03720.07
5.4.450.0100.05319.48
5.4.440.0330.04019.57
5.4.430.0400.04319.43
5.4.420.0300.03719.13
5.4.410.0270.04719.28
5.4.400.0530.03719.06
5.4.390.0070.05019.16
5.4.380.0370.05018.60
5.4.370.0270.05718.50
5.4.360.0400.05018.50
5.4.350.0430.05318.61
5.4.340.0230.06018.69
5.4.320.0080.04412.46
5.4.310.0060.04212.45
5.4.300.0050.03712.46
5.4.290.0070.04212.45
5.4.280.0070.03812.35
5.4.270.0040.03712.35
5.4.260.0040.03912.35
5.4.250.0030.04212.35
5.4.240.0020.03912.34
5.4.230.0040.03912.34
5.4.220.0050.03712.34
5.4.210.0050.03512.34
5.4.200.0080.03712.34
5.4.190.0080.03312.34
5.4.180.0080.03312.34
5.4.170.0070.03312.35
5.4.160.0070.03812.34
5.4.150.0070.03712.34
5.4.140.0080.03412.02
5.4.130.0070.04012.01
5.4.120.0050.03611.97
5.4.110.0040.03611.96
5.4.100.0040.03611.96
5.4.90.0050.03711.96
5.4.80.0080.03711.96
5.4.70.0060.03611.96
5.4.60.0050.03811.96
5.4.50.0080.03811.96
5.4.40.0070.03611.95
5.4.30.0070.03411.95
5.4.20.0060.03311.95
5.4.10.0070.03811.95
5.4.00.0050.03611.44
5.3.290.0090.04112.80
5.3.280.0060.03612.71
5.3.270.0090.03812.72
5.3.260.0060.03912.71
5.3.250.0040.03912.72
5.3.240.0020.04012.72
5.3.230.0040.03812.71
5.3.220.0110.03212.68
5.3.210.0050.03912.68
5.3.200.0070.03512.68
5.3.190.0090.03312.67
5.3.180.0040.03812.67
5.3.170.0050.03712.67
5.3.160.0090.03312.67
5.3.150.0040.03912.68
5.3.140.0050.03612.66
5.3.130.0050.04612.66
5.3.120.0040.04112.66
5.3.110.0070.04012.66
5.3.100.0040.03712.12
5.3.90.0070.03812.09
5.3.80.0100.04512.07
5.3.70.0050.03912.08
5.3.60.0060.03612.06
5.3.50.0110.03912.00
5.3.40.0080.03412.00
5.3.30.0080.03211.95
5.3.20.0060.03311.73
5.3.10.0080.03111.70
5.3.00.0040.03811.69
5.2.170.0040.0359.19
5.2.160.0070.0289.19
5.2.150.0070.0279.19
5.2.140.0090.0269.18
5.2.130.0070.0389.15
5.2.120.0020.0309.15
5.2.110.0030.0309.15
5.2.100.0060.0269.15
5.2.90.0050.0279.15
5.2.80.0060.0359.15
5.2.70.0040.0309.15
5.2.60.0070.0279.10
5.2.50.0050.0309.07
5.2.40.0010.0319.05
5.2.30.0090.0329.03
5.2.20.0050.0309.02
5.2.10.0030.0378.92
5.2.00.0060.0278.77
5.1.60.0040.0248.06
5.1.50.0030.0258.06
5.1.40.0010.0278.04
5.1.30.0060.0248.39
5.1.20.0050.0328.41
5.1.10.0030.0268.13
5.1.00.0050.0328.14
5.0.50.0000.0236.61
5.0.40.0050.0176.47
5.0.30.0050.0286.29
5.0.20.0020.0216.26
5.0.10.0030.0196.24
5.0.00.0050.0336.23
4.4.90.0010.0174.78
4.4.80.0030.0144.75
4.4.70.0020.0224.75
4.4.60.0010.0174.75
4.4.50.0040.0144.77
4.4.40.0030.0304.71
4.4.30.0040.0164.76
4.4.20.0040.0184.84
4.4.10.0030.0154.85
4.4.00.0030.0254.76
4.3.110.0040.0154.67
4.3.100.0030.0154.66
4.3.90.0040.0164.63
4.3.80.0030.0274.58
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0010.0174.63
4.3.40.0030.0234.54
4.3.30.0010.0173.28
4.3.20.0020.0163.26
4.3.10.0020.0153.22
4.3.00.0070.01315.92

preferences:
47.57 ms | 401 KiB | 5 Q