3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Tekst($waarde) { global $htmlentitiesTabel; $waarde = str_replace("§","&sect;",$waarde); preg_match_all("#\[code\](.*?)\[/code\](\r)?(\n)?#is", $waarde, $GeenSmilies['code']); preg_match_all("#\[php\](.*?)\[/php\](\r)?(\n)?#is", $waarde, $GeenSmilies['php']); foreach($GeenSmilies as $i => $code) { foreach($code[0] as $nr => $tekst) { $waarde = str_replace($tekst,"§".$i.$nr."§",$waarde); } } $waarde = htmlentities($waarde,ENT_QUOTES); } // Smilies vervangen // UBB-codes vervangen $waarde = nl2br($waarde); foreach($GeenSmilies as $i => $code) { foreach($code[1] as $nr => $tekst) { $waarde = str_replace("&sect;$i$nr&sect;",Kleuren($tekst),$waarde); } } $waarde = str_replace("&amp;sect;","&sect;",$waarde);

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.0000.01516.75
8.3.50.0090.00622.78
8.3.40.0110.00718.70
8.3.30.0110.00419.09
8.3.20.0030.00520.16
8.3.10.0050.00323.48
8.3.00.0040.00419.13
8.2.180.0060.01016.75
8.2.170.0000.01422.96
8.2.160.0070.00720.53
8.2.150.0000.00724.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00020.95
8.2.110.0030.00622.13
8.2.100.0000.01318.16
8.2.90.0060.00319.06
8.2.80.0050.00317.97
8.2.70.0100.00017.62
8.2.60.0070.00317.80
8.2.50.0080.00418.07
8.2.40.0040.00818.10
8.2.30.0000.00818.09
8.2.20.0030.00517.79
8.2.10.0000.00718.00
8.2.00.0040.00417.66
8.1.280.0140.00725.92
8.1.270.0050.00322.06
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.85
8.1.230.0000.01218.96
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.55
8.1.160.0000.00821.96
8.1.150.0060.00318.96
8.1.140.0000.00717.52
8.1.130.0070.00017.74
8.1.120.0030.00517.52
8.1.110.0000.00817.39
8.1.100.0090.00017.45
8.1.90.0000.00917.53
8.1.80.0030.00717.48
8.1.70.0000.00717.44
8.1.60.0050.00317.63
8.1.50.0090.00017.56
8.1.40.0070.00317.55
8.1.30.0000.00817.51
8.1.20.0040.00417.56
8.1.10.0040.00417.50
8.1.00.0050.00317.42
8.0.300.0000.00918.77
8.0.290.0000.00716.75
8.0.280.0030.00318.49
8.0.270.0000.00717.34
8.0.260.0070.00017.20
8.0.250.0030.00316.93
8.0.240.0030.00617.05
8.0.230.0060.00316.90
8.0.220.0040.00416.97
8.0.210.0080.00016.89
8.0.200.0000.00616.96
8.0.190.0080.00016.95
8.0.180.0080.00016.90
8.0.170.0070.00017.00
8.0.160.0030.00517.02
8.0.150.0000.00716.88
8.0.140.0040.00417.00
8.0.130.0060.00013.40
8.0.120.0030.00516.97
8.0.110.0000.00816.92
8.0.100.0000.00716.84
8.0.90.0030.00516.89
8.0.80.0030.01216.94
8.0.70.0080.00016.89
8.0.60.0030.00516.89
8.0.50.0040.00416.87
8.0.30.0060.01317.07
8.0.20.0100.00917.40
8.0.10.0030.00317.12
8.0.00.0100.00716.76
7.4.330.0030.00315.16
7.4.320.0040.00416.60
7.4.300.0080.00316.68
7.4.290.0000.00616.57
7.4.280.0030.00516.48
7.4.270.0070.00016.61
7.4.260.0040.00416.55
7.4.250.0050.00516.62
7.4.240.0030.00316.59
7.4.230.0070.00016.72
7.4.220.0150.00316.56
7.4.210.0100.01016.66
7.4.200.0000.00716.35
7.4.160.0060.00916.45
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0090.00816.59
7.4.120.0080.00916.58
7.4.110.0100.00616.60
7.4.100.0130.00416.51
7.4.90.0140.00416.53
7.4.80.0110.01119.39
7.4.70.0030.01316.41
7.4.60.0100.00716.47
7.4.50.0000.00816.43
7.4.40.0120.00316.54
7.4.30.0090.00916.52
7.4.00.0080.00815.14
7.3.330.0060.00013.30
7.3.320.0040.00413.36
7.3.310.0070.00016.18
7.3.300.0070.00016.35
7.3.290.0080.00716.38
7.3.280.0040.01216.33
7.3.270.0090.00617.40
7.3.260.0120.01116.33
7.3.250.0120.00816.48
7.3.240.0070.01716.67
7.3.230.0150.00616.49
7.3.210.0190.00016.30
7.3.200.0030.02019.39
7.3.190.0110.00616.43
7.3.180.0090.00616.49
7.3.170.0110.01116.27
7.3.160.0080.00816.46
7.3.120.0030.01014.89
7.3.110.0060.01214.89
7.3.100.0100.00314.75
7.3.90.0070.01014.86
7.3.80.0060.00314.79
7.3.70.0130.00314.55
7.3.60.0090.00614.85
7.3.50.0040.00814.75
7.3.40.0030.01014.66
7.3.30.0040.01114.45
7.3.20.0060.01016.25
7.3.10.0030.01616.49
7.3.00.0090.00616.55
7.2.330.0080.00816.74
7.2.320.0080.00816.46
7.2.310.0030.01416.68
7.2.300.0100.01016.72
7.2.290.0070.01016.48
7.2.250.0030.01414.87
7.2.240.0100.01014.86
7.2.230.0070.00714.92
7.2.220.0120.00615.05
7.2.210.0060.00615.15
7.2.200.0030.01215.05
7.2.190.0000.01514.95
7.2.180.0030.00715.10
7.2.170.0110.00015.05
7.2.00.0060.00619.20
7.1.330.0030.01015.73
7.1.320.0000.00915.95
7.1.310.0100.00316.11
7.1.300.0090.00615.55
7.1.290.0030.00915.84
7.1.280.0000.01715.72
7.1.270.0030.01415.84
7.1.260.0100.01015.82
7.1.100.0030.01018.10
7.1.70.0130.00016.87
7.1.60.0070.01719.40
7.1.50.0110.01417.00
7.1.00.0070.07322.29
7.0.200.0280.00714.33
7.0.140.0030.07022.08
7.0.60.0070.07719.88
7.0.50.0100.08317.82
7.0.40.0100.08720.40
7.0.30.0400.07720.23
7.0.20.0130.04320.23
7.0.10.0030.05020.07
7.0.00.0070.07020.28
5.6.280.0070.07020.96
5.6.210.0130.07320.71
5.6.200.0100.08018.14
5.6.190.0100.08020.67
5.6.180.0230.04020.33
5.6.170.0230.07320.77
5.6.160.0070.08320.54
5.6.150.0000.04318.15
5.6.140.0030.04318.14
5.6.130.0030.04018.18
5.6.120.0130.08020.98
5.6.110.0130.04720.97
5.6.100.0130.07721.12
5.6.90.0070.08021.00
5.6.80.0130.07020.36
5.5.350.0030.07720.39
5.5.340.0070.08018.02
5.5.330.0070.08320.34
5.5.320.0330.05720.38
5.5.310.0300.07720.36
5.5.300.0130.05317.94
5.5.290.0030.08717.94
5.5.280.0030.06020.67
5.5.270.0100.03320.73
5.5.260.0130.07020.96
5.5.250.0000.07020.62
5.5.240.4100.04020.28
5.4.450.0400.05019.41
5.4.440.0230.04019.55
5.4.430.0400.04019.58
5.4.420.0300.03719.48
5.4.410.0430.04319.33
5.4.400.0230.03318.98
5.4.390.0230.04319.20
5.4.380.0030.06718.74
5.4.370.0270.04318.67
5.4.360.0070.06018.53
5.4.350.0230.04318.74
5.4.340.0170.05018.64
5.4.320.0090.03312.51
5.4.310.0070.03712.50
5.4.300.0090.03412.50
5.4.290.0060.03712.50
5.4.280.0080.03312.40
5.4.270.0050.03712.40
5.4.260.0060.03712.40
5.4.250.0040.05212.40
5.4.240.0130.04312.39
5.4.230.0080.05012.39
5.4.220.0110.04612.39
5.4.210.0100.03212.39
5.4.200.0070.03812.39
5.4.190.0070.03612.39
5.4.180.0090.03312.39
5.4.170.0080.03612.39
5.4.160.0060.03812.39
5.4.150.0080.03612.39
5.4.140.0080.04112.07
5.4.130.0040.03812.06
5.4.120.0090.03912.02
5.4.110.0090.03312.02
5.4.100.0060.03512.01
5.4.90.0080.03412.02
5.4.80.0040.03912.01
5.4.70.0060.03412.01
5.4.60.0090.04012.01
5.4.50.0080.04312.01
5.4.40.0050.03612.00
5.4.30.0060.03611.99
5.4.20.0060.03511.99
5.4.10.0090.04211.99
5.4.00.0040.03911.48
5.3.290.0050.05112.80
5.3.280.0040.04412.71
5.3.270.0100.03712.72
5.3.260.0110.03612.72
5.3.250.0050.03912.72
5.3.240.0060.04012.72
5.3.230.0040.04012.71
5.3.220.0060.03612.68
5.3.210.0070.03712.68
5.3.200.0060.04212.68
5.3.190.0080.03712.67
5.3.180.0040.03712.68
5.3.170.0080.04512.67
5.3.160.0030.03712.67
5.3.150.0060.03712.67
5.3.140.0050.03612.66
5.3.130.0090.03412.66
5.3.120.0030.04012.66
5.3.110.0040.04012.66
5.3.100.0090.04412.12
5.3.90.0050.03512.10
5.3.80.0050.04312.09
5.3.70.0090.03212.09
5.3.60.0070.04112.08
5.3.50.0050.03612.03
5.3.40.0030.03812.03
5.3.30.0060.03511.98
5.3.20.0050.03511.77
5.3.10.0050.03611.73
5.3.00.0100.03111.71
5.2.170.0010.0349.22
5.2.160.0040.0309.22
5.2.150.0070.0289.22
5.2.140.0030.0319.21
5.2.130.0030.0299.18
5.2.120.0080.0249.18
5.2.110.0050.0289.18
5.2.100.0050.0279.18
5.2.90.0060.0349.18
5.2.80.0040.0339.17
5.2.70.0060.0359.18
5.2.60.0080.0369.13
5.2.50.0030.0299.10
5.2.40.0040.0279.07
5.2.30.0070.0269.05
5.2.20.0020.0349.04
5.2.10.0020.0298.95
5.2.00.0040.0298.80
5.1.60.0050.0238.09
5.1.50.0050.0268.09
5.1.40.0040.0248.06
5.1.30.0030.0288.41
5.1.20.0040.0258.44
5.1.10.0020.0278.16
5.1.00.0010.0288.16
5.0.50.0040.0196.66
5.0.40.0040.0296.52
5.0.30.0030.0316.33
5.0.20.0020.0206.29
5.0.10.0030.0196.27
5.0.00.0020.0336.27
4.4.90.0050.0144.78
4.4.80.0030.0224.76
4.4.70.0030.0204.76
4.4.60.0050.0234.76
4.4.50.0040.0174.77
4.4.40.0010.0294.71
4.4.30.0050.0204.76
4.4.20.0010.0214.84
4.4.10.0030.0224.85
4.4.00.0040.0344.75
4.3.110.0040.0214.67
4.3.100.0010.0164.66
4.3.90.0010.0164.63
4.3.80.0040.0224.58
4.3.70.0040.0194.63
4.3.60.0020.0214.62
4.3.50.0020.0164.63
4.3.40.0010.0254.54
4.3.30.0040.0163.32
4.3.20.0040.0143.29
4.3.10.0010.0173.25
4.3.00.0030.01713.43

preferences:
34.93 ms | 401 KiB | 5 Q