mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-13 09:37:21 +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();
|