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|$)@', $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.0060.01518.31
8.3.50.0100.01022.17
8.3.40.0170.00319.19
8.3.30.0070.01119.22
8.3.20.0040.00420.30
8.3.10.0000.00822.13
8.3.00.0050.00322.29
8.2.180.0090.00916.63
8.2.170.0070.00722.96
8.2.160.0030.01020.88
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0090.00926.16
8.2.120.0040.00419.38
8.2.110.0060.00322.29
8.2.100.0100.00619.76
8.2.90.0060.00319.34
8.2.80.0000.00918.15
8.2.70.0060.00317.88
8.2.60.0030.00618.04
8.2.50.0080.00018.07
8.2.40.0080.00018.16
8.2.30.0080.00018.13
8.2.20.0030.00517.97
8.2.10.0000.00817.91
8.2.00.0030.00517.89
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0070.00728.09
8.1.240.0140.00420.59
8.1.230.0040.00818.01
8.1.220.0050.00317.80
8.1.210.0000.00818.77
8.1.200.0030.00717.50
8.1.190.0050.00317.66
8.1.180.0040.00418.81
8.1.170.0030.00618.92
8.1.160.0000.00722.08
8.1.150.0040.00418.84
8.1.140.0040.00417.64
8.1.130.0040.00417.79
8.1.120.0040.00417.73
8.1.110.0000.00917.67
8.1.100.0000.00717.67
8.1.90.0040.00417.59
8.1.80.0030.00617.64
8.1.70.0000.00717.56
8.1.60.0030.00917.77
8.1.50.0040.00417.71
8.1.40.0090.00017.66
8.1.30.0000.00817.81
8.1.20.0060.00317.70
8.1.10.0000.00817.78
8.1.00.0000.00817.57
8.0.300.0000.00818.77
8.0.290.0050.00217.30
8.0.280.0070.00018.52
8.0.270.0040.00417.34
8.0.260.0040.00418.59
8.0.250.0000.00717.14
8.0.240.0050.00317.15
8.0.230.0030.00417.21
8.0.220.0000.00717.09
8.0.210.0000.00717.06
8.0.200.0050.00317.14
8.0.190.0080.00017.15
8.0.180.0000.00817.13
8.0.170.0000.00817.16
8.0.160.0040.00417.04
8.0.150.0020.00517.05
8.0.140.0040.00417.04
8.0.130.0060.00013.51
8.0.120.0060.00317.10
8.0.110.0000.00817.14
8.0.100.0050.00217.09
8.0.90.0000.00716.93
8.0.80.0030.01317.03
8.0.70.0030.00517.02
8.0.60.0000.00717.14
8.0.50.0040.00416.96
8.0.30.0100.01017.30
8.0.20.0110.00917.46
8.0.10.0070.00017.23
8.0.00.0040.01416.98
7.4.330.0030.00315.14
7.4.320.0000.00716.74
7.4.300.0000.00616.78
7.4.290.0070.00016.77
7.4.280.0030.00316.68
7.4.270.0070.00016.88
7.4.260.0070.00016.76
7.4.250.0050.00216.64
7.4.240.0060.00216.88
7.4.230.0000.00716.75
7.4.220.0120.00616.81
7.4.210.0080.00916.87
7.4.200.0000.00716.61
7.4.190.0080.00016.92
7.4.160.0030.01216.72
7.4.150.0070.02017.40
7.4.140.0130.00617.86
7.4.130.0080.01116.74
7.4.120.0050.01216.71
7.4.110.0160.00616.79
7.4.100.0120.00916.68
7.4.90.0090.00916.94
7.4.80.0030.01619.39
7.4.70.0070.01416.71
7.4.60.0100.01016.79
7.4.50.0000.00916.83
7.4.40.0080.00822.77
7.4.30.0000.01716.54
7.4.00.0040.00815.27
7.3.330.0030.00313.52
7.3.320.0050.00013.35
7.3.310.0050.00216.43
7.3.300.0000.00716.43
7.3.290.0090.00916.48
7.3.280.0070.01216.51
7.3.270.0110.00717.40
7.3.260.0090.00916.58
7.3.250.0090.00916.64
7.3.240.0100.00716.79
7.3.230.0080.01516.54
7.3.210.0100.00716.57
7.3.200.0100.00719.39
7.3.190.0170.00716.57
7.3.180.0090.00916.82
7.3.170.0090.00916.48
7.3.160.0080.00816.68
7.3.120.0040.01115.09
7.2.330.0180.00017.03
7.2.320.0120.00916.90
7.2.310.0120.00816.88
7.2.300.0130.00317.04
7.2.290.0080.00916.89
7.1.70.0020.00517.40
7.1.60.0140.01019.82
7.1.50.0090.00917.39
7.1.00.0030.07722.49
7.0.200.0030.00616.93
7.0.140.0000.07721.96
7.0.60.0030.04320.13
7.0.50.0070.08318.03
7.0.40.0070.08320.34
7.0.30.0370.06320.14
7.0.20.0270.07720.14
7.0.10.0200.03720.14
7.0.00.0100.06720.28
5.6.280.0030.07720.87
5.6.210.0200.07020.61
5.6.200.0070.04718.14
5.6.190.0030.04320.46
5.6.180.0170.07320.46
5.6.170.0530.06720.48
5.6.160.0100.05320.71
5.6.150.0070.04718.18
5.6.140.0130.07318.14
5.6.130.0100.05318.18
5.6.120.0170.07321.02
5.6.110.0130.07721.04
5.6.100.0130.07320.95
5.6.90.0130.08721.13
5.6.80.0170.06720.40
5.6.70.0030.06020.36
5.5.350.0000.08020.41
5.5.340.0030.06018.07
5.5.330.0030.06020.28
5.5.320.0130.06720.20
5.5.310.0300.04320.27
5.5.300.0070.04018.08
5.5.290.0070.08017.92
5.5.280.0070.07320.98
5.5.270.0070.07720.96
5.5.260.0070.08020.68
5.5.250.0200.07020.71
5.5.240.0170.05320.26
5.4.450.0500.05319.64
5.4.440.0430.05719.34
5.4.430.0070.06019.55
5.4.420.0170.05019.55
5.4.410.0100.05319.44
5.4.400.1830.00018.52
5.4.390.1770.00018.76
5.4.380.0200.06018.54
5.4.370.0370.05718.77
5.4.360.0270.05018.53
5.4.350.0300.06018.79
5.4.340.0330.05018.54
5.4.320.0050.03712.52
5.4.310.0090.03512.51
5.4.300.0050.03712.52
5.4.290.0050.03912.51
5.4.280.0070.03912.40
5.4.270.0030.03912.41
5.4.260.0000.05718.75
5.4.250.0130.05718.90
5.4.240.0230.06018.98
5.4.230.0070.08018.86
5.4.220.0170.05018.79
5.4.210.0100.05018.86
5.4.200.0070.08018.75
5.4.190.0200.06318.88
5.4.180.0070.06019.00
5.4.170.0030.08318.92
5.4.160.0070.06018.80
5.4.150.0070.08318.93
5.4.140.0100.05716.55
5.4.130.0070.04716.40
5.4.120.0030.05316.55
5.4.110.0130.04316.44
5.4.100.0070.04716.52
5.4.90.0130.04016.61
5.4.80.0030.05016.54
5.4.70.0130.06716.64
5.4.60.0070.04716.53
5.4.50.0070.07016.34
5.4.40.0070.04716.66
5.4.30.0070.06016.34
5.4.20.0100.04316.50
5.4.10.0030.05716.59
5.4.00.0070.05015.89
5.3.290.0060.04012.80
5.3.280.0170.04714.77
5.3.270.0030.05314.60
5.3.260.0070.08014.70
5.3.250.0070.07014.75
5.3.240.0130.06314.83
5.3.230.0070.05014.58
5.3.220.0030.07014.66
5.3.210.0100.04714.67
5.3.200.0070.06014.60
5.3.190.0130.04314.67
5.3.180.0030.05714.64
5.3.170.0030.07314.41
5.3.160.0070.05014.66
5.3.150.0130.04714.73
5.3.140.0030.05714.73
5.3.130.0130.04714.53
5.3.120.0000.06014.64
5.3.110.0030.08314.38
5.3.100.0070.05314.11
5.3.90.0170.06714.11
5.3.80.0070.05014.00
5.3.70.0100.04714.02
5.3.60.0100.04714.18
5.3.50.0170.06013.93
5.3.40.0070.05314.02
5.3.30.0130.05313.98
5.3.20.0100.06313.67
5.3.10.0030.05713.67
5.3.00.0070.06713.71
5.2.170.0030.05710.91
5.2.160.0100.03711.26
5.2.150.0000.05011.24
5.2.140.0070.04311.16
5.2.130.0000.05011.12
5.2.120.0100.04711.20
5.2.110.0100.04711.00
5.2.100.0100.05711.12
5.2.90.0070.05011.11
5.2.80.0000.05011.00
5.2.70.0000.04711.11
5.2.60.0030.04311.17
5.2.50.0000.04311.02
5.2.40.0030.05010.89
5.2.30.0070.05710.99
5.2.20.0000.04310.95
5.2.10.0100.03011.02
5.2.00.0030.04010.73
5.1.60.0000.04010.16
5.1.50.0000.03710.16
5.1.40.0030.03310.16
5.1.30.0030.03710.33
5.1.20.0070.03310.44
5.1.10.0030.03310.26
5.1.00.0030.03710.16
5.0.50.0000.03010.16
5.0.40.0100.02010.16
5.0.30.0030.05710.16
5.0.20.0030.02710.16
5.0.10.0130.01710.16
5.0.00.0000.04310.16
4.4.90.0000.02310.16
4.4.80.0000.02310.16
4.4.70.0070.02310.16
4.4.60.0030.02010.16
4.4.50.0000.03010.16
4.4.40.0030.04710.16
4.4.30.0030.02010.16
4.4.20.0030.02010.16
4.4.10.0070.01710.16
4.4.00.0030.03010.16
4.3.110.0000.02710.16
4.3.100.0000.02010.16
4.3.90.0000.02010.16
4.3.80.0030.03310.16
4.3.70.0070.01710.16
4.3.60.0030.02010.16
4.3.50.0000.02310.16
4.3.40.0070.03010.16
4.3.30.0000.03010.16
4.3.20.0000.03010.16
4.3.10.0000.03310.16
4.3.00.0100.0207.02

preferences:
43.86 ms | 401 KiB | 5 Q