mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 17:09:41 +01:00
47c342a3e4
Attribute specifies whether this is a "die" or an "exit" and the pretty printer behaves accordingly.
29 lines
328 B
Plaintext
29 lines
328 B
Plaintext
isset, empty, unset, exit, die, clone, eval
|
|
-----
|
|
<?php
|
|
|
|
isset($a, $a[$b]);
|
|
empty($a);
|
|
empty('foo');
|
|
unset($a, $a[$b]);
|
|
exit;
|
|
exit();
|
|
exit(1);
|
|
die;
|
|
die();
|
|
die("foo");
|
|
clone $foo;
|
|
eval('str');
|
|
-----
|
|
isset($a, $a[$b]);
|
|
empty($a);
|
|
empty('foo');
|
|
unset($a, $a[$b]);
|
|
exit;
|
|
exit;
|
|
exit(1);
|
|
die;
|
|
die;
|
|
die('foo');
|
|
clone $foo;
|
|
eval('str'); |