3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Sonance Visual Performance Series features an award-winning <a href="">Visual Performance Series</a> low-profile grille that is paintable to blend into the wall or ceiling. With three shapes and sizes, several performance levels, and a range of Sonance Landscape Series specialty /ThinLine application speakers, a consistent look can be achieved for any application in every space.'; $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|$2)@', $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.0160.00018.50
8.3.60.0110.00718.43
8.3.50.0130.00622.05
8.3.40.0080.00819.09
8.3.30.0150.00019.08
8.3.20.0040.00420.37
8.3.10.0080.00022.04
8.3.00.0080.00022.37
8.2.180.0090.01316.74
8.2.170.0070.00722.96
8.2.160.0070.00721.06
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00726.16
8.2.120.0000.00819.61
8.2.110.0060.00322.24
8.2.100.0060.00617.97
8.2.90.0040.00419.43
8.2.80.0000.00818.05
8.2.70.0000.00817.75
8.2.60.0000.00818.05
8.2.50.0050.00318.07
8.2.40.0080.00018.28
8.2.30.0040.00418.16
8.2.20.0040.00417.84
8.2.10.0030.00518.04
8.2.00.0040.00418.00
8.1.280.0070.01425.92
8.1.270.0000.00722.17
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00623.80
8.1.230.0040.00819.17
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0030.00717.60
8.1.190.0040.00417.78
8.1.180.0040.00418.89
8.1.170.0000.00818.89
8.1.160.0000.00722.08
8.1.150.0000.00818.85
8.1.140.0080.00017.57
8.1.130.0040.00417.91
8.1.120.0070.00017.62
8.1.110.0080.00017.59
8.1.100.0040.00417.71
8.1.90.0030.00517.64
8.1.80.0000.00717.71
8.1.70.0030.00317.66
8.1.60.0040.00917.77
8.1.50.0000.00817.79
8.1.40.0000.00817.73
8.1.30.0030.00617.86
8.1.20.0080.00017.83
8.1.10.0080.00017.68
8.1.00.0030.00517.59
8.0.300.0030.00518.77
8.0.290.0040.00417.18
8.0.280.0040.00418.43
8.0.270.0000.00817.32
8.0.260.0070.00017.02
8.0.250.0050.00217.03
8.0.240.0000.00717.18
8.0.230.0030.00317.15
8.0.220.0030.00317.10
8.0.210.0070.00017.06
8.0.200.0000.00717.06
8.0.190.0030.00517.03
8.0.180.0000.00717.16
8.0.170.0050.00317.06
8.0.160.0030.00517.05
8.0.150.0030.00616.94
8.0.140.0040.00417.05
8.0.130.0060.00313.43
8.0.120.0050.00317.05
8.0.110.0040.00417.09
8.0.100.0000.00817.12
8.0.90.0000.00717.09
8.0.80.0120.00916.98
8.0.70.0000.00816.98
8.0.60.0000.00717.10
8.0.50.0040.00416.88
8.0.30.0090.01117.38
8.0.20.0110.01317.54
8.0.10.0040.00417.21
8.0.00.0090.01116.93
7.4.330.0050.00015.00
7.4.320.0000.00816.79
7.4.300.0030.00316.71
7.4.290.0030.00316.82
7.4.280.0030.00316.88
7.4.270.0040.00416.80
7.4.260.0000.00816.90
7.4.250.0000.00816.84
7.4.240.0030.00516.84
7.4.230.0040.00416.96
7.4.220.0130.01016.85
7.4.210.0070.01216.90
7.4.200.0000.00716.90
7.4.190.0000.00716.83
7.4.160.0040.01216.80
7.4.150.0090.00917.40
7.4.140.0090.01217.86
7.4.130.0120.00716.82
7.4.120.0130.00716.67
7.4.110.0060.01616.72
7.4.100.0070.01416.69
7.4.90.0110.00616.59
7.4.80.0070.01119.39
7.4.70.0110.00616.92
7.4.60.0110.01616.66
7.4.50.0050.00416.77
7.4.40.0000.01222.77
7.4.30.0180.00316.90
7.4.00.0060.00914.96
7.3.330.0030.00313.52
7.3.320.0030.00313.55
7.3.310.0000.00816.65
7.3.300.0030.00316.45
7.3.290.0060.01116.46
7.3.280.0100.00916.52
7.3.270.0070.01317.40
7.3.260.0140.00316.80
7.3.250.0030.01516.61
7.3.240.0040.01416.77
7.3.230.0130.00616.59
7.3.210.0110.00716.66
7.3.200.0070.01119.39
7.3.190.0090.01216.90
7.3.180.0000.01616.56
7.3.170.0120.01116.86
7.3.160.0090.00616.65
7.3.120.0060.00914.93
7.2.330.0150.00316.77
7.2.320.0130.01016.94
7.2.310.0060.01017.04
7.2.300.0130.00716.92
7.2.290.0100.00717.06
7.2.00.0030.01319.45
7.1.70.0030.00617.26
7.1.60.0200.00715.77
7.1.50.0070.01817.41
7.1.00.0070.07022.53
7.0.200.0120.01217.04
7.0.140.0070.07022.12
7.0.60.0100.08019.91
7.0.50.0130.07317.94
7.0.40.0030.06020.26
7.0.30.0230.04320.18
7.0.20.0200.04020.31
7.0.10.0130.04320.11
7.0.00.0130.06320.35
5.6.280.0070.07021.08
5.6.210.0030.04720.57
5.6.200.0000.04318.22
5.6.190.0030.06320.61
5.6.180.2230.05020.48
5.6.170.0100.04720.62
5.6.160.0130.07320.46
5.6.150.0030.04318.15
5.6.140.0070.08018.15
5.6.130.0030.08018.30
5.6.120.0030.04321.11
5.6.110.0100.04020.98
5.6.100.0100.08721.02
5.6.90.0000.09321.11
5.6.80.0170.08020.50
5.6.70.0330.05320.50
5.5.350.0100.07720.45
5.5.340.0000.04017.98
5.5.330.0000.05320.41
5.5.320.0170.08020.38
5.5.310.0330.07320.30
5.5.300.0000.04317.91
5.5.290.0000.05317.97
5.5.280.0000.09320.98
5.5.270.0030.05720.88
5.5.260.0130.07720.87
5.5.250.0100.06320.79
5.5.240.0200.06720.27
5.4.450.0630.05319.57
5.4.440.0330.05319.48
5.4.430.0070.06019.53
5.4.420.0070.05719.52
5.4.410.0070.06019.29
5.4.400.1500.00018.81
5.4.390.1870.00018.57
5.4.380.0400.06318.77
5.4.370.0230.05318.81
5.4.360.0200.05318.61
5.4.350.0300.05318.54
5.4.340.0230.05718.57
5.4.320.0070.04012.52
5.4.310.0060.03812.52
5.4.300.0040.03712.52
5.4.290.0030.04012.51
5.4.280.0100.03412.41
5.4.270.0070.04912.41
5.4.260.0030.05719.10
5.4.250.0130.05718.94
5.4.240.0170.05018.96
5.4.230.0170.04719.09
5.4.220.0130.07018.95
5.4.210.0130.05318.73
5.4.200.0130.08018.95
5.4.190.0070.06018.96
5.4.180.0070.07018.76
5.4.170.0130.05018.73
5.4.160.0170.06719.03
5.4.150.0100.06018.99
5.4.140.0100.05016.61
5.4.130.0070.05316.44
5.4.120.0130.05016.45
5.4.110.0100.05316.57
5.4.100.0070.05316.50
5.4.90.0230.04316.45
5.4.80.0100.05016.69
5.4.70.0170.04016.54
5.4.60.0070.05016.39
5.4.50.0130.06316.43
5.4.40.0070.05716.50
5.4.30.0270.05716.50
5.4.20.0130.05016.49
5.4.10.0200.06716.52
5.4.00.0200.05315.85
5.3.290.0120.05012.80
5.3.280.0200.06714.69
5.3.270.0130.07014.80
5.3.260.0300.06014.78
5.3.250.0130.05014.66
5.3.240.0070.05014.70
5.3.230.0130.06014.51
5.3.220.0100.05314.48
5.3.210.0130.05314.64
5.3.200.0170.04314.57
5.3.190.0030.06014.68
5.3.180.0070.05014.75
5.3.170.0100.04714.66
5.3.160.0170.07014.58
5.3.150.0030.05314.40
5.3.140.0070.05314.40
5.3.130.0070.06314.64
5.3.120.0130.05714.62
5.3.110.0100.07014.39
5.3.100.0030.05714.20
5.3.90.0170.04314.18
5.3.80.0030.06013.86
5.3.70.0100.04714.18
5.3.60.0170.04014.07
5.3.50.0170.06014.13
5.3.40.0200.03713.92
5.3.30.0100.04713.90
5.3.20.0130.06313.88
5.3.10.0100.06713.63
5.3.00.0170.06313.47
5.2.170.0270.03311.16
5.2.160.0030.04311.16
5.2.150.0030.04310.91
5.2.140.0000.05011.06
5.2.130.0030.04711.02
5.2.120.0030.06311.13
5.2.110.0030.04311.04
5.2.100.0030.06011.02
5.2.90.0030.04011.02
5.2.80.0130.04011.11
5.2.70.0070.04310.93
5.2.60.0000.05311.06
5.2.50.0100.04011.04
5.2.40.0030.04711.02
5.2.30.0130.03310.81
5.2.20.0030.04010.96
5.2.10.0100.03310.93
5.2.00.0130.03710.73
5.1.60.0030.03310.19
5.1.50.0100.03710.16
5.1.40.0000.05010.17
5.1.30.0000.03710.27
5.1.20.0030.04010.43
5.1.10.0100.03310.30
5.1.00.0030.04710.16
5.0.50.0030.04010.16
5.0.40.0070.02710.16
5.0.30.0070.06010.16
5.0.20.0070.02710.16
5.0.10.0030.02710.16
5.0.00.0000.06010.16
4.4.90.0070.01710.16
4.4.80.0070.02010.16
4.4.70.0000.02710.16
4.4.60.0000.02310.16
4.4.50.0000.02310.16
4.4.40.0000.03710.16
4.4.30.0030.02310.16
4.4.20.0000.02310.16
4.4.10.0070.02010.16
4.4.00.0070.03010.16
4.3.110.0070.02710.16
4.3.100.0030.02710.16
4.3.90.0000.03310.16
4.3.80.0070.02710.16
4.3.70.0030.03010.16
4.3.60.0030.01710.16
4.3.50.0030.02310.16
4.3.40.0100.03310.16
4.3.30.0000.02710.16
4.3.20.0000.02310.16
4.3.10.0000.02310.16
4.3.00.0070.0177.02

preferences:
35.24 ms | 401 KiB | 5 Q