1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Files
archived-php-src/ext/standard/tests/assert/assert_options_error.phpt
Máté Kocsis 50765075db Improve some ValueError messages
Closes GH-5340
2020-04-06 10:41:01 +02:00

14 lines
231 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 have a valid value