correct return value for bzopen(), dba_open(), finfo_open() and shmop_open() functions
This commit is contained in:
parent
480833767c
commit
8841ebf3e0
|
@ -11,7 +11,7 @@
|
||||||
* and 'w' (write) are supported. Everything else will cause bzopen
|
* and 'w' (write) are supported. Everything else will cause bzopen
|
||||||
* to return <b>FALSE</b>.
|
* to return <b>FALSE</b>.
|
||||||
* </p>
|
* </p>
|
||||||
* @return resource If the open fails, <b>bzopen</b> returns <b>FALSE</b>, otherwise
|
* @return resource|false If the open fails, <b>bzopen</b> returns <b>FALSE</b>, otherwise
|
||||||
* it returns a pointer to the newly opened file.
|
* it returns a pointer to the newly opened file.
|
||||||
*/
|
*/
|
||||||
function bzopen ($filename, $mode) {}
|
function bzopen ($filename, $mode) {}
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
* can act on behalf of them.
|
* can act on behalf of them.
|
||||||
* </p>
|
* </p>
|
||||||
* @param mixed $_ [optional]
|
* @param mixed $_ [optional]
|
||||||
* @return resource a positive handle on success or <b>FALSE</b> on failure.
|
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
|
||||||
*/
|
*/
|
||||||
function dba_open ($path, $mode, $handler = null, $_ = null) {}
|
function dba_open ($path, $mode, $handler = null, $_ = null) {}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ function dba_open ($path, $mode, $handler = null, $_ = null) {}
|
||||||
* can act on behalf of them.
|
* can act on behalf of them.
|
||||||
* </p>
|
* </p>
|
||||||
* @param mixed $_ [optional]
|
* @param mixed $_ [optional]
|
||||||
* @return resource a positive handle on success or <b>FALSE</b> on failure.
|
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
|
||||||
*/
|
*/
|
||||||
function dba_popen ($path, $mode, $handler = null, $_ = null) {}
|
function dba_popen ($path, $mode, $handler = null, $_ = null) {}
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ class finfo {
|
||||||
* A .mime and/or .mgc suffix is added if
|
* A .mime and/or .mgc suffix is added if
|
||||||
* needed.
|
* needed.
|
||||||
* </p>
|
* </p>
|
||||||
* @return resource a magic database resource on success or <b>FALSE</b> on failure.
|
* @return resource|false a magic database resource on success or <b>FALSE</b> on failure.
|
||||||
*/
|
*/
|
||||||
function finfo_open ($options = null, $magic_file = null) {}
|
function finfo_open ($options = null, $magic_file = null) {}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* @param int $size <p>
|
* @param int $size <p>
|
||||||
* The size of the shared memory block you wish to create in bytes
|
* The size of the shared memory block you wish to create in bytes
|
||||||
* </p>
|
* </p>
|
||||||
* @return resource On success <b>shmop_open</b> will return an id that you can
|
* @return resource|false On success <b>shmop_open</b> will return an id that you can
|
||||||
* use to access the shared memory segment you've created. <b>FALSE</b> is
|
* use to access the shared memory segment you've created. <b>FALSE</b> is
|
||||||
* returned on failure.
|
* returned on failure.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue