Created a PHP version

just like the Java version, but without the Number class overrides