ID: 29545 Updated by: [EMAIL PROTECTED] Reported By: kingoleg at mail dot ru -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2004-08-06 11:54:04] kingoleg at mail dot ru Description: ------------ I have found a "bug" on page function.array-pop.html I read: If array is empty (or is not an array), NULL will be returned. But there is a warning about FALSE: This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE, such as 0 or "". Please read the section on Booleans for more information. Use the === operator for testing the return value of this function. So, I know, that this warning is exists in man of function that on failure return (boolean)FALSE but can return (integer)0 that equal (in == sense) to FALSE. I think, that this warning is not needed on this page. Reproduce code: --------------- http://us2.php.net/manual/en/function.array-pop.php Expected result: ---------------- There is no Warning about FALSE. Actual result: -------------- Warning about FALSE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29545&edit=1