mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 02:07:59 +01:00
33 lines
529 B
Plaintext
33 lines
529 B
Plaintext
|
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
|
||
|
)
|
||
|
)
|