php-src
php-src copied to clipboard
The PHP Interpreter
### Description The following code: ```php isInstantiable()); ``` Resulted in this output: ``` bool(true) ``` But I expected this output instead: ``` bool(false) ``` Enums (as of 8.1) are never...
### Description The following code: ```php 'www.examle.com', 'port' => 65535, 'path' => '/ddd:65535/', ) ``` But I expected this output instead: ``` array ( 'host' => 'www.examle.com', 'path' => '/ddd:65535/',...
### Description The following code: ```php ['default' => 2]])); var_dump(filter_var("false", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); ``` Resulted in this output: ``` php int(2) bool(false) ``` But I expected this output instead: ```php bool(false)...
### I'm pulling currency api with json_decode. I can read the data properly, but it returns problems with multiplication. Sample; ['USD']['sale'] * $value The following code: ```php
### Description The following code: ```php
### Description The following code: ```php
### Description The following code: ```php
### Description The following code: ```php throw new Exception; ``` Resulted in this output: ``` Fatal error: A never-returning function must not return in /in/qWWuD on line 3 ``` But...
### Description The following code: ```php and was reclassified as documentation problem, but imho my above bug report is slightly different because Content-Transfer-Encoding is not set by me but the...
### Description The following query work with PDO: ```sql select `id`, `name`, `code`, `is_eu`, (select group_concat(`name` separator :a) `name` from `user` `_U_f9aae5fda8d8` where `country_id` = `country`.`id`) `user_names` from `country` where...