diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-09-02 21:32:24 -0400 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-03 09:23:39 +0200 |
commit | 9c3b7ccda5e3737c779e019eb1468213edaa2e39 (patch) | |
tree | a0ef3b7c019afbe51c40b520fe90b99765473c3d /ext/date | |
parent | cd63908ab8f216d5095b2517eb90488cda2c321e (diff) | |
download | php-git-9c3b7ccda5e3737c779e019eb1468213edaa2e39.tar.gz |
Fix opcache return type for hash_update_stream
It can return false if the resource type is wrong.
```
php > var_export(hash_update_stream(hash_init('md5'),
imagecreate(1,1)));
Warning: hash_update_stream(): supplied resource is not a valid stream
resource in php shell code on line 1
false
```
The return types were initially added in
c88ffa9a5673cb3141660626ba1921671f0b84d6
Diffstat (limited to 'ext/date')
0 files changed, 0 insertions, 0 deletions