summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for PHP 7.4.5PHP-7.4.5Derick Rethans2020-04-141-1/+1
|
* Update headerDerick Rethans2020-04-141-1/+1
|
* Update NEWSDerick Rethans2020-04-141-0/+3
|
* Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2020-04-142-2/+11
| | | | | | * PHP-7.3: Fix bug #79465 - use unsigneds as indexes. Fix bug #79330 - make all execution modes consistent in rejecting \0
* Update NEWS for PHP 7.4.5RC1Derick Rethans2020-03-311-1/+1
|
* Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-310-0/+0
|\ | | | | | | | | * PHP-7.3: Next is 7.3.18
| * Next is 7.3.18Christoph M. Becker2020-03-314-6/+8
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-314-3/+21
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79413: session_create_id() fails for active sessions
| * Fix #79413: session_create_id() fails for active sessionsChristoph M. Becker2020-03-314-3/+21
| | | | | | | | | | | | | | | | | | The comment on `PS_VALIDATE_SID_FUNC(files)` is very clear that the function is supposed to return `SUCCESS` if the session already exists. So to detect a collision, we have to check for `SUCCESS`, not `FAILURE`. We also fix the wrong condition in session_regenerate_id() as well.
* | Don't check directory nlink in stat testsNikita Popov2020-03-302-69/+2
| | | | | | | | | | | | | | | | It seems like on many filesystems nlink for directories is the number of subdirectories (plus two, due to . and ..). However, this is not a POSIX requirement, and some filesystems don't implement it this way. This seems to be the case for whatever is used on the Travis AArch64 builders now.
* | Fix #74940: DateTimeZone loose comparison always trueChristoph M. Becker2020-03-303-43/+78
| | | | | | | | | | | | | | | | | | | | | | | | Since `DateTimeZone` does not implement a `compare_objects` handler, nor has any properties, two `DateTimeZone` instances always compare as being equal, even if they designate totally different timezones. Even worse, after calling `var_dump()` on these objects, the actual comparison may yield a correct result. We therefore introduce a `compare_objects` handlers, which prevents different behavior before/after `var_dump()`, and which allows us to clearly define the intended semantics.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-302-0/+8
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79427: Integer Overflow in shmop_open()
| * Fix #79427: Integer Overflow in shmop_open()Christoph M. Becker2020-03-302-0/+8
| | | | | | | | | | | | If `shm.shm_segsz > ZEND_LONG_MAX` the assignment to `shmop->size` a few lines below would overflow, so we catch that early and bail out if necessary.
* | Allow numeric [UG]ID in FPM listen.{owner,group}Andre Nathan2020-03-296-15/+204
| |
* | NEWSRemi Collet2020-03-291-0/+2
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Remi Collet2020-03-291-1/+2
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79424 ext/zip: don't use gl_pathc after call to globfree
| * Fix #79424 ext/zip: don't use gl_pathc after call to globfreeMax Rees2020-03-292-1/+4
| | | | | | | | | | This breaks on Linux with the musl libc, since it zeroes out gl_pathc during globfree.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-261-1/+1
|\ \ | |/ | | | | | | * PHP-7.3: Add missing 'skip' to bug79332.phpt skip message
| * Add missing 'skip' to bug79332.phpt skip messageLukas Berger2020-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skip message must start with the word 'skip', otherwise the test will not be skipped. *Before:* Running selected tests. TEST 1/1 [ext/com_dotnet/tests/bug79332.phpt] ========DIFF======== 001+ Fatal error: Uncaught Error: Class 'COMPersistHelper' not found in /srv/php/ext/com_dotnet/tests/bug79332.php:2 001- A com_exception has been thrown 002+ Stack trace: 003+ #0 {main} 004+ thrown in /srv/php/ext/com_dotnet/tests/bug79332.php on line 2 ========DONE======== FAIL Bug #79332 (php_istreams are never freed) [ext/com_dotnet/tests/bug79332.phpt] *After:* Running selected tests. SKIP Bug #79332 (php_istreams are never freed) [ext/com_dotnet/tests/bug79332.phpt] reason: com_dotnet extension not available
* | Explicitly declare the char as signed in zend_ffi_val.George Peter Banyard2020-03-261-1/+1
| | | | | | | | | | This causes issues down the line as char are unsigned on some platforms, e.g. ARM and cause a [-Wtype-limits] warning to be emitted.
* | Merge branch 'PHP-7.3' into PHP-7.4Dmitry Stogov2020-03-253-3/+45
|\ \ | |/ | | | | | | * PHP-7.3: Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script).
| * Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script).Dmitry Stogov2020-03-253-3/+45
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-03-253-0/+21
|\ \ | |/ | | | | | | * PHP-7.3: Fix bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
| * Fix bug #79410 (system() swallows last chunk if it is exactly 4095 bytes ↵Christian Schneider2020-03-253-0/+21
| | | | | | | | | | | | without newline) Closes GH-5292.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-03-231-0/+19
|\ \ | |/ | | | | | | * PHP-7.3: Add test file
| * Add test fileNikita Popov2020-03-231-0/+19
| | | | | | | | Forgot the git add again...
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-03-234-6/+16
|\ \ | |/ | | | | | | * PHP-7.3: Handle NULL caller_call_opline
| * Handle NULL caller_call_oplineNikita Popov2020-03-234-6/+16
| | | | | | | | | | This can happen if there is an EXIT in the call arguments, in which case the DO_CALL opcode may be eliminated as unreachable.
* | Fix leak on Windows as wellChristoph M. Becker2020-03-231-0/+5
| | | | | | | | Cf. <http://git.php.net/?p=php-src.git;a=commit;h=db08ef0d3274b239a6b9e68d71d02bb6acb71d82>
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-231-1/+1
|\ \ | |/ | | | | | | * PHP-7.3: Fix test for Windows
| * Fix test for WindowsChristoph M. Becker2020-03-231-1/+1
| | | | | | | | | | Windows filenames may very well contain a colon, so we adjust the test accordingly.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-233-38/+68
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79200: Some iconv functions cut Windows-1258
| * Fix #79200: Some iconv functions cut Windows-1258Christoph M. Becker2020-03-233-38/+68
| | | | | | | | | | | | | | | | | | | | | | To cater to potentially state-dependent encodings, we have to reset the conversion descriptor into its initial shift state to properly finish the conversion. Furthermore, state-dependent encodings may not show progress when comparing `in_left` before and after the conversion; we rather have to see whether `out_left` has decreased. Also we have to cater to the fact that the final potentially state resetting call does not signal failure, but we still have to break respective loops afterwards.
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-233-13/+31
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79393: Null coalescing operator failing with SplFixedArray
| * Fix #79393: Null coalescing operator failing with SplFixedArrayChristoph M. Becker2020-03-233-13/+31
| | | | | | | | | | | | | | 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
* | Fix RSA memory leak in mysqlnd authNikita Popov2020-03-231-0/+3
| |
* | unneeded after fixRemi Collet2020-03-201-1/+0
| |
* | NEWSRemi Collet2020-03-201-1/+4
| |
* | Merge branch 'PHP-7.3' into PHP-7.4Remi Collet2020-03-201-0/+15
|\ \ | |/ | | | | | | | | * PHP-7.3: NEWS Fix Bug #79296 ZipArchive::open fails on empty file
| * NEWSRemi Collet2020-03-201-0/+3
| |
| * Fix Bug #79296 ZipArchive::open fails on empty fileRemi Collet2020-03-201-0/+15
| |
* | Mention which categories to use for patch releasesDerick Rethans2020-03-201-2/+3
| |
* | Fix potential test conflictChristoph M. Becker2020-03-201-1/+1
| | | | | | | | Cf. <https://ci.appveyor.com/project/php/php-src/builds/31564684/job/k9u3xv860fao3n2e#L5578>
* | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-03-193-0/+29
|\ \ | |/ | | | | | | * PHP-7.3: Fix #79396: DateTime hour incorrect during DST jump forward
| * Fix #79396: DateTime hour incorrect during DST jump forwardNate Brunette2020-03-193-0/+29
| | | | | | | | | | When you attempt to set the time to a non-existent time occuring during a DST jump forward, the hour does not move forward correctly.
* | Improve FFI test suite for WindowsChristoph M. Becker2020-03-1811-52/+64
| | | | | | | | | | | | | | | | We add Windows support to four existing test cases, extract some useful utility functions, and use them to simplify further test cases. We also remove the Windows specific code from preload.inc, since preloading isn't supported on Windows anyway.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-03-182-2/+4
|\ \ | |/ | | | | | | * PHP-7.3: Clarify session.cookie_samesite="None"
| * Clarify session.cookie_samesite="None"Nikita Popov2020-03-182-2/+4
| |
* | Make bug52820.phpt more robustNikita Popov2020-03-181-6/+6
| | | | | | | | Use a more robust error condition...
* | Explicitly start mysqlNikita Popov2020-03-183-0/+3
| |