GitXplorerGitXplorer
s

php-XML-Simple

public
3 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
d3e8ec4778754d4f137de095d7ae9a4fd3030a59

New PHPUnit doesn't support HHVM so I'm removing it as a test target

sscottchiefbaker committed 7 years ago
Unverified
8c43cf554ab7bc0460f9b7116ee2653badcaf119

Update for new version of PHPUnit

sscottchiefbaker committed 7 years ago
Unverified
02b9befcb146d96eb24c4d346bf92b06329e04ef

Update travis to use new PHP versions

sscottchiefbaker committed 7 years ago
Unverified
86dcd09760875f3ab63f311e3aaddf94a33ae5ea

Revert "Don't mask errors... it's bad"

sscottchiefbaker committed 7 years ago
Unverified
a10cb1f1e23e0956df272754e062737182426570

Don't mask errors... it's bad

sscottchiefbaker committed 7 years ago
Unverified
deee3400c6fa306b1404ff6258eebbba969e0731

Return NULL if we don't parse to an array

sscottchiefbaker committed 7 years ago

README

The README file for this repository.

PHP XML Simple

Build Status

Namespaced libary to parse XML into a hash data structure. Other implementations also do this, but ignore attributes. This library handles attributes correctly.

This library is based on the Perl library: XML::Simple. Much care was taken to make the output of this PHP library mimic XML::Simple.

Requires: PHP 5.3 (for namespace support) and SimpleXML support in your PHP.

Usage:

require("/path/to/XML-Simple.php");

$hash = \scottchiefbaker\xml::XMLin($filename);
$hash = \scottchiefbaker\xml::XMLin($xml_string);