Hi folks, my first post :)
I'm really enjoying reading this thread.
This is my take on how to implement the lab test in PHP with a cut-down list of the tags:
$kw = 'MyCustomWord';
$tags = array(
'pre',
'textarea',
'kbd',
'caption',
'small',
'code',
'strong',
'sub',
'u',
'center',
'cite'...