1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Files
2024-07-10 16:47:31 +02:00

15 lines
318 B
PHP

--TEST--
assert_options() - unknown assert option.
--FILE--
<?php
try {
assert_options(1000);
} catch (\ValueError $e) {
echo $e->getMessage();
}
?>
--EXPECTF--
Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
assert_options(): Argument #1 ($option) must be an ASSERT_* constant