Create php_class