3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<li class="dropdown-submenu active active-child"><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance">Visual Performance</a><ul class="level-3 dropdown-menu children-3"><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t1">Performance</a></li><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t2">Aesthetics</a></li><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t3">Installation</a></li></ul></li>'; $skipDictionary = array( 'all' => array( 'Visual Performance', 'ThinLine', 'Extreme', 'Architectural Series', 'Invisible Series', 'Cinema', 'Soundbar', 'Subwoofers', 'Sonance Landscape Series', 'Satellites', 'Subwoofers', 'Systems', 'Sonarray', 'Mariners', 'Medium' ) ); $replaceArray = array_map(function($val){ return '<span class="notranslate">'.$val.'</span>'; }, $skipDictionary['all']); foreach($skipDictionary['all'] AS $idx => $search) { $text = preg_replace('@(\s|\>|^)'.$search.'($)@', '\1' . $replaceArray[$idx], $text); } echo '<div>'.$text.'</div>';

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.00918.53
8.3.50.0060.01522.15
8.3.40.0070.00718.92
8.3.30.0070.00719.18
8.3.20.0000.00820.16
8.3.10.0000.00822.05
8.3.00.0080.00022.39
8.2.180.0130.00316.88
8.2.170.0120.00322.96
8.2.160.0150.00021.02
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00319.61
8.2.110.0030.00721.12
8.2.100.0040.00817.97
8.2.90.0000.00918.34
8.2.80.0040.00417.97
8.2.70.0000.00917.93
8.2.60.0050.00318.05
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0030.00618.23
8.2.20.0050.00318.07
8.2.10.0000.00818.05
8.2.00.0030.00717.98
8.1.280.0070.01025.92
8.1.270.0080.00022.18
8.1.260.0090.00026.35
8.1.250.0030.00628.09
8.1.240.0030.00624.04
8.1.230.0030.00721.03
8.1.220.0040.00417.74
8.1.210.0000.00918.95
8.1.200.0000.00917.60
8.1.190.0100.01016.96
8.1.180.0060.00318.10
8.1.170.0030.00518.88
8.1.160.0040.00422.08
8.1.150.0040.00418.91
8.1.140.0000.00817.55
8.1.130.0000.00717.85
8.1.120.0000.00717.59
8.1.110.0000.00917.54
8.1.100.0040.00417.51
8.1.90.0000.00717.65
8.1.80.0040.00417.54
8.1.70.0000.00717.66
8.1.60.0060.00317.65
8.1.50.0090.00017.70
8.1.40.0040.00417.65
8.1.30.0000.00817.84
8.1.20.0000.00817.88
8.1.10.0080.00017.66
8.1.00.0090.00017.70
8.0.300.0070.00020.06
8.0.290.0030.00616.75
8.0.280.0030.00318.43
8.0.270.0030.00317.30
8.0.260.0050.00316.92
8.0.250.0000.00717.02
8.0.240.0000.00717.07
8.0.230.0040.00417.11
8.0.220.0070.00017.04
8.0.210.0030.00617.05
8.0.200.0000.00716.98
8.0.190.0030.00517.00
8.0.180.0040.00417.13
8.0.170.0040.00417.10
8.0.160.0040.00417.12
8.0.150.0040.00417.03
8.0.140.0040.00417.03
8.0.130.0030.00313.54
8.0.120.0040.00416.92
8.0.110.0000.00816.93
8.0.100.0000.00717.13
8.0.90.0040.00417.18
8.0.80.0070.01017.07
8.0.70.0000.00816.86
8.0.60.0000.00817.03
8.0.50.0080.00017.02
8.0.30.0060.01417.49
8.0.20.0080.01117.40
8.0.10.0000.00717.11
8.0.00.0150.00417.03
7.4.330.0020.00215.00
7.4.320.0030.00316.65
7.4.300.0000.00616.68
7.4.290.0070.00016.73
7.4.280.0030.00316.64
7.4.270.0040.00416.76
7.4.260.0070.00316.80
7.4.250.0070.00016.80
7.4.240.0010.00616.83
7.4.230.0070.00016.84
7.4.220.0040.01316.88
7.4.210.0080.01016.75
7.4.200.0040.00416.86
7.4.190.0070.00016.93
7.4.160.0090.00616.81
7.4.150.0090.00917.40
7.4.140.0140.00817.86
7.4.130.0110.00616.77
7.4.120.0100.00816.82
7.4.110.0110.00816.44
7.4.100.0060.01616.67
7.4.90.0060.01316.77
7.4.80.0150.00419.39
7.4.70.0070.01016.58
7.4.60.0150.00316.68
7.4.50.0030.00616.68
7.4.40.0130.00322.77
7.4.30.0100.00716.91
7.4.00.0060.01015.18
7.3.330.0000.00713.49
7.3.320.0030.00313.44
7.3.310.0080.00016.50
7.3.300.0030.00316.59
7.3.290.0130.00716.44
7.3.280.0080.00916.48
7.3.270.0090.00917.40
7.3.260.0060.01416.46
7.3.250.0070.01516.68
7.3.240.0070.01416.59
7.3.230.0100.00716.55
7.3.210.0090.00916.64
7.3.200.0180.00319.39
7.3.190.0040.01816.68
7.3.180.0090.00816.52
7.3.170.0060.01416.60
7.3.160.0090.00616.78
7.3.120.0100.00314.96
7.2.330.0070.01016.70
7.2.320.0160.00716.76
7.2.310.0160.00616.92
7.2.300.0070.01016.96
7.2.290.0070.01016.75
7.2.00.0030.01419.35
7.1.100.1030.00916.45
7.1.70.0060.00917.53
7.1.60.0060.01919.82
7.1.50.0090.01517.28
7.1.00.0000.09722.49
7.0.200.0060.00316.66
7.0.140.0000.07322.10
7.0.60.0100.08019.94
7.0.50.0030.08717.91
7.0.40.0000.05020.29
7.0.30.0430.03720.13
7.0.20.0130.04720.27
7.0.10.0070.08720.15
7.0.00.0030.07020.37
5.6.280.0000.07721.03
5.6.210.0170.06020.71
5.6.200.0130.05718.18
5.6.190.0100.06320.60
5.6.180.0100.04320.48
5.6.170.0270.05720.45
5.6.160.0130.08320.55
5.6.150.0130.05018.15
5.6.140.0000.05718.15
5.6.130.0100.04018.18
5.6.120.0070.05021.02
5.6.110.0170.07321.02
5.6.100.0170.07721.11
5.6.90.0130.08020.99
5.6.80.0130.06020.44
5.5.350.0000.07720.41
5.5.340.0000.04318.02
5.5.330.0070.05020.30
5.5.320.0200.07320.24
5.5.310.0200.04020.37
5.5.300.0070.04318.08
5.5.290.0070.06717.95
5.5.280.0130.06720.66
5.5.270.0070.08320.77
5.5.260.0070.08320.84
5.5.250.0230.05720.71
5.5.240.0230.08020.28
5.4.450.0200.05319.20
5.4.440.0670.05719.61
5.4.430.0500.05319.57
5.4.420.0730.05319.60
5.4.410.1000.07319.56
5.4.400.1000.05719.03
5.4.390.0800.08019.09
5.4.380.0830.05318.59
5.4.370.0270.05318.74
5.4.360.0130.06018.59
5.4.350.0300.05018.64
5.4.340.0230.06018.81
5.4.320.0030.03912.52
5.4.310.0070.03612.51
5.4.300.0110.03512.52
5.4.290.0070.03912.51
5.4.280.0030.03912.41
5.4.270.0070.03512.41
5.4.260.0030.06018.65
5.4.250.0070.05319.11
5.4.240.0000.06718.93
5.4.230.0030.05718.99
5.4.220.0070.06318.96
5.4.210.0100.05318.89
5.4.200.0070.07718.98
5.4.190.0100.05019.01
5.4.180.0100.05318.78
5.4.170.0070.05319.00
5.4.160.0030.06019.08
5.4.150.0030.05718.98
5.4.140.0170.04316.45
5.4.130.0230.05716.42
5.4.120.0170.05716.29
5.4.110.0030.07716.46
5.4.100.0170.06016.38
5.4.90.0130.06716.58
5.4.80.0070.05016.60
5.4.70.0170.06716.68
5.4.60.0030.05016.68
5.4.50.0070.05016.64
5.4.40.0030.05016.54
5.4.30.0100.05016.35
5.4.20.0070.07016.51
5.4.10.0070.05016.64
5.4.00.0130.04015.84
5.3.290.0070.04112.80
5.3.280.0000.05714.68
5.3.270.0100.05314.75
5.3.260.0070.05714.70
5.3.250.0100.05014.44
5.3.240.0070.06014.70
5.3.230.0130.04714.69
5.3.220.0070.06014.71
5.3.210.0170.06314.40
5.3.200.0200.04714.66
5.3.190.0130.06714.56
5.3.180.0200.04014.65
5.3.170.0170.04014.79
5.3.160.0030.05014.66
5.3.150.0170.04314.59
5.3.140.0100.04714.63
5.3.130.0000.08314.71
5.3.120.0100.05714.63
5.3.110.0070.05314.39
5.3.100.0130.05014.13
5.3.90.0170.04014.11
5.3.80.0070.07014.09
5.3.70.0030.05714.02
5.3.60.0000.06314.02
5.3.50.0070.05013.97
5.3.40.0100.05013.93
5.3.30.0100.07013.95
5.3.20.0130.05013.89
5.3.10.0070.05013.55
5.3.00.0100.04713.71
5.2.170.0030.04011.25
5.2.160.0130.03311.07
5.2.150.0030.04011.08
5.2.140.0100.03711.03
5.2.130.0130.05011.21
5.2.120.0030.04011.02
5.2.110.0100.03311.25
5.2.100.0030.04010.98
5.2.90.0130.03711.11
5.2.80.0070.05710.87
5.2.70.0070.04011.03
5.2.60.0070.04011.21
5.2.50.0100.04011.18
5.2.40.0070.04011.00
5.2.30.0070.05710.73
5.2.20.0100.05310.84
5.2.10.0070.04310.77
5.2.00.0000.04310.80
5.1.60.0000.0479.94
5.1.50.0030.0409.89
5.1.40.0030.04010.04
5.1.30.0070.05310.25
5.1.20.0130.05010.44
5.1.10.0070.04010.16
5.1.00.0070.03310.14
5.0.50.0070.0308.70
5.0.40.0070.0238.34
5.0.30.0030.0608.31
5.0.20.0070.0378.15
5.0.10.0030.0338.13
5.0.00.0070.0408.31
4.4.90.0000.0307.21
4.4.80.0000.0337.21
4.4.70.0070.0207.21
4.4.60.0030.0207.21
4.4.50.0000.0237.21
4.4.40.0000.0377.21
4.4.30.0100.0137.21
4.4.20.0030.0307.21
4.4.10.0070.0177.21
4.4.00.0030.0477.21
4.3.110.0030.0307.21
4.3.100.0030.0207.21
4.3.90.0030.0307.21
4.3.80.0070.0377.21
4.3.70.0070.0207.21
4.3.60.0100.0177.21
4.3.50.0100.0237.21
4.3.40.0130.0277.21
4.3.30.0070.0207.21
4.3.20.0000.0307.21
4.3.10.0000.0277.21
4.3.00.0100.0178.11

preferences:
51.7 ms | 401 KiB | 5 Q