From:             looris at gmail dot com
Operating system: Irrilevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  documentation not clear about "whatever() or return;"

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 bug report at http://bugs.php.net/?id=41700&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41700&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41700&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41700&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41700&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41700&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41700&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41700&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41700&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41700&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41700&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41700&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41700&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41700&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41700&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41700&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41700&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41700&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41700&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41700&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41700&r=mysqlcfg

Reply via email to