ze1_compatibility_mode.phpt 414 B

1234567891011121314
  1. --TEST--
  2. Error with zend.ze1_compatibility_mode test
  3. --PRESKIPIF--
  4. <?php
  5. if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
  6. echo 'skip - ze1_compatibility_mode not present in PHP 5.3 or later';
  7. }
  8. --INI--
  9. zend.ze1_compatibility_mode = 1
  10. --FILE--
  11. <?php
  12. require '../library/HTMLPurifier.auto.php';
  13. --EXPECTF--
  14. Fatal error: HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off in %s