mirror of
https://github.com/danog/parser.git
synced 2025-01-10 06:38:30 +01:00
558ce71563
Co-authored-by: Ryan Chandler <ryangjchandler@gmail.com> closes https://github.com/ryangjchandler/php-parser-rs/issues/130
26 lines
221 B
PHP
26 lines
221 B
PHP
<?php
|
|
|
|
if ($a):
|
|
$a;
|
|
endif;
|
|
|
|
if ($a):
|
|
$a;
|
|
else:
|
|
$b;
|
|
endif;
|
|
|
|
if (true):
|
|
$a;
|
|
elseif ($foo->bar() && $baz->bar?->qux()):
|
|
$b;
|
|
endif;
|
|
|
|
if (true):
|
|
$a;
|
|
elseif (true):
|
|
$b;
|
|
elseif (true):
|
|
$c;
|
|
endif;
|