Revision tags: php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1 |
|
#
5caaf40b |
| 29-Sep-2020 |
George Peter Banyard |
Introduce pseudo-keyword ZEND_FALLTHROUGH And use it instead of comments |
#
46865392 |
| 02-Apr-2021 |
Dmitry Stogov |
Attempt to fix ext/spl/tests/bug67359.phpt broken by f323baa845b51e00e8116bc55fa40400a0f70e44 |
#
93430e2b |
| 02-Apr-2021 |
Dmitry Stogov |
clear only neccessary part of spl_filesystem_object |
#
f323baa8 |
| 02-Apr-2021 |
Dmitry Stogov |
Reduce number of stat() calls |
#
5b29eba7 |
| 29-Mar-2021 |
Cameron Hall |
Fix #42357: fputcsv() has an optional parameter for line endings fputcsv does not terminate lines correctly as per RFC 41801[1]. After adding a new parameter fputcsv may now use a user defin
Fix #42357: fputcsv() has an optional parameter for line endings fputcsv does not terminate lines correctly as per RFC 41801[1]. After adding a new parameter fputcsv may now use a user defined line ending,. In order to maintain backwards compatibility fputcsv() still terminates lines with "\n" by default. Also fixes: #46367[2], #62770[3] Ref: #42357[4] [1] <https://tools.ietf.org/html/rfc4180> [2] <https://bugs.php.net/bug.php?id=46367> [3] <https://bugs.php.net/bug.php?id=62770> [4] <https://bugs.php.net/bug.php?id=42357>
show more ...
|
#
1d5f359f |
| 09-Mar-2021 |
Dmitry Stogov |
Use spl_filesystem_object.file_name for SPL_FS_DIR as a cache and prevent multiple file name reconstruction. |
#
dd3bfb37 |
| 03-Mar-2021 |
Dmitry Stogov |
Switch to new ZPP |
#
17ad94df |
| 26-Feb-2021 |
Dmitry Stogov |
Optimize out zend_strpprintf() usage for simple concationaton |
#
13e4ce38 |
| 25-Feb-2021 |
Dmitry Stogov |
Improve SPL directory and stat() cache using zend_srting* instead of char* |
#
4f4c031f |
| 18-Feb-2021 |
Máté Kocsis |
Generate ext/spl class entries from stubs Closes GH-6709 |
#
549235d3 |
| 15-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix leak when breaking out of FilesystemIterator Fixed bug #80600
|
#
8e9eeca0 |
| 15-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix leak when breaking out of FilesystemIterator
|
#
44a80b64 |
| 15-Feb-2021 |
Nikita Popov |
Fix leak when breaking out of FilesystemIterator We need to always destroy current, not just when iter.data is not set. Take this opportunity to clean up the iterator destructor
Fix leak when breaking out of FilesystemIterator We need to always destroy current, not just when iter.data is not set. Take this opportunity to clean up the iterator destructor code a bit, to remove redundant checks and incorrect comments.
show more ...
|
#
c83cbc52 |
| 28-Jan-2021 |
Dmitry Stogov |
Remove useless zend_update_class_constants() calls |
#
d340be0d |
| 18-Jan-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: SplFileObject::fgets() cannot return false
|
#
f2364f31 |
| 18-Jan-2021 |
Nikita Popov |
SplFileObject::fgets() cannot return false spl_filesystem_file_read() is called with silent=0, so it will throw on failure. |
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|
#
f1d11c11 |
| 18-Nov-2020 |
Christoph M. Becker |
Fix #62004: SplFileObject: fgets after seek returns wrong line As it is, `::seek(0)` sets the file pointer to the beginning of the file, but `::seek($n)` where `$n > 0` sets the file poi
Fix #62004: SplFileObject: fgets after seek returns wrong line As it is, `::seek(0)` sets the file pointer to the beginning of the file, but `::seek($n)` where `$n > 0` sets the file pointer to the beginning of the following line, having line `$n` already read into the line buffer. This is pretty inconsistent; we fix it by always seeking to the beginning of the line. We also add a test case for the duplicate bug #46569. Closes GH-6434.
show more ...
|
#
61b33e90 |
| 19-Oct-2020 |
Nikita Popov |
Add additional initialization checks to SplFileInfo |
Revision tags: php-7.4.11, php-7.3.23 |
|
#
625d8463 |
| 22-Sep-2020 |
Nikita Popov |
Consistent error handling for fgetcsv/fputcsv Normalize the behavior between the file functions and those on SplFileObject. Be consistent about throwing regardless of whether th
Consistent error handling for fgetcsv/fputcsv Normalize the behavior between the file functions and those on SplFileObject. Be consistent about throwing regardless of whether the delimiter etc is empty or has too many characters. I don't think it's worthwhile to distinguish these cases. Back when we looked into this originally, there was some hope that we might want to add support for multiple-character delimiter etc, but after a cursory look, I really don't think this is going to happen (for fputcsv maybe, but for fgetcsv this just makes an already broken function much more complicated.) Closes GH-6188.
show more ...
|
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1 |
|
#
063fdd94 |
| 12-Sep-2020 |
George Peter Banyard |
Use ValueError instead of exceptions in SPL extension |
#
b6207338 |
| 11-Sep-2020 |
George Peter Banyard |
Use normal error in SPL for uninitialized objects |
#
9affbef0 |
| 11-Sep-2020 |
George Peter Banyard |
Use normal error in SPL for 'An iterator cannot be used with foreach by reference' |
#
628db3f3 |
| 04-Sep-2020 |
Máté Kocsis |
Fix UNKNOWN default values in various extensions Closes GH-6075 |
#
7805b977 |
| 03-Sep-2020 |
George Peter Banyard |
Extract common flock code As SPL is currently a copie of the code in file.c Closes GH-6069 |