I've got an error message telling that 'myHandler' is not a valid exception handler. I don't know why there is a difference with this doc, maybe something related to the PHP version? I'm using PHP 5.3.8.
I found this syntax in the comment of the page you referred.
Some precisions as my initial post is a bit confusing:
It looks like you're new here. If you want to get involved, click one of these buttons!