3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fservice[0]['name'] = 'Allow Wheels &amp; Repairs'; var_dump( str_word_count($fservice[0]['name'],1) );
based on WO3jE
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(5) "Allow" [1]=> string(6) "Wheels" [2]=> string(3) "amp" [3]=> string(7) "Repairs" }