1--TEST--
2spl_autoload_register() function - warn when using false as second argument for spl_autoload_register()
3--FILE--
4<?php
5function customAutolader($class) {
6    require_once __DIR__ . '/testclass.class.inc';
7}
8spl_autoload_register('customAutolader', false);
9
10spl_autoload_call('TestClass');
11var_dump(class_exists('TestClass', false));
12?>
13--EXPECTF--
14Notice: spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() will always throw in %s on line %d
15%stestclass.class.inc
16bool(true)
17