Doc #71740 [Opn->Ver]: [ES] Wrong example result
| From: | cmb@php.net | Date: | Tue, 08 Mar 2016 19:15:30 +0000 |
| Subject: | Doc #71740 [Opn->Ver]: [ES] Wrong example result | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13243@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71740&edit=1
ID: 71740
Updated by: cmb@php.net
Reported by: PhoneixSegovia at gmai dot com
-Summary: Wrong example result
+Summary: [ES] Wrong example result
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-03-08 11:37:23] PhoneixSegovia at gmai dot com
Description:
------------
In the documentation http://php.net/manual/es/simplexml.examples-basic.php
in example #10 the code show:
$puntuacion = $peliculas->pelicula[0]->addChild('puntuacion', 'Todos los
públicos');
$puntuacion->addAttribute('tipo', 'clasificación');
But the result don't have this new element created.
The English version have it correctly.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71740&edit=1