scalar_objects
scalar_objects copied to clipboard
Extension that adds support for method calls on primitive types in PHP
I took a look at it and I very like what is being implemented. In my own framework I use classes for Int, Float, String and Array, but sometimes it...
Hey! Is there any chance that this will be implemented as and RFC? I can also think of another method of achieving such functionality: allowing any function to be called...
Hi there, I was wondering if it is possible to bring scalar objects extensions to PECL. I'd love to see scalar objects making it to PHP core one day, but...
I heard from PHP Reddit that Nikita is now hired to for Jetbrains. Its excellent news, and I wonder if it is possible to bring IDE support for scalar objects?...
not just a simple wrapper. - grouping similar function. - rename awkward name. - add missing basic functionality.
Hello. I think it is valuable if scalar_objects ships with standard classes, especially for codebase across multi project. I guess there will be a conflict if a project uses several...
This extension registers an opcode handler. This handler currently returns the ZEND_USER_OPCODE_DISPATCH value which means that the Zend engine users its internal implementation to further handle that opcode. If however...
Hello there. I know right now when you assign a new handler, it will simply override the old handler, but I was wondering that in future, is it is possible...
Hi, one thing I couln't currently find in the documentation: Does it provide common methods, that we know from C#, like ``Int.Parse('1');``, ``1.ToString({options here like sprintf})``? That would be a...
Hi Nikic, I was wondering if its possible to write an extension for your PHP-Parser library that supports Scalar Objects syntax. It will be able to parse syntax from scalar...