mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-12 09:29:47 +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();
|