3 ms·
The features page is interesting: https://github.com/jphp-compiler/jphp/wiki/Features https://github.com/jphp-compiler/jphp/wiki/Features > Unicode for strings
by TazeTSchnitzel 12y ago
The features page is interesting: https://github.com/jphp-compiler/jphp/wiki/Features https://github.com/jphp-compiler/jphp/wiki/Features
> Unicode for strings (UTF-16, like in Java)
This isn't an implementation of PHP, then. PHP strings are binary, and making them suddenly unicode would break much existing code unless there's some hacky workaround in use. Also, UTF-16 is horrible.
> What JPHP does not yet support?
> Importing namespaced functions (php 5.6)
Surely that's not the only thing unsupported?
Then I see this: https://github.com/jphp-compiler/jphp/wiki/Core-Extension https://github.com/jphp-compiler/jphp/wiki/Core-Extension
...so, it doesn't have PHP's standard set of functions, huh?
As noted below, this doesn't use PHP's normal request model, and apparently now it doesn't have PHP's standard library, or even have the same data types (Unicode strings). Is this really PHP?
Edit: oh, I see, it also has standard PHP stuff here (though a lot is missing): https://github.com/jphp-compiler/jphp/wiki/PHP-standard https://github.com/jphp-compiler/jphp/wiki/PHP-standard
- dim-s 12y agoJPHP supports binary strings. You are right about zend php runtime functions and classes. One of goals of the project is "replacing the ugly runtime library of Zend PHP with a better runtime library". JPHP is not a replacement for the Zend PHP engine.