1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 17:57:59 +01:00
PHP-Parser/test/code/parser/stmt/tryCatch_without_variable.test

32 lines
528 B
Plaintext
Raw Normal View History

Try/Catch without variable
-----
<?php
try {
} catch (Exception) {
}
-----
!!php7
array(
0: Stmt_TryCatch(
stmts: array(
)
catches: array(
0: Stmt_Catch(
types: array(
0: Name(
parts: array(
0: Exception
)
)
)
var: null
stmts: array(
)
)
)
finally: null
)
2020-06-07 18:52:12 +02:00
)