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.'; $text = '<li class="dropdown-submenu active active-child"><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance">Visual Performance</a><ul class="level-3 dropdown-menu children-3"><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t1">Performance</a></li><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t2">Aesthetics</a></li><li><a href="http://local.sonance.com/in-wall-in-ceiling/visual-performance#t3">Installation</a></li></ul></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.40.0130.00618.98
8.3.30.0110.00419.06
8.3.20.0040.00420.25
8.3.10.0000.00822.09
8.3.00.0040.00422.52
8.2.170.0110.00422.96
8.2.160.0140.00721.12
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00926.16
8.2.120.0040.00419.36
8.2.110.0040.00721.00
8.2.100.0070.00418.03
8.2.90.0000.00819.17
8.2.80.0080.00017.97
8.2.70.0080.00017.74
8.2.60.0000.00818.03
8.2.50.0040.00418.07
8.2.40.0080.00018.28
8.2.30.0030.00618.07
8.2.20.0070.00017.88
8.2.10.0050.00317.85
8.2.00.0060.00617.87
8.1.270.0000.00822.10
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01123.98
8.1.230.0070.00417.76
8.1.220.0000.00817.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.52
8.1.180.0040.00418.76
8.1.170.0050.00518.50
8.1.160.0040.00421.96
8.1.150.0090.00018.55
8.1.140.0000.00817.59
8.1.130.0000.00717.86
8.1.120.0060.00317.41
8.1.110.0000.00717.45
8.1.100.0000.00717.54
8.1.90.0050.00317.48
8.1.80.0080.00017.53
8.1.70.0070.00017.39
8.1.60.0000.00817.61
8.1.50.0080.00017.60
8.1.40.0000.00817.43
8.1.30.0000.00717.56
8.1.20.0000.00917.70
8.1.10.0030.00517.59
8.1.00.0040.00417.57
8.0.300.0040.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.48
8.0.270.0000.00717.20
8.0.260.0030.00316.97
8.0.250.0030.00317.01
8.0.240.0000.00716.95
8.0.230.0000.00717.02
8.0.220.0030.00316.83
8.0.210.0000.00817.01
8.0.200.0030.00317.03
8.0.190.0070.00017.07
8.0.180.0070.00017.05
8.0.170.0050.00216.98
8.0.160.0000.00817.00
8.0.150.0080.00016.81
8.0.140.0040.00416.98
8.0.130.0030.00313.39
8.0.120.0060.00316.84
8.0.110.0020.00516.96
8.0.100.0050.00216.87
8.0.90.0040.00416.87
8.0.80.0070.00717.02
8.0.70.0050.00216.96
8.0.60.0050.00216.86
8.0.50.0050.00316.89
8.0.30.0100.00817.36
8.0.20.0180.00317.40
8.0.10.0000.00817.02
8.0.00.0060.01116.88
7.4.330.0000.00515.00
7.4.320.0000.00616.54
7.4.300.0040.00416.70
7.4.290.0000.00716.67
7.4.280.0080.00016.59
7.4.270.0070.00016.74
7.4.260.0060.00316.60
7.4.250.0080.00016.55
7.4.240.0020.00516.71
7.4.230.0000.00716.68
7.4.220.0090.01016.61
7.4.210.0070.00916.66
7.4.200.0000.00716.71
7.4.190.0000.00816.66
7.4.160.0120.00616.46
7.4.150.0190.00617.40
7.4.140.0130.00817.86
7.4.130.0070.01016.68
7.4.120.0120.00516.61
7.4.110.0070.01116.70
7.4.100.0100.01016.66
7.4.90.0090.01316.47
7.4.80.0090.01519.39
7.4.70.0110.00716.60
7.4.60.0140.00316.53
7.4.50.0050.00316.54
7.4.40.0060.00922.77
7.4.30.0060.01016.80
7.4.00.0070.00415.27
7.3.330.0000.00613.48
7.3.320.0050.00013.43
7.3.310.0070.00016.47
7.3.300.0030.00316.47
7.3.290.0140.00016.43
7.3.280.0080.00716.41
7.3.270.0080.01217.40
7.3.260.0110.00716.41
7.3.250.0090.01016.46
7.3.240.0120.00616.50
7.3.230.0140.00316.63
7.3.210.0090.00916.51
7.3.200.0110.00719.39
7.3.190.0190.00316.54
7.3.180.0040.01116.64
7.3.170.0180.00016.46
7.3.160.0030.01216.66
7.3.120.0030.01415.07
7.3.10.0030.01016.91
7.3.00.0060.00616.69
7.2.330.0140.00416.66
7.2.320.0100.00716.71
7.2.310.0030.01416.85
7.2.300.0120.00616.71
7.2.290.0160.00416.69
7.2.130.0060.01217.00
7.2.120.0070.00716.84
7.2.110.0110.00417.14
7.2.100.0070.01017.08
7.2.90.0030.01217.13
7.2.80.0030.01016.86
7.2.70.0040.01117.08
7.2.60.0040.00916.98
7.2.50.0030.00617.08
7.2.40.0090.00016.88
7.2.30.0040.00816.87
7.2.20.0030.00717.02
7.2.10.0100.00317.14
7.2.00.0050.00618.14
7.1.250.0030.01015.63
7.1.240.0000.01315.69
7.1.230.0090.00915.99
7.1.220.0070.00415.70
7.1.210.0070.00715.85
7.1.200.0060.00415.60
7.1.190.0000.01416.05
7.1.180.0040.00815.59
7.1.170.0030.01215.91
7.1.160.0070.00715.97
7.1.150.0040.01215.84
7.1.140.0110.00015.79
7.1.130.0000.00915.85
7.1.120.0090.00915.71
7.1.110.0110.00415.82
7.1.100.0160.00916.74
7.1.90.0090.00615.82
7.1.80.0070.00715.92
7.1.70.0040.00816.56
7.1.60.0080.01217.87
7.1.50.0070.01116.45
7.1.40.0030.00715.75
7.1.30.0000.00915.71
7.1.20.0000.01515.88
7.1.10.0080.00415.85
7.1.00.0020.04519.23
7.0.330.0100.00315.56
7.0.320.0150.00015.10
7.0.310.0080.00815.45
7.0.300.0040.00815.53
7.0.290.0100.00315.44
7.0.280.0030.01015.62
7.0.270.0070.00715.64
7.0.260.0150.00015.65
7.0.250.0050.00515.60
7.0.240.0040.00715.36
7.0.230.0060.00315.26
7.0.220.0030.01015.43
7.0.210.0030.01015.56
7.0.200.0050.00816.24
7.0.190.0090.00015.14
7.0.180.0070.00715.27
7.0.170.0030.01015.38
7.0.160.0030.01315.59
7.0.150.0000.01315.47
7.0.140.0020.04418.87
7.0.130.0030.01015.46
7.0.120.0040.01115.13
7.0.110.0090.00615.54
7.0.100.0090.00615.52
7.0.90.0030.01015.64
7.0.80.0030.01015.33
7.0.70.0000.00915.50
7.0.60.0210.03917.81
7.0.50.0080.03516.81
7.0.40.0070.04716.88
7.0.30.0170.03916.97
7.0.20.0130.02816.73
7.0.10.0160.03816.87
7.0.00.0090.03916.84
5.6.380.0080.00814.33
5.6.370.0060.00314.36
5.6.360.0040.01114.63
5.6.350.0030.00614.30
5.6.340.0040.00814.41
5.6.330.0080.00814.43
5.6.320.0040.01114.65
5.6.310.0100.00314.51
5.6.300.0060.00614.41
5.6.290.0030.00614.41
5.6.280.0080.03817.80
5.6.270.0030.00614.42
5.6.260.0090.00614.55
5.6.250.0090.00314.28
5.6.240.0060.00914.55
5.6.230.0030.01314.45
5.6.220.0070.00714.58
5.6.210.0080.04117.48
5.6.200.0080.04216.25
5.6.190.0070.02617.53
5.6.180.1720.02317.51
5.6.170.0120.04217.39
5.6.160.0040.03217.34
5.6.150.0100.03316.18
5.6.140.0080.04316.25
5.6.130.0080.04316.26
5.6.120.0080.04517.71
5.6.110.0070.04217.79
5.6.100.0110.04317.65
5.6.90.0080.04317.65
5.6.80.0060.03517.45
5.6.70.0090.00614.22
5.6.60.0060.00714.59
5.6.50.0040.01114.32
5.6.40.0030.00614.49
5.6.30.0000.01314.18
5.6.20.0070.01014.61
5.6.10.0070.00714.11
5.6.00.0000.01414.32
5.5.380.0050.00311.64
5.5.370.0030.00911.64
5.5.360.0070.00411.64
5.5.350.0030.03215.97
5.5.340.0070.04114.80
5.5.330.0030.03816.10
5.5.320.0130.03015.92
5.5.310.0140.02115.99
5.5.300.0100.03714.78
5.5.290.0050.02514.84
5.5.280.0050.02716.15
5.5.270.0110.03416.26
5.5.260.0050.03016.20
5.5.250.0150.03316.11
5.5.240.0030.04116.00
5.5.230.0060.00011.64
5.5.220.0030.00311.64
5.5.210.0000.01111.64
5.5.200.0040.00711.64
5.5.190.0000.00711.64
5.5.180.0030.00511.64
5.5.170.0090.00311.64
5.5.160.0060.00611.64
5.5.150.0000.01311.64
5.5.140.0070.00311.64
5.5.130.0040.00411.64
5.5.120.0000.00611.64
5.5.110.0090.00311.64
5.5.100.0000.01211.64
5.5.90.0000.01211.64
5.5.80.0100.00311.64
5.5.70.0030.00311.64
5.5.60.0030.00711.64
5.5.50.0060.00611.64
5.5.40.0030.01011.64
5.5.30.0060.00011.64
5.5.20.0000.00611.64
5.5.10.0000.01111.64
5.5.00.0070.00311.64
5.4.450.0220.03415.61
5.4.440.0200.03315.61
5.4.430.0050.03115.58
5.4.420.0000.03815.42
5.4.410.0100.02815.54
5.4.400.0910.00315.20
5.4.390.0820.00315.22
5.4.380.0200.02515.11
5.4.370.0200.02815.24
5.4.360.0130.03315.13
5.4.350.0220.03215.10
5.4.340.0170.03215.05
5.4.330.0030.00311.64
5.4.320.0020.02412.07
5.4.310.0030.02212.07
5.4.300.0080.02212.07
5.4.290.0070.02112.07
5.4.280.0020.02612.02
5.4.270.0090.02112.02
5.4.260.0090.02915.29
5.4.250.0030.03215.30
5.4.240.0070.02815.36
5.4.230.0070.04315.36
5.4.220.0040.03215.30
5.4.210.0070.02615.21
5.4.200.0100.02715.33
5.4.190.0080.03215.14
5.4.180.0100.02715.29
5.4.170.0080.03115.24
5.4.160.0050.03115.28
5.4.150.0120.02415.18
5.4.140.0090.03214.11
5.4.130.0080.02814.02
5.4.120.0030.03113.98
5.4.110.0050.04114.02
5.4.100.0080.02514.09
5.4.90.0050.02714.14
5.4.80.0050.02814.12
5.4.70.0070.03314.07
5.4.60.0060.03114.00
5.4.50.0060.03314.08
5.4.40.0070.02814.04
5.4.30.0090.02314.01
5.4.20.0070.02714.01
5.4.10.0070.03014.08
5.4.00.0070.02813.72
5.3.290.0030.02512.22
5.3.280.0130.02213.08
5.3.270.0060.03113.16
5.3.260.0070.02913.12
5.3.250.0070.03713.13
5.3.240.0070.02613.21
5.3.230.0050.03213.11
5.3.220.0010.03513.14
5.3.210.0030.03013.14
5.3.200.0030.04113.14
5.3.190.0130.02813.10
5.3.180.0060.04013.14
5.3.170.0050.03113.12
5.3.160.0080.03913.21
5.3.150.0080.03213.17
5.3.140.0030.02813.18
5.3.130.0050.03313.10
5.3.120.0070.02813.08
5.3.110.0020.03413.13
5.3.100.0040.03012.91
5.3.90.0080.03612.87
5.3.80.0080.02512.74
5.3.70.0050.02712.94
5.3.60.0070.03012.81
5.3.50.0080.02612.75
5.3.40.0070.02912.84
5.3.30.0050.04112.81
5.3.20.0070.03412.67
5.3.10.0050.03412.64
5.3.00.0050.03612.75
5.2.170.0080.02811.40
5.2.160.0050.02411.36
5.2.150.0070.02511.39
5.2.140.0020.02711.35
5.2.130.0020.02711.43
5.2.120.0030.03411.25
5.2.110.0030.02911.37
5.2.100.0070.02611.34
5.2.90.0080.02611.33
5.2.80.0080.03111.41
5.2.70.0020.02911.41
5.2.60.0060.02211.35
5.2.50.0020.02811.27
5.2.40.0080.02611.28
5.2.30.0100.02211.34
5.2.20.0050.02311.30
5.2.10.0060.02011.21
5.2.00.0110.02211.19
5.1.60.0030.02010.71
5.1.50.0070.01810.87
5.1.40.0000.02210.89
5.1.30.0080.02510.98
5.1.20.0030.02210.88
5.1.10.0060.01810.93
5.1.00.0060.02510.89
5.0.50.0000.02510.12
5.0.40.0020.0169.98
5.0.30.0070.0279.90
5.0.20.0080.0109.83
5.0.10.0060.0159.95
5.0.00.0080.0209.94
4.4.90.0000.0139.46
4.4.80.0050.0139.46
4.4.70.0050.0159.46
4.4.60.0040.0129.46
4.4.50.0030.0089.46
4.4.40.0000.0209.46
4.4.30.0030.0139.46
4.4.20.0050.0159.46
4.4.10.0020.0209.46
4.4.00.0000.0229.46
4.3.110.0000.0209.46
4.3.100.0000.0149.46
4.3.90.0050.0139.46
4.3.80.0020.0209.46
4.3.70.0070.0139.46
4.3.60.0000.0159.46
4.3.50.0000.0169.46
4.3.40.0020.0279.46
4.3.30.0000.0209.46
4.3.20.0000.0189.46
4.3.10.0000.0159.46
4.3.00.0030.0129.61

preferences:
41.07 ms | 400 KiB | 5 Q