php-src/tests/lang/zend_throw_exception_001.phpt

13 lines
204 B
PHP

--TEST--
zend_throw_exception with NULL message
--FILE--
<?php
try {
$assert = 'assert';
$assert(false);
} catch (AssertionError $assertionError) {
echo 'Done' . PHP_EOL;
}
?>
--EXPECT--
Done