1--TEST--
2spl_autoload_register() function - warn when using spl_autoload_call() as the autoloading function
3--FILE--
4<?php
5
6try {
7    spl_autoload_register('spl_autoload_call');
8} catch (\ValueError $e) {
9    echo $e->getMessage() . \PHP_EOL;
10}
11
12?>
13--EXPECT--
14spl_autoload_register(): Argument #1 ($callback) must not be the spl_autoload_call() function
15