1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/standard/tests/assert/assert_options_error.phpt
Máté Kocsis af80d8a14e Add more argument types to stubs
Closes GH-5943
2020-08-07 12:35:30 +02:00

14 lines
236 B
PHP

--TEST--
assert_options() - unknown assert option.
--FILE--
<?php
try {
assert_options(1000);
} catch (\ValueError $e) {
echo $e->getMessage();
}
?>
--EXPECT--
assert_options(): Argument #1 ($what) must be an ASSERT_* constant