<!DOCTYPE html>
<html>
<body>
<?php
print_r(str_word_count("Hello world!",2));
?>
</body>
</html>