Browse Source

MFH: fix #36295 (typo in SplFileObject::flock() parameter name)

PHP-5.1
Antony Dovgal 21 years ago
parent
commit
aa920b8e00
  1. 1
      NEWS
  2. 2
      ext/spl/spl_directory.c

1
NEWS

@ -20,6 +20,7 @@ PHP NEWS
- Added imap_savebody() that allows message body to be written to a file. (Mike)
- Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE
on error. (Pierre)
- Fixed bug #36295 (typo in SplFileObject::flock() parameter name). (Tony)
- Fixed bug #36287 (Segfault with SplFileInfo conversion). (Marcus)
- Fixed bug #36268 (Object destructors called even after fatal errors). (Dmitry)
- Fixed bug #36258 (SplFileObject::getPath() may lead to segfault). (Tony)

2
ext/spl/spl_directory.c

@ -1899,7 +1899,7 @@ ZEND_END_ARG_INFO()
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_flock, 0, 0, 1)
ZEND_ARG_INFO(0, operation)
ZEND_ARG_INFO(1, wouldblock])
ZEND_ARG_INFO(1, wouldblock)
ZEND_END_ARG_INFO()
static

Loading…
Cancel
Save