php-src/Zend/tests/try/try_multicatch_001.phpt
2020-02-03 22:52:20 +01:00

20 lines
244 B
PHP

--TEST--
Parsing test
--FILE--
<?php
require_once __DIR__ . '/exceptions.inc';
try {
echo 'TRY' . PHP_EOL;
} catch(Exception1 | Exception2 $e) {
echo 'Exception';
} finally {
echo 'FINALLY' . PHP_EOL;
}
?>
--EXPECT--
TRY
FINALLY