php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71740 [ES] Wrong example result
Submitted: 2016-03-08 11:37 UTC Modified: 2016-03-25 13:49 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: PhoneixSegovia at gmai dot com Assigned: seros (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2016-03-08 11:37 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-08 19:15 UTC] cmb@php.net
-Summary: Wrong example result +Summary: [ES] Wrong example result -Status: Open +Status: Verified
 [2016-03-25 13:49 UTC] seros@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: seros
 [2016-03-25 13:49 UTC] seros@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 16:00:01 2026 UTC