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.'(\s|$)@', '\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.40.0090.00918.93
8.3.30.0110.00318.98
8.3.20.0050.00320.16
8.3.10.0000.00922.02
8.3.00.0000.00822.39
8.2.170.0120.00322.96
8.2.160.0110.00621.07
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.01426.16
8.2.120.0050.00319.61
8.2.110.0030.00622.37
8.2.100.0120.00019.70
8.2.90.0000.00819.36
8.2.80.0080.00018.16
8.2.70.0080.00017.75
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0050.00318.34
8.2.30.0080.00018.20
8.2.20.0090.00018.02
8.2.10.0040.00418.11
8.2.00.0030.00917.98
8.1.270.0080.00022.27
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0080.00023.95
8.1.230.0080.00419.13
8.1.220.0000.00818.02
8.1.210.0040.00418.77
8.1.200.0080.00317.60
8.1.190.0000.00817.41
8.1.180.0080.00018.86
8.1.170.0030.00618.78
8.1.160.0040.00422.12
8.1.150.0000.00818.81
8.1.140.0060.00317.70
8.1.130.0030.00317.72
8.1.120.0000.00717.69
8.1.110.0030.00617.68
8.1.100.0040.00417.53
8.1.90.0040.00417.68
8.1.80.0000.00717.57
8.1.70.0030.00517.62
8.1.60.0000.01017.72
8.1.50.0040.00417.60
8.1.40.0040.00417.74
8.1.30.0060.00317.76
8.1.20.0000.00817.66
8.1.10.0000.00817.67
8.1.00.0040.00417.65
8.0.300.0060.00318.77
8.0.290.0060.00317.30
8.0.280.0030.00318.54
8.0.270.0070.00017.30
8.0.260.0040.00417.10
8.0.250.0030.00517.09
8.0.240.0030.00517.04
8.0.230.0040.00417.11
8.0.220.0000.00717.09
8.0.210.0000.00816.98
8.0.200.0000.00717.02
8.0.190.0050.00217.14
8.0.180.0070.00017.12
8.0.170.0030.00516.99
8.0.160.0040.00417.13
8.0.150.0020.00517.05
8.0.140.0080.00017.03
8.0.130.0030.00313.47
8.0.120.0050.00317.00
8.0.110.0040.00417.11
8.0.100.0040.00416.92
8.0.90.0030.00517.13
8.0.80.0030.01617.13
8.0.70.0000.00817.13
8.0.60.0040.00417.02
8.0.50.0040.00416.98
8.0.30.0140.00817.17
8.0.20.0140.00517.46
8.0.10.0040.00417.08
8.0.00.0120.00917.14
7.4.330.0000.00615.25
7.4.320.0000.00616.74
7.4.300.0030.00316.88
7.4.290.0030.00516.83
7.4.280.0070.00016.86
7.4.270.0000.00716.83
7.4.260.0050.00216.81
7.4.250.0050.00316.81
7.4.240.0050.00316.78
7.4.230.0040.00416.83
7.4.220.0150.01216.80
7.4.210.0030.01216.76
7.4.200.0040.00416.86
7.4.190.0000.00716.91
7.4.160.0130.00417.00
7.4.150.0120.00617.40
7.4.140.0150.00817.86
7.4.130.0100.01116.75
7.4.120.0090.01116.64
7.4.110.0100.01316.79
7.4.100.0100.01416.72
7.4.90.0090.00916.53
7.4.80.0070.01119.39
7.4.70.0120.00616.62
7.4.60.0180.02216.68
7.4.50.0030.00616.57
7.4.40.0000.01222.77
7.4.30.0110.00616.68
7.4.00.0060.00915.37
7.3.330.0060.00013.30
7.3.320.0050.00013.40
7.3.310.0060.00316.60
7.3.300.0070.00016.55
7.3.290.0000.01616.49
7.3.280.0060.01016.49
7.3.270.0100.00717.40
7.3.260.0120.01116.75
7.3.250.0100.00816.72
7.3.240.0140.00316.59
7.3.230.0030.01416.68
7.3.210.0120.00616.49
7.3.200.0100.01019.39
7.3.190.0120.01116.66
7.3.180.0060.00916.80
7.3.170.0110.00716.78
7.3.160.0070.01016.56
7.3.120.0030.01315.25
7.2.330.0040.01816.85
7.2.320.0110.01416.84
7.2.310.0110.01116.79
7.2.300.0030.01616.86
7.2.290.0060.01116.83
7.2.00.0000.01219.79
7.1.200.0030.01215.80
7.1.100.0270.00918.06
7.1.70.0060.00317.58
7.1.60.0070.01419.82
7.1.50.0060.01017.32
7.1.00.0070.07322.50
7.0.200.0060.00616.79
7.0.140.0130.06022.07
7.0.60.0100.07319.96
7.0.50.0100.03317.90
7.0.40.0070.08020.16
7.0.30.0500.07720.20
7.0.20.0200.03720.28
7.0.10.0130.08720.21
7.0.00.0070.06020.37
5.6.280.0070.07021.10
5.6.210.0030.08020.50
5.6.200.0130.08018.29
5.6.190.0100.07720.46
5.6.180.0070.05020.70
5.6.170.0370.07020.52
5.6.160.0100.04320.52
5.6.150.0070.07718.17
5.6.140.0170.07018.17
5.6.130.0100.07718.17
5.6.120.0030.09320.99
5.6.110.0170.06721.01
5.6.100.0000.05021.11
5.6.90.0030.04320.99
5.6.80.0030.07320.36
5.5.350.0030.08020.41
5.5.340.0000.04317.99
5.5.330.0030.05020.28
5.5.320.0170.04720.35
5.5.310.0170.04020.24
5.5.300.0030.08318.10
5.5.290.0170.07318.08
5.5.280.0100.07720.69
5.5.270.0030.05720.64
5.5.260.0130.07720.77
5.5.250.0030.04020.48
5.5.240.0400.06020.38
5.4.450.0170.06319.71
5.4.440.1070.07319.60
5.4.430.0730.06319.15
5.4.420.0970.06019.57
5.4.410.0800.05719.56
5.4.400.0770.06719.29
5.4.390.0970.07018.83
5.4.380.0300.05018.79
5.4.370.0230.05318.75
5.4.360.0230.05018.59
5.4.350.0230.06018.63
5.4.340.0230.05018.75
5.4.320.0080.03412.52
5.4.310.0070.05412.51
5.4.300.0030.04012.51
5.4.290.0030.04012.51
5.4.280.0050.03612.41
5.4.270.0060.04012.41
5.4.260.0070.05018.97
5.4.250.0030.05319.09
5.4.240.0100.05019.00
5.4.230.0030.05718.77
5.4.220.0100.07018.65
5.4.210.0000.07318.99
5.4.200.0070.05018.90
5.4.190.0030.05318.79
5.4.180.0170.06318.83
5.4.170.0100.05318.89
5.4.160.0170.06018.92
5.4.150.0030.06718.92
5.4.140.0130.05016.41
5.4.130.0100.04716.51
5.4.120.0070.06716.44
5.4.110.0030.07016.67
5.4.100.0070.05016.60
5.4.90.0070.05016.38
5.4.80.0070.04716.45
5.4.70.0170.04016.55
5.4.60.0030.05316.44
5.4.50.0130.04316.54
5.4.40.0070.05016.41
5.4.30.0030.05316.59
5.4.20.0000.05316.54
5.4.10.0000.06016.46
5.4.00.0100.05015.95
5.3.290.0080.03812.80
5.3.280.0030.05314.66
5.3.270.0130.04314.68
5.3.260.0230.05714.62
5.3.250.0070.04714.75
5.3.240.0030.05714.74
5.3.230.0100.04714.51
5.3.220.0200.03714.74
5.3.210.0070.05714.79
5.3.200.0170.04314.48
5.3.190.0070.05314.66
5.3.180.0030.05714.57
5.3.170.0170.04014.57
5.3.160.0070.07314.74
5.3.150.0000.05714.39
5.3.140.0070.05014.64
5.3.130.0070.05314.63
5.3.120.0000.06014.63
5.3.110.0070.05314.54
5.3.100.0030.08314.13
5.3.90.0070.05014.04
5.3.80.0070.04714.18
5.3.70.0070.05014.04
5.3.60.0070.05013.97
5.3.50.0070.06014.03
5.3.40.0100.05313.93
5.3.30.0030.05013.81
5.3.20.0130.04013.53
5.3.10.0130.04013.82
5.3.00.0030.05313.66
5.2.170.0030.05011.08
5.2.160.0100.04311.30
5.2.150.0070.04011.14
5.2.140.0030.04311.14
5.2.130.0070.03711.26
5.2.120.0130.03010.94
5.2.110.0130.04011.21
5.2.100.0000.04311.04
5.2.90.0030.04011.09
5.2.80.0100.03710.95
5.2.70.0000.05711.07
5.2.60.0130.03710.89
5.2.50.0030.04011.18
5.2.40.0170.03710.91
5.2.30.0070.05010.88
5.2.20.0070.05011.05
5.2.10.0130.03010.62
5.2.00.0030.04010.70
5.1.60.0030.0339.93
5.1.50.0030.0339.91
5.1.40.0070.03310.17
5.1.30.0070.03710.31
5.1.20.0030.03710.25
5.1.10.0170.0409.94
5.1.00.0130.03710.10
5.0.50.0070.0278.74
5.0.40.0070.0378.34
5.0.30.0070.0538.24
5.0.20.0070.0338.15
5.0.10.0030.0308.16
5.0.00.0030.0408.15
4.4.90.0030.0277.30
4.4.80.0000.0277.30
4.4.70.0070.0177.30
4.4.60.0000.0237.30
4.4.50.0030.0207.30
4.4.40.0000.0337.30
4.4.30.0030.0237.30
4.4.20.0100.0237.30
4.4.10.0000.0277.30
4.4.00.0070.0407.30
4.3.110.0030.0237.30
4.3.100.0030.0307.30
4.3.90.0000.0307.30
4.3.80.0000.0477.30
4.3.70.0070.0307.30
4.3.60.0070.0177.30
4.3.50.0000.0237.30
4.3.40.0000.0337.30
4.3.30.0000.0237.30
4.3.20.0000.0337.30
4.3.10.0000.0237.30
4.3.00.0030.0208.11

preferences:
45.34 ms | 400 KiB | 5 Q