3 ms·
Extension that adds support for method calls on primitive types in PHP
- psychoslave 4y agoThis extension implements the ability to register a class that handles the method calls to a certain primitive type (string, array, ...). As such it allows implementing APIs like $str->length().