Skip to content

Commit 94238cf

Browse files
committed
IHF: xml_to_array readme info added.
1 parent 2f3ead8 commit 94238cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,18 +340,18 @@ $array = xml_to_array('<?xml version="1.0"?>
340340
341341
// [
342342
// "Good_guy" => [
343+
// "name" => "Luke Skywalker",
344+
// "weapon" => "Lightsaber",
343345
// "@attributes" => [
344346
// "Rating" => "100",
345347
// ],
346-
// "name" => "Luke Skywalker",
347-
// "weapon" => "Lightsaber",
348348
// ],
349349
// "Bad_guy" => [
350+
// "name" => "Sauron",
351+
// "weapon" => "Evil Eye",
350352
// "@attributes" => [
351353
// "Rating" => "90",
352354
// ],
353-
// "name" => "Sauron",
354-
// "weapon" => "Evil Eye",
355355
// ],
356356
// ]
357357
```

0 commit comments

Comments
 (0)