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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pandaro at freebsd dot schema dot ca
New email:
PHP Version: OS:

 

 [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: Fri May 31 23:01:30 2024 UTC