Extension that adds support for method calls on primitive types in PHP