php-src
php-src copied to clipboard
The PHP Interpreter
### Description Intel Control Flow Enforcement Technology (CET) is enabled since gcc v8.1. Gcc emits following processor-specific program property types in .note.gnu.property section if we compile with "gcc -fcf-protection foo.c":...
### Description The following code: ```php event = $event; } } #[ListensTo(Status::DRAFT->value)] class TestClass {} ``` Resulted in this output: ``` PHP Fatal error: Constant expression contains invalid operations on...
### Description The following code: ```php
### Description it seems `oci8` / `pdo_oci` exts are built, but not tested in CI, at least there is zero coverage for some reasons, they are not displayed as SKIP...
### Description The following code: ```php $oneDimensionalArray = []; var_dump($oneDimensionalArray[0][1]); var_dump($oneDimensionalArray[0][1] ?? ''); ``` https://3v4l.org/1LMRe Resulted in this output: ``` Warning: Undefined array key 0 in /in/1LMRe on line 4...
### Description The following code: ```php __construct('2000-01-01 00:00:00.000000'); var_dump($date); ``` Resulted in this output: ``` object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2000-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ``` https://3v4l.org/hnnIE...
### Description The following code: ```php string(1) "A" [1]=> string(1) "" } ``` It's somewhat weird to have to type cast around, i.e. I could just do a FFI::cast to...
### Description **Solved** Problem solved. I have already tested SQL in MySQL separately. It worked there but not from within PHP. The problem for this was somewhere in PHP, not...
### Description composer.lock: ``` "name": "nesbot/carbon", "version": "2.57.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", "reference": "4a54375c21eea4811dbd1149fe6b246517554e78" }, ``` Sometimes I can see:  Obviously, there is an [import](https://github.com/briannesbitt/Carbon/blob/4a54375c21eea4811dbd1149fe6b246517554e78/src/Carbon/CarbonInterface.php#L26). And yes,...
### Description The following code: ```php The step 8.1.1.4.2 _“Prepend byte to ioQueue.”_ seems to be missing in these cases. ### PHP Version PHP 8.1.5 (all 8.1.x are affected) ###...