Check the source. It is so simple - no further documentation needed. Just include the class and call it like: $myFunnyClass = new turntext(); echo $myFunnyClass->translate("This text will go upside down"); Nothing special, but funny :D