3v4l.org

run code in 300+ PHP versions simultaneously
<?php $words = ["apple", "sample", "app", "justappgg", "тоҷик", "отабек", "баҳодурбек", "APELCIN", "API", "pap"]; mb_internal_encoding("UTF-8"); $items = [ "api", "ppal", "ap", "papp" ]; foreach ($items as $item) { foreach ($words as $word) { $wordSplit = preg_split('//u', $word, null, PREG_SPLIT_NO_EMPTY); $strSplit = preg_split('//u', $item, null, PREG_SPLIT_NO_EMPTY); $wordSplit = array_filter($wordSplit, function ($x) use (&$strSplit) { if (in_array(strtolower($x), array_map('strtolower', $strSplit), true)) { $pos = array_search(strtolower($x), array_map('strtolower', $strSplit), true); unset($strSplit[$pos]); return false; } return true; }); if (count($strSplit) === 0) { echo "$word contains all letters of $item" . PHP_EOL; } } echo PHP_EOL; }

Abusive script

This script was stopped while abusing our resources

Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 APELCIN contains all letters of api Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 API contains all letters of api Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 apple contains all letters of ppal Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 apple contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 sample contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 app contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 justappgg contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 APELCIN contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 API contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 pap contains all letters of ap Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 15 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/E4Jgr on line 16

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
112.1 ms | 437 KiB | 5 Q