3v4l.org

run code in 300+ PHP versions simultaneously
<?php $relatedproduct =' Belkin Cat6 Snagless UTP Patch Cable (Black) 0.5m </a>\n'; $relatedproduct .=' <span title="B-Tech BT604 - AtlasTM Sound Isolating Loudspeaker Floor Stands 40cm (15.8&quot;) - Finished in Black">B-Tech BT604 - AtlasTM Sound Isolating Loudspeaker Floor Stands 40cm (15.8") - Finished &#133;</span> </a>\n'; $relatedproduct .=' <span title="jntworld 4m length table edge Guard baby toddler protector +4 corner (black) extra thick (13 mm) soft Non-toxic and environmentally friendly">jntworld 4m length table edge Guard baby toddler protector +4 corner (black) extra thick (13 mm) soft &#133;</span> </a>\n'; preg_match_all('/\s*(.*) <\/a>/', $relatedproduct, $relatedtit); var_dump($relatedtit[1]);

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.0110.00716.88
8.3.50.0110.00822.09
8.3.40.0130.00318.93
8.3.30.0110.00419.12
8.3.20.0080.00020.31
8.3.10.0040.00423.70
8.3.00.0040.00419.51
8.2.180.0140.00718.41
8.2.170.0110.00422.96
8.2.160.0110.00420.39
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00422.27
8.2.110.0060.00322.23
8.2.100.0070.00417.91
8.2.90.0070.00019.03
8.2.80.0050.00317.97
8.2.70.0050.00517.75
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0000.00820.07
8.2.30.0050.00319.98
8.2.20.0040.00417.75
8.2.10.0040.00417.96
8.2.00.0040.00417.66
8.1.280.0120.00325.92
8.1.270.0040.00423.97
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0150.00023.88
8.1.230.0080.00419.01
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0080.00017.13
8.1.180.0040.00718.10
8.1.170.0030.00518.78
8.1.160.0000.00721.99
8.1.150.0040.00418.68
8.1.140.0060.00317.47
8.1.130.0030.00317.88
8.1.120.0040.00417.61
8.1.110.0030.00517.58
8.1.100.0040.00417.47
8.1.90.0050.00217.47
8.1.80.0060.00317.47
8.1.70.0070.00017.50
8.1.60.0030.00617.61
8.1.50.0000.00817.58
8.1.40.0040.00417.60
8.1.30.0060.00317.70
8.1.20.0020.00517.69
8.1.10.0000.00717.77
8.1.00.0040.00417.55
8.0.300.0000.00719.06
8.0.290.0000.00817.18
8.0.280.0030.00318.40
8.0.270.0070.00017.20
8.0.260.0060.00017.22
8.0.250.0030.00317.10
8.0.240.0050.00216.97
8.0.230.0070.00017.02
8.0.220.0080.00016.95
8.0.210.0070.00017.02
8.0.200.0060.00017.14
8.0.190.0080.00017.09
8.0.180.0030.00617.07
8.0.170.0090.00016.99
8.0.160.0050.00216.98
8.0.150.0050.00216.95
8.0.140.0040.00416.94
8.0.130.0000.00613.38
8.0.120.0060.00316.97
8.0.110.0050.00317.02
8.0.100.0030.00616.98
8.0.90.0070.00016.82
8.0.80.0040.01216.87
8.0.70.0000.00716.99
8.0.60.0000.00716.91
8.0.50.0040.00416.86
8.0.30.0100.01317.20
8.0.20.0110.01417.40
8.0.10.0040.00417.08
8.0.00.0100.01116.78
7.4.330.0050.00015.00
7.4.320.0030.00316.68
7.4.300.0030.00316.77
7.4.290.0040.00416.64
7.4.280.0070.00016.67
7.4.270.0040.00416.75
7.4.260.0000.00716.64
7.4.250.0000.00816.55
7.4.240.0000.00816.64
7.4.230.0000.00716.51
7.4.220.0100.00716.66
7.4.210.0070.00816.76
7.4.200.0000.00716.51
7.4.190.0000.00816.86
7.4.160.0100.00616.68
7.4.150.0130.00717.40
7.4.140.0130.00617.86
7.4.130.0090.00916.60
7.4.120.0130.00716.55
7.4.110.0060.01316.65
7.4.100.0110.00816.90
7.4.90.0090.00916.69
7.4.80.0120.00919.39
7.4.70.0100.00616.55
7.4.60.0050.01116.42
7.4.50.0080.00016.73
7.4.40.0100.01216.73
7.4.30.0080.00816.72
7.4.00.0080.00614.95
7.3.330.0000.00513.12
7.3.320.0050.00013.29
7.3.310.0000.00816.36
7.3.300.0000.00716.30
7.3.290.0110.00316.40
7.3.280.0110.00816.36
7.3.270.0150.00317.40
7.3.260.0160.00016.70
7.3.250.0130.00616.69
7.3.240.0100.00716.76
7.3.230.0070.01016.52
7.3.210.0110.00716.56
7.3.200.0030.01919.39
7.3.190.0090.01116.57
7.3.180.0110.00516.40
7.3.170.0110.00716.39
7.3.160.0000.01816.54
7.3.120.0040.01114.92
7.2.330.0110.00716.64
7.2.320.0050.01116.70
7.2.310.0140.00716.74
7.2.300.0070.01516.75
7.2.290.0130.01016.68
7.2.00.0090.00919.41
7.1.100.0060.00318.28
7.1.70.0000.00717.09
7.1.60.0160.00619.46
7.1.50.0100.01416.77
7.1.00.0030.07722.37
7.0.200.0000.00816.84
7.0.140.0030.07321.92
7.0.60.0130.08019.98
7.0.50.0130.07017.95
7.0.40.0030.06020.09
7.0.30.0470.06020.02
7.0.20.0200.04320.11
7.0.10.0100.06719.98
7.0.00.0070.09020.18
5.6.280.0030.07321.02
5.6.210.0100.08020.60
5.6.200.0100.08018.16
5.6.190.0100.04320.47
5.6.180.0200.04720.60
5.6.170.0200.08020.64
5.6.160.0030.05720.37
5.6.150.0100.03718.09
5.6.140.0070.05718.23
5.6.130.0100.08318.11
5.6.120.0200.03320.98
5.6.110.0070.08721.13
5.6.100.0130.03321.02
5.6.90.0030.04320.97
5.6.80.0030.04020.35
5.5.350.4300.04720.37
5.5.340.0070.05017.96
5.5.330.0070.04320.07
5.5.320.0330.06720.32
5.5.310.0370.04720.23
5.5.300.0030.05317.98
5.5.290.0030.04017.96
5.5.280.0100.08020.80
5.5.270.0030.04320.86
5.5.260.0030.08320.86
5.5.250.0070.04020.57
5.5.240.0100.07320.34
5.4.450.0170.05719.48
5.4.440.0130.06319.45
5.4.430.0270.04319.46
5.4.420.0170.05319.23
5.4.410.0070.06019.19
5.4.400.0130.05019.31
5.4.390.0230.04319.12
5.4.380.0200.05018.60
5.4.370.0130.04718.65
5.4.360.0130.06718.63
5.4.350.0100.05718.66
5.4.340.0100.05718.47
5.4.320.0100.05012.45
5.4.310.0050.04012.45
5.4.300.0100.04612.46
5.4.290.0080.05412.45
5.4.280.0110.04812.34
5.4.270.0110.04712.34
5.4.260.0090.05312.35
5.4.250.0140.05212.34
5.4.240.0100.05112.34
5.4.230.0120.04812.34
5.4.220.0190.04112.34
5.4.210.0110.04512.34
5.4.200.0110.05012.34
5.4.190.0120.04712.34
5.4.180.0080.05112.34
5.4.170.0100.05312.34
5.4.160.0110.04912.34
5.4.150.0070.05312.33
5.4.140.0080.03812.02
5.4.130.0090.03212.00
5.4.120.0110.04211.97
5.4.110.0090.05011.96
5.4.100.0140.05111.96
5.4.90.0050.05211.96
5.4.80.0100.05111.96
5.4.70.0080.05411.96
5.4.60.0080.05311.96
5.4.50.0090.04611.96
5.4.40.0050.03711.94
5.4.30.0080.03711.94
5.4.20.0090.03711.94
5.4.10.0080.03811.94
5.4.00.0070.03511.43
5.3.290.0110.05012.80
5.3.280.0150.05612.71
5.3.270.0100.06012.72
5.3.260.0140.06512.72
5.3.250.0190.06512.72
5.3.240.0120.06112.72
5.3.230.0080.06012.71
5.3.220.0080.06212.68
5.3.210.0070.06512.68
5.3.200.0090.05912.68
5.3.190.0050.06412.68
5.3.180.0190.04212.67
5.3.170.0110.04312.67
5.3.160.0130.03412.68
5.3.150.0080.03912.67
5.3.140.0080.04112.66
5.3.130.0070.05112.66
5.3.120.0070.04712.66
5.3.110.0090.07212.66
5.3.100.0050.06512.12
5.3.90.0060.06012.08
5.3.80.0060.05612.08
5.3.70.0130.05012.08
5.3.60.0090.05512.06
5.3.50.0060.05212.00
5.3.40.0100.06612.00
5.3.30.0140.05711.95
5.3.20.0080.05611.73
5.3.10.0140.05311.70
5.3.00.0130.04811.69
5.2.170.0070.0439.19
5.2.160.0090.0419.19
5.2.150.0110.0449.19
5.2.140.0080.0459.19
5.2.130.0100.0409.15
5.2.120.0070.0409.15
5.2.110.0060.0419.16
5.2.100.0120.0349.15
5.2.90.0140.0379.15
5.2.80.0070.0469.15
5.2.70.0060.0369.14
5.2.60.0040.0319.11
5.2.50.0040.0329.07
5.2.40.0080.0269.05
5.2.30.0060.0359.03
5.2.20.0050.0339.02
5.2.10.0070.0308.92
5.2.00.0120.0348.78
5.1.60.0070.0338.07
5.1.50.0080.0348.06
5.1.40.0110.0348.04
5.1.30.0070.0368.39
5.1.20.0070.0308.41
5.1.10.0070.0338.14
5.1.00.0070.0378.14
5.0.50.0070.0266.61
5.0.40.0090.0236.48
5.0.30.0050.0426.29
5.0.20.0090.0256.26
5.0.10.0090.0256.24
5.0.00.0060.0366.23
4.4.90.0030.0194.78
4.4.80.0040.0164.75
4.4.70.0010.0174.75
4.4.60.0030.0154.76
4.4.50.0050.0184.77
4.4.40.0050.0234.71
4.4.30.0040.0164.76
4.4.20.0050.0144.84
4.4.10.0060.0174.85
4.4.00.0040.0284.76
4.3.110.0050.0144.67
4.3.100.0050.0214.67
4.3.90.0050.0204.64
4.3.80.0050.0354.59
4.3.70.0040.0194.63
4.3.60.0020.0224.63
4.3.50.0040.0204.63
4.3.40.0050.0294.54
4.3.30.0020.0213.28
4.3.20.0030.0213.26
4.3.10.0020.0203.21
4.3.00.0000.0238.73

preferences:
41.49 ms | 401 KiB | 5 Q