Add vim modelines to all files.
[htmlpurifier.git] / tests / HTMLPurifier / PHPT / loading / _no-autoload.inc
blobfc109e727654d84573dd7a5b8d33c496ad3019b4
1 <?php
3 /**
4  * Tests if autoloading is off in HTML Purifier. If all tests pass, no output.
5  */
7 if (function_exists('spl_autoload_register')) {
8     $__v = spl_autoload_functions();
9     assert('$__v == false || !in_array(array("HTMLPurifier_Bootstrap", "autoload"), $__v)');
10 } else {
11     if (function_exists('__autoload')) {
12         $__r = new ReflectionFunction('__autoload');
13         assert('$__r->getFileName() != realpath("../library/HTMLPurifier.autoload.php")');
14     }
17 // vim: et sw=4 sts=4