3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exclude = array('anus','arse','butt','clit','cock','coon','cunt','dago','damn','dick','dike','dyke','fuck','gook','heeb','hell','hobo','homo','jizz','knob','kunt','muff','niga','paki','piss','poon','poop','puta','puto','shit','shiz','slut','tard','tits','titz','turd','twat','wank'); $leet = array(); $chars = array('i','a','t','o','s','e','b'); $leetChars = array('1','4','7','0','5','3','8'); foreach ( $exclude as $word ) { $leet[] = str_replace('i','1',$word); $leet[] = str_replace('a','4',$word); $leet[] = str_replace('t','7',$word); $leet[] = str_replace('o','0',$word); $leet[] = str_replace('s','5',$word); $leet[] = str_replace('e','3',$word); $leet[] = str_replace('b','8',$word); $leet[] = str_replace($chars,$leetChars,$word); } $exclude = array_merge($exclude,$leet); $exclude = array_unique($exclude); var_dump($exclude);

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.0130.01018.55
8.3.50.0000.01516.30
8.3.40.0130.00318.67
8.3.30.0090.00618.74
8.3.20.0050.00320.41
8.3.10.0040.00421.80
8.3.00.0050.00321.01
8.2.180.0110.01118.16
8.2.170.0130.00322.96
8.2.160.0120.00322.07
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00022.13
8.2.120.0030.00526.35
8.2.110.0100.00020.57
8.2.100.0030.01017.72
8.2.90.0050.00319.25
8.2.80.0050.00517.97
8.2.70.0080.00017.72
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0000.00822.33
8.2.30.0030.00521.05
8.2.20.0000.00818.04
8.2.10.0080.00018.04
8.2.00.0000.00818.15
8.1.280.0060.00925.92
8.1.270.0050.00323.91
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00022.02
8.1.230.0080.00422.15
8.1.220.0090.00017.74
8.1.210.0060.00318.77
8.1.200.0040.00817.47
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0040.00418.78
8.1.160.0040.00418.95
8.1.150.0030.00518.90
8.1.140.0000.00819.54
8.1.130.0000.00718.99
8.1.120.0070.00417.43
8.1.110.0050.00317.58
8.1.100.0040.00417.51
8.1.90.0030.00617.48
8.1.80.0060.00317.42
8.1.70.0030.00317.55
8.1.60.0080.00017.70
8.1.50.0080.00017.48
8.1.40.0040.00417.53
8.1.30.0050.00317.70
8.1.20.0000.00817.55
8.1.10.0030.00617.41
8.1.00.0040.00417.43
8.0.300.0030.00619.84
8.0.290.0040.00416.88
8.0.280.0020.00518.49
8.0.270.0000.00716.86
8.0.260.0050.00216.88
8.0.250.0080.00016.92
8.0.240.0000.00716.89
8.0.230.0060.00317.01
8.0.220.0000.00816.99
8.0.210.0020.00516.93
8.0.200.0040.00416.90
8.0.190.0030.00516.92
8.0.180.0000.00816.93
8.0.170.0000.00816.97
8.0.160.0040.00417.04
8.0.150.0040.00416.90
8.0.140.0040.00416.82
8.0.130.0000.00713.27
8.0.120.0080.00016.96
8.0.110.0000.00816.86
8.0.100.0000.00716.84
8.0.90.0030.00516.90
8.0.80.0000.01716.90
8.0.70.0030.00516.77
8.0.60.0000.00816.88
8.0.50.0040.00416.76
8.0.30.0100.00917.06
8.0.20.0130.01217.40
8.0.10.0050.00317.06
8.0.00.0120.00816.75
7.4.330.0030.00315.55
7.4.320.0000.00616.48
7.4.300.0000.00616.68
7.4.290.0040.00416.61
7.4.280.0060.00316.56
7.4.270.0000.00716.47
7.4.260.0090.00016.64
7.4.250.0030.00316.60
7.4.240.0040.00416.55
7.4.230.0040.00416.66
7.4.220.0030.02016.52
7.4.210.0130.00616.62
7.4.200.0070.00016.63
7.4.160.0110.01016.64
7.4.150.0120.00817.40
7.4.140.0090.01517.86
7.4.130.0110.01516.61
7.4.120.0110.01216.52
7.4.110.0170.00316.56
7.4.100.0090.01616.64
7.4.90.0110.00816.52
7.4.80.0060.01219.39
7.4.70.0140.00616.38
7.4.60.0090.01216.53
7.4.50.0000.01516.41
7.4.40.0120.01616.58
7.4.30.0100.01016.73
7.4.00.0040.01315.08
7.3.330.0000.00613.11
7.3.320.0030.00313.19
7.3.310.0030.00316.15
7.3.300.0000.00716.33
7.3.290.0110.00616.37
7.3.280.0100.00816.31
7.3.270.0070.01317.40
7.3.260.0140.00816.52
7.3.250.0200.01216.43
7.3.240.0170.00316.57
7.3.230.0170.01116.62
7.3.210.0170.00816.39
7.3.200.0150.00316.37
7.3.190.0100.01016.57
7.3.180.0110.00716.48
7.3.170.0110.00816.50
7.3.160.0160.00316.36
7.3.120.0040.01415.06
7.3.110.0070.01114.87
7.3.100.0030.01214.96
7.3.90.0030.00915.00
7.3.80.0040.01115.19
7.3.70.0120.00614.95
7.3.60.0040.01214.79
7.3.50.0190.00314.96
7.3.40.0030.00614.62
7.3.30.0000.01814.66
7.3.20.0030.00716.77
7.3.10.0130.00016.71
7.3.00.0080.00416.46
7.2.330.0060.01616.61
7.2.320.0100.01116.55
7.2.310.0040.01416.48
7.2.300.0140.01116.79
7.2.290.0140.00616.66
7.2.250.0000.02115.41
7.2.240.0070.01314.86
7.2.230.0060.00915.11
7.2.220.0030.01015.11
7.2.210.0070.01015.13
7.2.200.0100.00314.99
7.2.190.0110.00815.13
7.2.180.0100.01315.07
7.2.170.0110.00414.79
7.2.60.0040.01416.88
7.2.00.0030.01219.47
7.1.330.0090.00615.98
7.1.320.0060.00615.82
7.1.310.0000.01515.63
7.1.300.0040.01515.59
7.1.290.0060.00315.83
7.1.280.0030.01015.64
7.1.270.0070.00715.82
7.1.260.0040.00815.72
7.1.200.0150.00815.46
7.1.100.0030.00517.82
7.1.70.0040.01317.17
7.1.60.0470.00733.21
7.1.50.0370.01332.75
7.1.40.0470.01032.57
7.1.30.0570.00732.71
7.1.20.0500.01032.74
7.1.10.0330.01014.69
7.1.00.0370.01014.79
7.0.200.0370.00315.02
7.0.190.0330.01015.02
7.0.180.0300.01314.30
7.0.170.0370.01314.46
7.0.160.0400.00714.39
7.0.150.0370.01014.29
7.0.140.0270.01714.63
7.0.130.0470.00714.67
7.0.120.0630.01314.83
7.0.110.0600.00714.52
7.0.100.0400.01314.55
7.0.90.0630.01314.69
7.0.80.0470.01714.55
7.0.70.0600.01014.72
7.0.60.0400.00714.49
7.0.50.0970.00314.50
7.0.40.0400.00714.79
7.0.30.0370.00714.86
7.0.20.0570.01314.71
7.0.10.0670.00714.57
7.0.00.0500.00714.56

preferences:
43.07 ms | 400 KiB | 5 Q