Fixed #264

I removed the existing examples and added some more clear ones.

The examples are from the [RFC](https://wiki.php.net/rfc/class_name_scalars). 

I did also fix some typos.