3v4l.org

run code in 500+ PHP versions simultaneously
<?php $ss3="How to make a book"; $words = array ("book","paper","page","sheet"); $new_str_array = str_word_count($ss3,1); $founded_words = array_intersect($words,$new_str_array); if(count($founded_words) > 0){ echo "Founded : ". implode(',',$founded_words); }else{ echo "Founded Nothing"; }
Output for git.master, git.master_jit, rfc.property-hooks
Founded : book

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:
46.63 ms | 2072 KiB | 4 Q