Run ❯
Get your
own PHP
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
"; print_r(str_word_count("Hello world & good morning!",1,"&")); ?>
Array ( [0] => Hello [1] => world [2] => good [3] => morning )
Array ( [0] => Hello [1] => world [2] => & [3] => good [4] => morning )