3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = 'texc'; $str2 = 'texc'; $ch_check = []; for($i = 0; $i <strlen($str1); $i++){ $ch = $str1[$i]; for($j = 0; $j <strlen($str2); $j++){ if($ch == $str2[$j]){ $ch_check[] = $ch; } } } //echo "<pre>"; //var_dump($ch_check); //echo "</pre>"; if(count($ch_check) == strlen($str1)){ echo "Bingo!"; }else{ echo "Nope :("; }
Output for git.master, git.master_jit, rfc.property-hooks
Bingo!

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:
26.07 ms | 405 KiB | 5 Q