/ Published in: PHP
Parse an attributes string into an array. If the string starts with a tag, then the attributes on the first tag are parsed. This parses via a manual loop and is designed to be safer than using DOMDocument.
URL: http://dev.airve.com/demo/speed_tests/php/parse_attrs.php