mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 17:28:40 +00:00
598c5b60c9
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
15 lines
414 B
PHP
15 lines
414 B
PHP
--TEST--
|
|
Error with zend.ze1_compatibility_mode test
|
|
--PRESKIPIF--
|
|
<?php
|
|
if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
|
|
echo 'skip - ze1_compatibility_mode not present in PHP 5.3 or later';
|
|
}
|
|
--INI--
|
|
zend.ze1_compatibility_mode = 1
|
|
--FILE--
|
|
<?php
|
|
require '../library/HTMLPurifier.auto.php';
|
|
--EXPECTF--
|
|
Fatal error: HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off in %s
|