mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-02 17:28:27 +01:00
9 lines
129 B
Plaintext
9 lines
129 B
Plaintext
|
Throw expression
|
||
|
-----
|
||
|
<?php
|
||
|
test(throw $x);
|
||
|
$a ?? throw new Exception;
|
||
|
-----
|
||
|
!!php7
|
||
|
test(throw $x);
|
||
|
$a ?? throw new Exception();
|