3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<a href="">Visual Performance</a>'; $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.70.0070.01118.56
8.3.60.0120.00618.43
8.3.50.0180.00922.11
8.3.40.0110.00418.89
8.3.30.0140.00019.01
8.3.20.0140.00020.29
8.3.10.0040.00422.10
8.3.00.0040.00422.29
8.2.190.0060.01316.63
8.2.180.0120.00316.75
8.2.170.0180.00022.96
8.2.160.0040.01121.10
8.2.150.0030.00624.18
8.2.140.0090.00024.66
8.2.130.0040.01126.16
8.2.120.0040.00419.74
8.2.110.0060.00322.33
8.2.100.0090.00317.91
8.2.90.0030.00617.88
8.2.80.0050.00317.97
8.2.70.0080.00317.88
8.2.60.0080.00017.75
8.2.50.0050.00218.05
8.2.40.0030.00618.05
8.2.30.0030.00718.17
8.2.20.0030.00617.89
8.2.10.0060.00317.87
8.2.00.0040.00717.97
8.1.280.0110.00725.92
8.1.270.0000.00922.14
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00624.00
8.1.230.0040.01019.00
8.1.220.0080.00017.89
8.1.210.0050.00318.77
8.1.200.0000.00917.60
8.1.190.0040.00817.47
8.1.180.0100.00318.10
8.1.170.0000.00817.62
8.1.160.0050.00321.96
8.1.150.0000.00718.77
8.1.140.0000.00817.59
8.1.130.0030.00317.85
8.1.120.0070.00017.57
8.1.110.0060.00317.54
8.1.100.0000.00717.58
8.1.90.0000.00817.64
8.1.80.0040.00417.53
8.1.70.0020.00517.64
8.1.60.0060.00317.60
8.1.50.0000.00817.62
8.1.40.0040.00417.65
8.1.30.0000.00917.83
8.1.20.0030.00617.82
8.1.10.0000.00817.63
8.1.00.0040.00417.72
8.0.300.0050.00319.90
8.0.290.0040.00416.88
8.0.280.0000.00718.44
8.0.270.0000.00717.30
8.0.260.0030.00316.93
8.0.250.0000.00717.01
8.0.240.0030.00317.19
8.0.230.0040.00417.18
8.0.220.0040.00416.96
8.0.210.0070.00417.02
8.0.200.0030.00517.11
8.0.190.0000.00717.13
8.0.180.0070.00017.04
8.0.170.0040.00417.01
8.0.160.0090.00017.04
8.0.150.0040.00417.07
8.0.140.0040.00417.00
8.0.130.0030.00313.52
8.0.120.0030.00517.10
8.0.110.0040.00416.95
8.0.100.0030.00617.10
8.0.90.0000.00716.90
8.0.80.0090.00617.04
8.0.70.0000.00717.14
8.0.60.0000.00717.03
8.0.50.0050.00317.07
8.0.30.0110.01017.31
8.0.20.0100.00917.41
8.0.10.0030.00517.23
8.0.00.0100.00917.00
7.4.330.0050.00015.00
7.4.320.0060.00016.67
7.4.300.0000.00716.86
7.4.290.0000.00716.75
7.4.280.0000.00816.75
7.4.270.0070.00016.84
7.4.260.0000.01116.84
7.4.250.0000.00816.79
7.4.240.0050.00316.79
7.4.230.0000.00716.83
7.4.220.0060.01216.71
7.4.210.0050.01316.90
7.4.200.0000.00716.73
7.4.190.0020.00516.82
7.4.160.0060.00916.75
7.4.150.0030.01417.40
7.4.140.0130.00617.86
7.4.130.0110.00716.82
7.4.120.0130.00816.79
7.4.110.0090.00916.61
7.4.100.0040.01816.74
7.4.90.0140.00316.66
7.4.80.0030.01319.39
7.4.70.0150.00316.63
7.4.60.0070.01416.54
7.4.50.0060.00316.73
7.4.40.0030.01422.77
7.4.30.0090.01516.69
7.4.00.0040.01415.05
7.3.330.0030.00313.45
7.3.320.0030.00313.45
7.3.310.0040.00416.64
7.3.300.0070.00016.59
7.3.290.0060.00916.37
7.3.280.0090.00916.50
7.3.270.0070.01017.40
7.3.260.0170.00016.47
7.3.250.0090.01016.43
7.3.240.0070.01016.41
7.3.230.0070.01016.79
7.3.210.0060.01216.54
7.3.200.0090.00919.39
7.3.190.0150.00916.56
7.3.180.0070.01116.44
7.3.170.0100.01316.51
7.3.160.0070.01016.66
7.3.120.0060.00914.85
7.3.10.0060.00916.82
7.3.00.0070.00916.86
7.2.330.0100.00716.70
7.2.320.0110.00716.82
7.2.310.0080.00816.91
7.2.300.0160.00616.92
7.2.290.0120.00616.91
7.2.130.0070.00517.16
7.2.120.0030.01017.13
7.2.110.0030.00917.06
7.2.100.0040.00817.17
7.2.90.0050.00917.16
7.2.80.0030.00917.33
7.2.70.0080.00517.18
7.2.60.0050.00716.99
7.2.50.0060.00816.97
7.2.40.0020.01017.29
7.2.30.0040.01117.14
7.2.20.0030.00817.26
7.2.10.0050.01117.20
7.2.00.0050.00818.06
7.1.250.0070.00715.96
7.1.100.1200.00316.38
7.1.70.0000.00817.45
7.1.60.0060.01919.82
7.1.50.0130.01017.27
7.1.00.0030.08322.39
7.0.200.0050.00217.05
7.0.140.0000.07322.10
7.0.60.0130.05320.06
7.0.50.0100.04017.79
7.0.40.0100.06320.25
7.0.30.0330.07020.11
7.0.20.0330.07320.27
7.0.10.0170.08720.25
7.0.00.0070.07320.20
5.6.280.0130.06321.14
5.6.210.0130.06020.67
5.6.200.0070.05018.29
5.6.190.0070.03720.34
5.6.180.4100.03720.73
5.6.170.0370.07020.45
5.6.160.0170.07320.47
5.6.150.0100.07018.14
5.6.140.0070.05018.14
5.6.130.0070.04018.13
5.6.120.0000.04721.04
5.6.110.0070.08321.09
5.6.100.0030.05721.00
5.6.90.0200.07320.96
5.6.80.0030.04020.38
5.6.70.0270.07720.38
5.5.350.0000.08720.38
5.5.340.0070.04017.99
5.5.330.0070.07020.57
5.5.320.0230.04720.33
5.5.310.0170.03720.28
5.5.300.0070.08017.95
5.5.290.0100.05018.05
5.5.280.0070.05020.80
5.5.270.0070.06320.65
5.5.260.0200.07020.76
5.5.250.0200.06020.59
5.5.240.0200.07020.03
5.4.450.0030.06319.59
5.4.440.0330.05319.65
5.4.430.0130.05019.39
5.4.420.0200.06719.55
5.4.410.0170.06019.33
5.4.400.0770.00018.90
5.4.390.0830.00018.62
5.4.380.0370.05018.75
5.4.370.0330.04718.59
5.4.360.0270.05018.78
5.4.350.0400.05318.79
5.4.340.0300.05718.75
5.4.320.0080.04612.51
5.4.310.0070.04212.51
5.4.300.0080.03812.52
5.4.290.0040.04312.51
5.4.280.0070.03312.40
5.4.270.0070.03412.40
5.4.260.0000.05718.76
5.4.250.0130.05018.83
5.4.240.0200.04718.98
5.4.230.0100.07018.95
5.4.220.0100.05318.79
5.4.210.0200.04018.89
5.4.200.0100.04719.02
5.4.190.0130.07019.00
5.4.180.0030.05719.02
5.4.170.0130.07019.01
5.4.160.0130.04718.88
5.4.150.0200.04718.63
5.4.140.0000.06016.39
5.4.130.0100.06316.48
5.4.120.0070.05016.40
5.4.110.0030.05316.57
5.4.100.0070.05716.61
5.4.90.0070.05016.54
5.4.80.0200.05716.55
5.4.70.0070.05016.44
5.4.60.0130.05716.54
5.4.50.0070.04716.41
5.4.40.0070.05016.44
5.4.30.0100.06716.64
5.4.20.0170.05716.38
5.4.10.0200.06316.43
5.4.00.0070.05015.72
5.3.290.0070.03712.80
5.3.280.0100.05014.78
5.3.270.0000.06014.70
5.3.260.0030.05714.59
5.3.250.0170.04314.75
5.3.240.0100.07314.79
5.3.230.0130.06014.76
5.3.220.0130.07014.70
5.3.210.0030.06314.57
5.3.200.0130.05014.71
5.3.190.0070.06314.47
5.3.180.0070.06314.64
5.3.170.0070.05714.58
5.3.160.0000.06314.58
5.3.150.0070.06314.78
5.3.140.0070.05014.66
5.3.130.0030.06714.72
5.3.120.0100.07314.52
5.3.110.0100.05014.63
5.3.100.0100.06714.04
5.3.90.0000.07014.10
5.3.80.0070.06014.11
5.3.70.0030.05313.85
5.3.60.0070.05014.08
5.3.50.0030.05313.85
5.3.40.0070.05014.04
5.3.30.0100.07013.81
5.3.20.0100.04713.76
5.3.10.0070.07313.73
5.3.00.0100.07013.46
5.2.170.0130.04711.14
5.2.160.0100.05711.16
5.2.150.0030.04311.24
5.2.140.0130.05311.05
5.2.130.0100.04011.20
5.2.120.0170.04711.11
5.2.110.0030.04311.12
5.2.100.0100.03711.21
5.2.90.0030.04010.94
5.2.80.0030.04311.09
5.2.70.0070.04311.09
5.2.60.0070.04311.00
5.2.50.0000.04311.14
5.2.40.0000.04311.09
5.2.30.0000.04310.99
5.2.20.0170.02710.86
5.2.10.0100.04310.77
5.2.00.0130.03710.80
5.1.60.0030.03310.04
5.1.50.0030.0539.86
5.1.40.0030.03310.02
5.1.30.0070.03710.23
5.1.20.0100.03310.44
5.1.10.0130.03310.23
5.1.00.0100.03010.13
5.0.50.0070.0378.45
5.0.40.0030.0278.47
5.0.30.0030.0438.30
5.0.20.0070.0238.18
5.0.10.0030.0338.09
5.0.00.0000.0608.25
4.4.90.0030.0207.24
4.4.80.0000.0237.24
4.4.70.0070.0177.24
4.4.60.0000.0237.24
4.4.50.0000.0237.24
4.4.40.0030.0407.24
4.4.30.0100.0207.24
4.4.20.0030.0307.24
4.4.10.0100.0177.24
4.4.00.0000.0477.24
4.3.110.0200.0107.24
4.3.100.0070.0177.24
4.3.90.0000.0237.24
4.3.80.0070.0307.24
4.3.70.0000.0207.24
4.3.60.0070.0137.24
4.3.50.0070.0237.24
4.3.40.0030.0437.24
4.3.30.0100.0237.24
4.3.20.0030.0207.24
4.3.10.0070.0177.24
4.3.00.0100.0207.58

preferences:
54.97 ms | 401 KiB | 5 Q