summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-16 21:38:30 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-17 09:38:18 +0200
commit46d22e435f43529aa55b54460dd265c4bd22409f (patch)
treecd5ac4592815190de13a755d8d8efbe7561196dd /UPGRADING
parent36fd95b52461d63f7eb5cdbea8f9a8f58cb8d0be (diff)
downloadphp-git-46d22e435f43529aa55b54460dd265c4bd22409f.tar.gz
Change int parameter types to bool when the parameter behaves as bool
Closes GH-6148
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING4
1 files changed, 4 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 632c50618f..090b221c71 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -598,6 +598,8 @@ PHP 8.0 UPGRADE NOTES
. sem_get() will now return an SysvSemaphore object rather than a resource.
Return value checks using is_resource() should be replaced with checks
for `false`.
+ . The $auto_release parameter of sem_get() was changed to accept bool values
+ rather than int.
- Sysvshm:
. shm_attach() will now return an SysvSharedMemory object rather than a resource.
@@ -786,6 +788,8 @@ PHP 8.0 UPGRADE NOTES
array_diff($array, ...$excludes);
// OK even if $arrays only contains a single array.
array_intersect(...$arrays);
+ . The $flag parameter of ob_implicit_flush() was changed to accept bool
+ values rather than int.
- Zip:
. Extension updated to version 1.19.0