Doc #66262 [Opn->Csd]: Bad output with the example #2 of manual page structures.goto (Spanish)
| From: | aharvey@php.net | Date: | Wed, 11 Dec 2013 18:15:53 +0000 |
| Subject: | Doc #66262 [Opn->Csd]: Bad output with the example #2 of manual page structures.goto (Spanish) | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10698@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66262&edit=1
ID: 66262
Updated by: aharvey@php.net
Reported by: antonioj85 at gmail dot com
Summary: Bad output with the example #2 of manual page
structures.goto (Spanish)
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: Mac OS
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2013-12-11 10:45:01] antonioj85 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/control-structures.goto
---
Bad output with the example #2.
Correct output in "Expected result".
Expected result:
----------------
Ejemplo #2 Ejemplo de goto en un bucle
<?php
for($i=0,$j=50; $i<100; $i++) {
while($j--) {
if($j==17) goto end;
}
}
echo "i = $i";
end:
echo 'j alcanzó 17';
?>
El resultado del ejemplo serÃa:
j alcanzó 17
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66262&edit=1