php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #17409 [chm] bug on control-structures.alternative-syntax.html
Submitted: 2002-05-24 09:04 UTC Modified: 2002-05-24 09:23 UTC
From: pandaro at freebsd dot schema dot ca Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.0 OS: windows
Private report: No CVE-ID: None
 [2002-05-24 09:04 UTC] pandaro at freebsd dot schema dot ca
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"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-24 09:23 UTC] derick@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 18:01:35 2024 UTC