0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00
htmlpurifier/tests
Nick Pope 0b9db1f54b Allow non-static autoload methods w/ PHP >= 5.2.11
HTML Purifier loads itself as the first autoload function by
unregistering all existing functions and re-registering them after
registering itself.

Originally an exception was thrown when a non-static object method was
encountered as the behaviour of spl_autoload_functions() did not return
the object instance, but only the class name.  This was filed on PHP
bugs (#44144).

The bug was fixed for PHP >= 5.2.11 and >= 5.3

Signed-off-by: Nick Pope <nick@nickpope.me.uk>
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2010-10-28 17:25:17 +01:00
..
FSTools Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
HTMLPurifier Allow non-static autoload methods w/ PHP >= 5.2.11 2010-10-28 17:25:17 +01:00
PHPT Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
tmp Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
CliTestCase.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
common.php Mute STRICT errors from CSSTidy and don't run PEARSax3 on PHP 5.3. 2010-04-26 18:27:32 -04:00
Debugger.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
generate_mock_once.func.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
HTMLPurifierTest.php Convert all to new configuration get/set format. 2009-02-21 03:00:34 -05:00
index.php Make test script less chatty when log_errors is on. 2010-05-20 21:50:44 -04:00
multitest.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
path2class.func.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
test_files.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00