]> granicus.if.org Git - php/commit
Report error if stream_read is not implemented
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 10 Oct 2019 09:12:17 +0000 (11:12 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 10 Oct 2019 09:13:10 +0000 (11:13 +0200)
commit6878c583b02b75aeab84c493d548700fb1de5976
tree07d7fbfef85d73ebedde5769df7ab09070de25f5
parent382f9b28e8390a49137fc028a0c04d291781ae7a
Report error if stream_read is not implemented

We need to return -1 in this case. Slightly restructure the code
to avoid unnecessary conditions.
Zend/zend_language_scanner.l
main/streams/userspace.c