1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug79432.phpt
Máté Kocsis 6ba24e9615 Improve a few parameter names in ext/spl
Use the same names which are used by zend functions.
2020-08-03 00:45:12 +02:00

15 lines
288 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) must be of type string, array given