From: [EMAIL PROTECTED] Operating system: windows PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: [chm] bug on control-structures.alternative-syntax.html
I have found a bug on page control-structures.alternative-syntax.html [chm date: 2002-04-20]... this applies to current web version of alternative syntax for control structures section as well - the example says: <?php if ($a == 5): ?> A is equal to 5 <?php endif; ?> text directly below it says: In the above example, the HTML block "A = 5" is nested within an if statement written in the alternative syntax. The HTML block would be displayed only if $a is equal to 5. I believe "A = 5" should say "A is equal to 5" -- Edit bug report at http://bugs.php.net/?id=17409&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17409&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17409&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17409&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17409&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17409&r=support Expected behavior: http://bugs.php.net/fix.php?id=17409&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17409&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17409&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17409&r=globals