1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/ext/spl/tests/bug79432.phpt
2020-04-27 16:22:32 +02:00

15 lines
293 B
PHP

--TEST--
Bug #79432 (spl_autoload_call() with non-string argument violates assertion)
--FILE--
<?php
try {
spl_autoload_call([]);
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
spl_autoload_call(): Argument #1 ($class_name) must be of type string, array given