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></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.70.0190.00418.55
8.3.60.0180.00018.39
8.3.50.0060.01322.09
8.3.40.0150.00018.82
8.3.30.0040.01119.17
8.3.20.0070.00720.33
8.3.10.0030.00522.10
8.3.00.0030.00522.45
8.2.190.0130.00718.54
8.2.180.0180.00416.63
8.2.170.0070.01122.96
8.2.160.0000.01421.02
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0140.00726.16
8.2.120.0040.00419.73
8.2.110.0000.00922.16
8.2.100.0040.00819.89
8.2.90.0000.00919.41
8.2.80.0040.00417.97
8.2.70.0030.00617.88
8.2.60.0030.00618.12
8.2.50.0060.00318.07
8.2.40.0060.00318.34
8.2.30.0030.00618.31
8.2.20.0000.00817.99
8.2.10.0050.00317.98
8.2.00.0090.00317.94
8.1.280.0030.01425.92
8.1.270.0060.00322.16
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0000.00924.15
8.1.230.0030.00719.22
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0000.00917.72
8.1.190.0040.00417.66
8.1.180.0030.00518.85
8.1.170.0050.00318.96
8.1.160.0040.00422.13
8.1.150.0040.00418.83
8.1.140.0040.00417.65
8.1.130.0030.00317.85
8.1.120.0040.00417.71
8.1.110.0080.00017.63
8.1.100.0000.00717.66
8.1.90.0040.00417.57
8.1.80.0040.00417.65
8.1.70.0000.00817.61
8.1.60.0070.00317.79
8.1.50.0040.00417.70
8.1.40.0040.00417.70
8.1.30.0030.00517.80
8.1.20.0030.00617.86
8.1.10.0040.00417.76
8.1.00.0030.00517.73
8.0.300.0000.00818.77
8.0.290.0040.00417.30
8.0.280.0000.00818.55
8.0.270.0040.00417.20
8.0.260.0000.00717.07
8.0.250.0080.00017.11
8.0.240.0040.00417.16
8.0.230.0000.00817.13
8.0.220.0000.00717.09
8.0.210.0050.00516.98
8.0.200.0030.00317.06
8.0.190.0000.00717.17
8.0.180.0030.00517.12
8.0.170.0000.00817.10
8.0.160.0000.00717.02
8.0.150.0000.00717.09
8.0.140.0000.00817.03
8.0.130.0000.00613.48
8.0.120.0040.00416.98
8.0.110.0080.00017.13
8.0.100.0080.00017.15
8.0.90.0000.00716.91
8.0.80.0130.00317.09
8.0.70.0000.00716.96
8.0.60.0040.00417.11
8.0.50.0040.00417.08
8.0.30.0110.01117.50
8.0.20.0080.01117.40
8.0.10.0000.00717.25
8.0.00.0100.00917.18
7.4.330.0030.00315.00
7.4.320.0000.00616.72
7.4.300.0000.00616.92
7.4.290.0030.00316.87
7.4.280.0050.00316.86
7.4.270.0000.00716.86
7.4.260.0030.00716.64
7.4.250.0070.00016.78
7.4.240.0030.00416.71
7.4.230.0050.00316.61
7.4.220.0120.00616.78
7.4.210.0110.00916.83
7.4.200.0040.00416.68
7.4.190.0070.00016.98
7.4.160.0030.01316.81
7.4.150.0130.00717.40
7.4.140.0100.00717.86
7.4.130.0140.00916.77
7.4.120.0110.00716.86
7.4.110.0140.00416.68
7.4.100.0100.00916.47
7.4.90.0150.00316.70
7.4.80.0100.00719.39
7.4.70.0070.01016.77
7.4.60.0000.02316.82
7.4.50.0020.00516.64
7.4.40.0070.01022.77
7.4.30.0000.01616.55
7.4.00.0070.00715.22
7.3.330.0060.00013.32
7.3.320.0050.00013.52
7.3.310.0040.00416.50
7.3.300.0030.00316.52
7.3.290.0180.00316.51
7.3.280.0080.00916.52
7.3.270.0070.01017.40
7.3.260.0150.00916.64
7.3.250.0140.00816.54
7.3.240.0110.01716.88
7.3.230.0150.00316.69
7.3.210.0110.00716.77
7.3.200.0090.00919.39
7.3.190.0150.00616.70
7.3.180.0070.01416.57
7.3.170.0090.00916.57
7.3.160.0130.00316.52
7.3.120.0000.01215.12
7.3.10.0160.00516.79
7.3.00.0220.00516.39
7.2.330.0030.01516.94
7.2.320.0180.00617.01
7.2.310.0110.00717.01
7.2.300.0160.00516.93
7.2.290.0070.01716.89
7.2.130.0300.01317.11
7.2.120.0170.01417.20
7.2.110.0070.01416.47
7.2.100.0180.01517.18
7.2.90.0210.01216.47
7.2.80.0670.01217.01
7.2.70.0340.00316.55
7.2.60.0120.01616.83
7.2.50.0390.00916.97
7.2.40.0470.01016.82
7.2.30.0280.01316.96
7.2.20.0230.00916.82
7.2.10.0400.01516.68
7.2.00.0280.00518.19
7.1.250.0140.01415.58
7.1.100.0060.00618.38
7.1.70.0070.00317.58
7.1.60.0070.00417.63
7.1.50.0170.01017.24
7.1.00.0070.07322.48
7.0.200.0030.01216.95
7.0.140.0130.06322.11
7.0.60.0170.03319.92
7.0.50.0070.05317.87
7.0.40.0030.04720.11
7.0.30.0270.06320.20
7.0.20.0270.07020.13
7.0.10.0200.08320.38
7.0.00.0100.08020.11
5.6.280.0130.06321.03
5.6.210.0070.08320.63
5.6.200.0000.08318.15
5.6.190.0000.04720.70
5.6.180.3500.04020.42
5.6.170.0300.04020.43
5.6.160.0070.08020.57
5.6.150.0070.07318.21
5.6.140.0070.04718.16
5.6.130.0100.07318.15
5.6.120.0170.07721.10
5.6.110.0100.08021.00
5.6.100.0070.07721.00
5.6.90.0030.09021.00
5.6.80.0070.03720.38
5.5.350.0070.05320.41
5.5.340.0170.07718.02
5.5.330.0100.05720.28
5.5.320.0200.08020.30
5.5.310.0100.04720.35
5.5.300.0070.04018.07
5.5.290.0030.08318.08
5.5.280.0070.06320.78
5.5.270.0170.07320.96
5.5.260.0200.07320.77
5.5.250.0100.06020.55
5.5.240.0170.04320.23
5.4.450.0500.05319.45
5.4.440.0400.05319.48
5.4.430.0170.05019.55
5.4.420.0130.05019.38
5.4.410.0170.06719.27
5.4.400.1600.00018.74
5.4.390.1670.00018.59
5.4.380.0270.05318.70
5.4.370.0300.05018.72
5.4.360.0270.05018.54
5.4.350.0230.05718.72
5.4.340.0230.05318.86
5.4.320.0100.06212.52
5.4.310.0030.04012.51
5.4.300.0070.05012.51
5.4.290.0030.04112.50
5.4.280.0110.03412.40
5.4.270.0100.04912.41
5.4.260.0230.05018.77
5.4.250.0130.05318.84
5.4.240.0170.05019.02
5.4.230.0100.05318.95
5.4.220.0170.05318.98
5.4.210.0100.05318.80
5.4.200.0070.08018.98
5.4.190.0200.05718.96
5.4.180.0130.04719.00
5.4.170.0130.04718.89
5.4.160.0100.05318.98
5.4.150.0100.06318.88
5.4.140.0100.06716.48
5.4.130.0170.06716.44
5.4.120.0130.07016.60
5.4.110.0130.06716.49
5.4.100.0130.06716.41
5.4.90.0130.06316.53
5.4.80.0170.05716.52
5.4.70.0130.06316.60
5.4.60.0100.07016.55
5.4.50.0130.04316.50
5.4.40.0030.06016.50
5.4.30.0170.04016.57
5.4.20.0170.06316.43
5.4.10.0070.06316.53
5.4.00.0200.05316.01
5.3.290.0070.03812.80
5.3.280.0100.07014.50
5.3.270.0070.05714.59
5.3.260.0100.05014.52
5.3.250.0170.05714.67
5.3.240.0270.05314.68
5.3.230.0070.06014.59
5.3.220.0070.05714.59
5.3.210.0130.07014.65
5.3.200.0170.05314.41
5.3.190.0170.04714.59
5.3.180.0070.05314.41
5.3.170.0030.07314.73
5.3.160.0100.05314.65
5.3.150.0070.05014.58
5.3.140.0070.05714.46
5.3.130.0100.07314.57
5.3.120.0130.05014.63
5.3.110.0100.07714.54
5.3.100.0170.05714.18
5.3.90.0100.06714.09
5.3.80.0270.04714.10
5.3.70.0070.06314.24
5.3.60.0130.06314.17
5.3.50.0170.06014.02
5.3.40.0170.05713.96
5.3.30.0030.05314.09
5.3.20.0200.03713.68
5.3.10.0030.05013.66
5.3.00.0030.05313.72
5.2.170.0130.03311.03
5.2.160.0070.03711.16
5.2.150.0100.04011.06
5.2.140.0030.04311.14
5.2.130.0000.04710.86
5.2.120.0030.06011.05
5.2.110.0070.05011.03
5.2.100.0070.04011.02
5.2.90.0070.03711.12
5.2.80.0030.04711.02
5.2.70.0000.06711.11
5.2.60.0070.04311.06
5.2.50.0030.04311.13
5.2.40.0100.03311.10
5.2.30.0070.03711.10
5.2.20.0030.04310.97
5.2.10.0130.03311.02
5.2.00.0000.04310.93
5.1.60.0030.03310.02
5.1.50.0070.0339.86
5.1.40.0070.0339.94
5.1.30.0100.02710.23
5.1.20.0070.05310.36
5.1.10.0030.0339.92
5.1.00.0030.03710.16
5.0.50.0030.0308.60
5.0.40.0030.0308.61
5.0.30.0000.0438.41
5.0.20.0070.0238.15
5.0.10.0130.0208.12
5.0.00.0000.0438.39
4.4.90.0100.0137.30
4.4.80.0000.0237.30
4.4.70.0100.0237.30
4.4.60.0030.0207.30
4.4.50.0000.0237.30
4.4.40.0070.0307.30
4.4.30.0100.0237.30
4.4.20.0070.0177.30
4.4.10.0000.0237.30
4.4.00.0070.0437.30
4.3.110.0030.0207.30
4.3.100.0000.0237.30
4.3.90.0000.0307.30
4.3.80.0000.0377.30
4.3.70.0030.0307.30
4.3.60.0030.0207.30
4.3.50.0030.0207.30
4.3.40.0030.0407.30
4.3.30.0070.0177.30
4.3.20.0000.0237.30
4.3.10.0000.0307.30
4.3.00.0070.0177.58

preferences:
38.67 ms | 401 KiB | 5 Q