php-src
php-src copied to clipboard
The PHP Interpreter
### Description Deprecation of partially supported callables was accepted in [RFC] and implemented in #7446. [RFC]: https://wiki.php.net/rfc/deprecate_partially_supported_callables The `callable` type and the `is_callable()` function were wilfully exempted from the deprecation...
### Description The following code: ```php
### Description The following code: $email = "EAS&[email protected]"; if (filter_var($email, FILTER_VALIDATE_EMAIL)) { echo("$email is a valid email address"); } else { echo("$email is not a valid email address"); } Resulted...
### Description For example this test: https://github.com/php/php-src/blob/PHP-8.0/ext/sockets/tests/socket_send.phpt#L26 fails on MacOS with the following result: ``` ========DIFF======== 002+ 003+ Warning: socket_send(): Unable to write to socket [22]: Invalid argument in /Users/runner/work/php-src/php-src/ext/sockets/tests/socket_send.php...
### Description **Description** Hi. I try to build php extension exif from source code and I've got an error Bug #68547 (Exif Header component value check error) [tests/bug68547.phpt] The problem...
### Description We have a redis server, we're using the phpredis extension to connect to it. The phpredis extension is built on top of php's stream sockets. The bug I'm...
### Description The following code: ```php getConstructor(); $instance = $reflection->newInstance(...$args); var_dump($instance); ``` Resulted in this output: ``` object(Foo)#3 (2) { ["bool"]=> bool(true) ["int"]=> int(10) } ``` But I expected this...
### Description The following code: ```php value); ``` Resulted in this output: ``` $ php test.php -dopcache.jit_buffer_size=0 -dopcache.enable=1 -dopcache.enable_cli=0 // - First execution: 42 // - Second execution: 42 //...
### Description Hi I trying to build pdo_sqlite locally and I've got error ``` ===================================================================== PHP : /usr/local/bin/php PHP_SAPI : cli PHP_VERSION : 8.1.5 ZEND_VERSION: 4.1.5 PHP_OS : Linux -...
## Roadmap - [x] Make implementation - [x] Prepare full RFC draft - [x] Prepare a message for `[email protected]` to get wiki RFC karma (https://externals.io/message/117771) - [ ] Get RFC...