< Day Day Up > |
SAX is the original XML extension available with PHP. It's also the best supported, since expat has been bundled with PHP since the release of PHP 4. PHP's SAX support in PHP 5 and PHP 4 is the same. The only difference is a behind-the-scenes change. Since PHP 5 unbundles expat in favor of libxml2 , a compatibility layer maps SAX calls from one parser to the other. Therefore, your SAX applications should work exactly as they did under expat . Theory, however, doesn't always equal reality. There are a few differences that can slip you up. Here's a list of the major incompatibilities:
|
< Day Day Up > |