Improved tester matching and some cleanup.
Empty expected test output handled correctly.
New XMLReader test case added and most other test results are now expected to be exact.
XMLReader initialization improvements and cleanup. 13 tests succeeded (65%), 2 skipped and 5 failed.
Added preg tests from php-5.4.11 sources. 36 succeeded, 1 skipped, 61 failed.
String length now behaves like PHP. It returns the number of bytes, which is different for non-ascii UTF code-points.
The order of preg groups match PHP's. Added preg consts and error names. 3 failed tests now pass. Total of 91 regex tests succeeded, 1 skipped, 66 failed .