ID: 41700 User updated by: looris at gmail dot com Reported By: looris at gmail dot com Status: Bogus Bug Type: Documentation problem Operating System: Irrilevant PHP Version: Irrelevant New Comment:
so what? read again what I wrote. Previous Comments: ------------------------------------------------------------------------ [2007-08-17 02:08:48] [EMAIL PROTECTED] "return" is not a function as documented in "return" documentation. ------------------------------------------------------------------------ [2007-06-15 12:58:40] smlerman at gmail dot com >From http://www.php.net/manual/en/function.return.php: "...the return() statement..." Return is a statement, not a function or expression. It has to appear on its own, not as part of some other statement. ------------------------------------------------------------------------ [2007-06-15 12:37:21] looris at gmail dot com Description: ------------ I came across this: http://bugs.php.net/bug.php?id=40712 here's what iliaa wrote: +++++ Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php +++++ now, I guess that you can't do "..or return.." because return isn't a function, ok, but, reading the documentation, nothing related to this sort of thing is ever mentioned in these related articles: http://www.php.net/manual/en/function.return.php http://www.php.net/manual/en/functions.returning-values.php http://www.php.net/manual/en/language.operators.logical.php http://www.php.net/manual/en/language.functions.php Maybe this thing is explained somewhere in the docs, but it seems a little awkward to me that it doesn't appear on none of these related articles. I think this kind of thing does really need to be mentioned somewhere in these places. If this is not a documentation bug, i don't know what is. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41700&edit=1