zephir
zephir copied to clipboard
Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP
On PHP 8.1, Following https://docs.zephir-lang.com/0.12/en/tutorial ``` $ php81 ~/bin/zephir init utils $ php81 ~/bin/zephir build Preparing for PHP compilation... Preparing configuration file... Compiling... Zephir version has changed, use "zephir fullclean"...
I was working to get this ported to FreeBSD. There are some issues I hit that I can work around but would be nice to have addressed. - [x] Use...
Hello! * Type: bug fix * Link to issue: #1991 In raising this pull request, I confirm the following: - [x] I have checked that another pull request for this...
Hello! * Type: bug fix | new feature | code quality | documentation * Link to issue: In raising this pull request, I confirm the following: - [x] I have...
Hello! * Type: bug fix * Link to issue: #733 In raising this pull request, I confirm the following: - [x] I have checked that another pull request for this...
Hi, Seems construction `new static();` inside classes doesn't works. To check ``` class Foo { public static function baz() { let obj = new static(); return get_class(obj); } } class...
``` public function getModel(className, args = null) { if class_exists("App\\" . className) { echo "E"; var_dump(className); let className = "App\\" . className; } else { echo "N"; var_dump(className); let className...
For some time this feature is redundant, as PHP itself with every version, continue to force strict types in function arguments and class properties. Add, during code generation (`zephir generate`)...
> TypeError: array_reduce(): Argument #2 ($callback) must be a valid callback, cannot access protected method Tensor\Matrix::implodeRow() Code: ```php /** * Convert the tensor into a string representation. * * @return...