| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Closes GH-5293
|
| | |
| | |
| | |
| | | |
Closes GH-5286
|
| | |
| | |
| | |
| | | |
Closes GH-5278
|
| | |
| | |
| | |
| | | |
Don't be a special snowflake, generate a standard TypeError here.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #79393: Null coalescing operator failing with SplFixedArray
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #79393: Null coalescing operator failing with SplFixedArray
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We favor the KISS principle over optimization[1] – SPL is already
special enough.
[1] <https://github.com/php/php-src/pull/2489/commits/352f3d4476a79bb86136b431719df7394e5a8d4e#r112498098>ff
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5287
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Rename variable for clarity
* Reduce section with replaced error handling
* Drop comment code line
|
| | |
| | |
| | |
| | | |
MultipleIterator::containsIterator()
|
| | |
| | |
| | |
| | | |
Closes GH-5267
|
| | |
| | |
| | |
| | | |
Closes GH-5266
|
| | |
| | |
| | |
| | | |
Closes GH-5245
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Skip test on Windows if privileges are insufficient
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Skip test on Windows if privileges are insufficient
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #75673: SplStack::unserialize() behavior
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #75673: SplStack::unserialize() behavior
|
| | |
| | |
| | |
| | |
| | |
| | | |
Even though `SplStack::unserialize()` is not supposed to be called on
an already constructed instance, it is probably better if the method
clears the stack before actually unserializing.
|
| | |
| | |
| | |
| | | |
Mostly reindent PHP scripts to spaces.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5211
|
| | |
| | |
| | |
| | | |
We should really get rid of this hack though... Wow!
|
| | |
| | |
| | |
| | | |
Store rc in data u2. This drops element size from 40 to 32 bytes.
|
| | |
| | |
| | |
| | | |
Closes GH-5092
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The SplFixedArray API treats all elements as NULL, even if they
have not been explicitly initialized. Rather than initializing
to UNDEF an treating that specially in various circumstances,
directly initialize elements to NULL.
This also fixes an assertion failure in the attached test case.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #79151
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #79151
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure we also NULL out next/prev of the removed element on
pop/shift. This only matter is that element is still being referenced
by an iterator.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead add RETURN_COPY(_VALUE) macros will the expected behavior.
RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around, probably because the alternative was to write directly to
the return_value variable.
|
| | |
| | |
| | |
| | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
In reflection, sodium, and SPL
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We fix the most often occuring typos according to a recent codespell
report[1] in tests, code comments and documentation.
[1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78976: SplFileObject::fputcsv returns -1 on failure
|
| | |
| | |
| | |
| | |
| | |
| | | |
`php_stream_write()` returns `-1` on failure now, which has to be
catered to by `SplFileObject::fputcsv()` which still is supposed to
return `false` on failure.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
Fix test
Fix bug #78793
Fix build - no model field anymore
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
Fix #78943: mail() may release string with refcount==1 twice
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
Fix #78943: mail() may release string with refcount==1 twice
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since the constructor of DirectoryIterator and friends is supposed to
accepts paths (i.e. strings without NUL bytes), we must not accept
arbitrary strings.
|