Fixed php 5.2.17 with Nexylan php-patchset
Patchset includes fix for dom