php-src icon indicating copy to clipboard operation
php-src copied to clipboard

The PHP Interpreter

Results php-src issues
Sort by recently updated
recently updated
newest added

### Description The following code: ```php

Bug
Category: Engine
Status: Verified

### Description The following code: ```php setFlags( SplFileObject::READ_CSV | SplFileObject::READ_AHEAD | SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE ); $splFileObject->seek(0); $splFileObject->key(); // 0 Returns as expected $splFileObject->seek(1); $splFileObject->key(); // 1 Returns as expected $splFileObject->seek(2);...

Bug
Extension: spl
Status: Duplicate

### Description The following code: https://3v4l.org/RHFfI#v8.1.4 Resulted in this output: ``` 0: line 0 0: line 1 1: line 2 2: line 3 3: line 4 ``` But I expected...

Bug
Extension: spl
Status: Verified

### Description The following code: ```php

Bug
Status: Invalid

### Description Date('Y-m-01', strtotime("-1 month", strtotime(Date("2022-03-28")))) is returning '2022-02-01', but Date('Y-m-01', strtotime("-1 month", strtotime(Date("2022-03-29")))) is returning '2022-03-01'. This behaviour fails on different months and also based on year is leap...

Bug
Status: Invalid

### Description The following code: ```php format("Y-m-d") . PHP_EOL; echo "February: " . (\DateTime::createFromFormat("Y/m", "2022/02"))->format("Y-m-d") . PHP_EOL; echo "April: " . (\DateTime::createFromFormat("Y/m", "2022/04"))->format("Y-m-d"); ``` Resulted in this output: ``` January:...

Bug
Extension: date
Status: Invalid

### Description The following code: ```php

Bug
Extension: mbstring
Status: Needs Triage

### Description Backslash(\\) and tilde(~) is convert to Shift_JIS (SJIS) using mb_convrert_encoding, But converted word is wrong word. Please see below code and 3v4l . Reproduced only PHP 8.1. The...

Bug
Extension: mbstring
Status: Needs Triage

### Description The following code: No code needed. Just start php-fpm. Resulted in this output: ``` 2022-03-30T18:30:39.378169050Z + php-fpm 2022-03-30T18:30:39.437828786Z [30-Mar-2022 18:30:39] NOTICE: fpm is running, pid 1 2022-03-30T18:30:39.438452091Z [30-Mar-2022...

Bug
Status: Needs Triage

### Description The following code: ```php /usr/local/etc/php/8.1/conf.d/ext-opcache.ini with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies Zend OPcache opcache.blacklist_filename => no value => no value opcache.consistency_checks => 0 => 0...

Bug
Category: Arrays
Status: Invalid