3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<a href="">Visual Performance Series</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.'(\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.60.0040.01418.65
8.3.50.0120.00721.99
8.3.40.0150.00019.14
8.3.30.0100.00719.09
8.3.20.0000.00820.21
8.3.10.0000.00822.13
8.3.00.0070.00022.50
8.2.180.0000.01518.54
8.2.170.0130.00322.96
8.2.160.0090.00621.14
8.2.150.0080.00024.18
8.2.140.0000.01024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.54
8.2.110.0110.00019.26
8.2.100.0060.00618.03
8.2.90.0000.00919.30
8.2.80.0000.00817.97
8.2.70.0060.00317.61
8.2.60.0060.00318.16
8.2.50.0030.00518.07
8.2.40.0040.00418.28
8.2.30.0040.00418.25
8.2.20.0000.00817.84
8.2.10.0050.00318.05
8.2.00.0070.00318.04
8.1.280.0140.00425.92
8.1.270.0080.00022.13
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00022.31
8.1.230.0080.00319.18
8.1.220.0030.00517.89
8.1.210.0030.00518.77
8.1.200.0000.01017.73
8.1.190.0050.00317.48
8.1.180.0080.00018.92
8.1.170.0040.00418.71
8.1.160.0020.00522.09
8.1.150.0030.00518.76
8.1.140.0040.00417.53
8.1.130.0040.00417.93
8.1.120.0050.00217.61
8.1.110.0000.00817.54
8.1.100.0040.00417.56
8.1.90.0040.00417.63
8.1.80.0000.00817.55
8.1.70.0030.00317.57
8.1.60.0060.00317.71
8.1.50.0000.00817.76
8.1.40.0040.00417.77
8.1.30.0040.00417.81
8.1.20.0040.00417.90
8.1.10.0060.00317.66
8.1.00.0060.00317.57
8.0.300.0000.00718.77
8.0.290.0030.00516.88
8.0.280.0070.00018.37
8.0.270.0040.00417.28
8.0.260.0030.00317.02
8.0.250.0000.00717.17
8.0.240.0080.00017.11
8.0.230.0020.00517.11
8.0.220.0070.00017.06
8.0.210.0000.00916.95
8.0.200.0060.00017.07
8.0.190.0000.00817.09
8.0.180.0040.00416.99
8.0.170.0000.00817.16
8.0.160.0000.00816.95
8.0.150.0040.00416.88
8.0.140.0030.00616.98
8.0.130.0000.00613.58
8.0.120.0090.00017.10
8.0.110.0040.00417.02
8.0.100.0060.00316.86
8.0.90.0050.00216.88
8.0.80.0110.00317.10
8.0.70.0000.00716.95
8.0.60.0040.00416.88
8.0.50.0000.00717.11
8.0.30.0090.00917.34
8.0.20.0100.00917.40
8.0.10.0000.00817.20
8.0.00.0070.01216.78
7.4.330.0000.00515.00
7.4.320.0000.00616.84
7.4.300.0060.00016.71
7.4.290.0000.00716.76
7.4.280.0040.00416.73
7.4.270.0070.00016.86
7.4.260.0060.00316.68
7.4.250.0020.00516.58
7.4.240.0040.00416.79
7.4.230.0020.00516.97
7.4.220.0100.00716.69
7.4.210.0090.00716.85
7.4.200.0000.00716.75
7.4.190.0040.00416.93
7.4.160.0110.00716.59
7.4.150.0150.00317.40
7.4.140.0090.01017.86
7.4.130.0100.00916.76
7.4.120.0150.00516.84
7.4.110.0140.00916.91
7.4.100.0070.01116.88
7.4.90.0180.00016.81
7.4.80.0100.01719.39
7.4.70.0060.01016.68
7.4.60.0000.01916.75
7.4.50.0060.00316.79
7.4.40.0040.00722.77
7.4.30.0070.01016.80
7.4.00.0100.00715.34
7.3.330.0000.00613.52
7.3.320.0030.00313.54
7.3.310.0080.00016.35
7.3.300.0030.00316.59
7.3.290.0040.01116.45
7.3.280.0100.00716.56
7.3.270.0140.01017.40
7.3.260.0070.01116.50
7.3.250.0130.00616.68
7.3.240.0000.01616.58
7.3.230.0140.00316.50
7.3.210.0090.00916.70
7.3.200.0120.00819.39
7.3.190.0120.00616.70
7.3.180.0090.00916.71
7.3.170.0090.00916.75
7.3.160.0090.00916.61
7.3.120.0030.01315.21
7.3.10.0040.00716.95
7.3.00.0040.01116.98
7.2.330.0090.00917.09
7.2.320.0100.01017.10
7.2.310.0090.00617.01
7.2.300.0070.01016.86
7.2.290.0130.00616.82
7.2.130.0050.00517.29
7.2.120.0030.00917.21
7.2.110.0030.01017.33
7.2.100.0100.00316.95
7.2.90.0100.00317.25
7.2.80.0060.00317.15
7.2.70.0000.01417.22
7.2.60.0070.01017.38
7.2.50.0040.00417.31
7.2.40.0030.01017.30
7.2.30.0100.00317.19
7.2.20.0030.00817.00
7.2.10.0080.00817.08
7.2.00.0070.00718.37
7.1.250.0090.00315.93
7.1.100.0030.01018.45
7.1.70.0030.00717.37
7.1.60.0100.01419.82
7.1.50.0130.01017.36
7.1.00.0000.08022.49
7.0.200.0000.01116.83
7.0.140.0100.06722.00
7.0.60.0100.08319.84
7.0.50.0130.06318.00
7.0.40.0070.04720.30
7.0.30.0370.06720.13
7.0.20.0200.04320.27
7.0.10.0170.04320.38
7.0.00.0100.06320.30
5.6.280.0070.06321.11
5.6.210.0070.05020.77
5.6.200.0030.06718.25
5.6.190.0030.05020.77
5.6.180.3430.04720.46
5.6.170.0270.06720.50
5.6.160.0030.09020.47
5.6.150.0030.04318.25
5.6.140.0070.08018.29
5.6.130.0100.08018.12
5.6.120.0100.07721.00
5.6.110.0030.08021.01
5.6.100.0200.07321.00
5.6.90.0070.09021.13
5.6.80.0100.03720.51
5.6.70.0230.07320.50
5.5.350.0100.07020.31
5.5.340.0170.06317.98
5.5.330.0100.07020.26
5.5.320.0230.08720.40
5.5.310.0170.04020.37
5.5.300.0070.08017.98
5.5.290.0070.05317.97
5.5.280.0130.07020.69
5.5.270.0100.07320.65
5.5.260.0130.07020.67
5.5.250.0130.06320.55
5.5.240.0030.04320.28
5.4.450.0100.07019.64
5.4.440.0400.05319.48
5.4.430.0170.04719.43
5.4.420.0170.04719.32
5.4.410.0100.05019.11
5.4.400.1330.00018.84
5.4.390.1530.00018.53
5.4.380.0270.05318.54
5.4.370.0170.06018.65
5.4.360.0230.05318.71
5.4.350.0270.05318.82
5.4.340.0300.05018.70
5.4.320.0050.03712.51
5.4.310.0070.03612.51
5.4.300.0050.03612.52
5.4.290.0080.03912.50
5.4.280.0090.03612.40
5.4.270.0020.03912.40
5.4.260.0070.07318.80
5.4.250.0130.04719.00
5.4.240.0100.05018.96
5.4.230.0170.04318.76
5.4.220.0100.05018.99
5.4.210.0030.05318.79
5.4.200.0030.06319.09
5.4.190.0070.07718.98
5.4.180.0170.06318.95
5.4.170.0130.06718.98
5.4.160.0070.05318.91
5.4.150.0130.05018.88
5.4.140.0030.07316.41
5.4.130.0130.04016.41
5.4.120.0070.05016.48
5.4.110.0130.04716.67
5.4.100.0130.04316.46
5.4.90.0100.04316.53
5.4.80.0100.04316.52
5.4.70.0130.04316.65
5.4.60.0030.07716.64
5.4.50.0070.05316.43
5.4.40.0030.05016.43
5.4.30.0270.05016.43
5.4.20.0070.05016.67
5.4.10.0100.06716.57
5.4.00.0070.05015.86
5.3.290.0060.04312.80
5.3.280.0100.04714.69
5.3.270.0170.04014.70
5.3.260.0100.06014.61
5.3.250.0070.05014.74
5.3.240.0030.05314.61
5.3.230.0070.05314.69
5.3.220.0170.04014.47
5.3.210.0030.05714.59
5.3.200.0100.04714.40
5.3.190.0070.05014.70
5.3.180.0000.05314.64
5.3.170.0070.05014.58
5.3.160.0030.07314.47
5.3.150.0200.05714.39
5.3.140.0070.04714.65
5.3.130.0170.06014.57
5.3.120.0130.06314.77
5.3.110.0100.05014.70
5.3.100.0130.04314.11
5.3.90.0070.05014.18
5.3.80.0070.05014.20
5.3.70.0000.05314.01
5.3.60.0030.05014.00
5.3.50.0030.07013.96
5.3.40.0100.05314.03
5.3.30.0070.04713.98
5.3.20.0070.05013.76
5.3.10.0230.05313.81
5.3.00.0070.07713.86
5.2.170.0030.04011.25
5.2.160.0070.03710.91
5.2.150.0000.04711.06
5.2.140.0070.03711.29
5.2.130.0030.04011.11
5.2.120.0000.04011.10
5.2.110.0030.04011.19
5.2.100.0070.03710.93
5.2.90.0070.05311.02
5.2.80.0070.04011.01
5.2.70.0200.04011.24
5.2.60.0070.04011.17
5.2.50.0070.04011.18
5.2.40.0030.04310.92
5.2.30.0070.04010.81
5.2.20.0070.05710.97
5.2.10.0070.04010.92
5.2.00.0070.04310.49
5.1.60.0030.0379.96
5.1.50.0100.03010.09
5.1.40.0000.0439.92
5.1.30.0070.03310.23
5.1.20.0000.05310.29
5.1.10.0030.03710.09
5.1.00.0100.04310.30
5.0.50.0070.0238.64
5.0.40.0070.0238.48
5.0.30.0100.0438.07
5.0.20.0130.0278.16
5.0.10.0030.0308.00
5.0.00.0070.0508.23
4.4.90.0030.0277.24
4.4.80.0030.0207.24
4.4.70.0070.0277.24
4.4.60.0030.0277.24
4.4.50.0070.0177.24
4.4.40.0070.0407.24
4.4.30.0070.0277.24
4.4.20.0070.0177.24
4.4.10.0070.0177.24
4.4.00.0100.0277.24
4.3.110.0030.0207.24
4.3.100.0030.0277.24
4.3.90.0000.0307.24
4.3.80.0030.0337.24
4.3.70.0100.0207.24
4.3.60.0000.0237.24
4.3.50.0070.0177.24
4.3.40.0130.0307.24
4.3.30.0100.0237.24
4.3.20.0030.0237.24
4.3.10.0070.0207.24
4.3.00.0170.0237.58

preferences:
63.35 ms | 400 KiB | 5 Q