#32528 [NEW]: If (comparison) {do} function not documented neither properly working

From: Date: Fri, 01 Apr 2005 04:49:50 +0000
Subject: #32528 [NEW]: If (comparison) {do} function not documented neither properly working
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367210@lists.php.net to get a copy of this message
From: grasso789 at versanet dot de Operating system: All PHP version: 4.3.10 PHP Bug Type: Documentation problem Bug description: If (comparison) {do} function not documented neither properly working Description: ------------ PHP has the IF (boolean expression) {...} function which is not documented at all. I am searching for a logical if function since I want to compare numbers. Reproduce code: --------------- if (0<1) {echo("The world does still exist!")} Expected result: ---------------- The world does still exist! Actual result: -------------- Parse error: parse error, expecting ','' or ';'' in ... -- Edit bug report at http://bugs.php.net/?id=32528&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32528&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32528&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32528&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32528&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32528&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32528&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32528&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32528&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32528&r=support Expected behavior: http://bugs.php.net/fix.php?id=32528&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32528&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32528&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32528&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32528&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32528&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32528&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32528&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32528&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32528&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32528&r=mysqlcfg

« previous php.doc (#969367210) next »