codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $str = '<html> <body> <h1> This is the title </h1> <p> some description text here, <b>this</b> is a word. </p> </body> </html>'; print_r(array_count_values(str_word_count(strip_tags(strtolower($str)), 1))); ?>
Private
[
?
]
Run code
Submit