diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-16 21:38:30 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-17 09:38:18 +0200 |
commit | 46d22e435f43529aa55b54460dd265c4bd22409f (patch) | |
tree | cd5ac4592815190de13a755d8d8efbe7561196dd /UPGRADING | |
parent | 36fd95b52461d63f7eb5cdbea8f9a8f58cb8d0be (diff) | |
download | php-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-- | UPGRADING | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |