mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-14 18:16:06 +01:00
25 lines
450 B
Plaintext
25 lines
450 B
Plaintext
|
Error conditions for flexible doc strings
|
||
|
-----
|
||
|
<?php
|
||
|
|
||
|
<<<A
|
||
|
@@{ "\t" }@@A;
|
||
|
|
||
|
<<<A
|
||
|
FooBar
|
||
|
@@{ "\t" }@@A;
|
||
|
-----
|
||
|
Invalid indentation - tabs and spaces cannot be mixed from 4:1 to 4:3
|
||
|
Invalid indentation - tabs and spaces cannot be mixed from 8:1 to 8:3
|
||
|
array(
|
||
|
0: Stmt_Expression(
|
||
|
expr: Scalar_String(
|
||
|
value:
|
||
|
)
|
||
|
)
|
||
|
1: Stmt_Expression(
|
||
|
expr: Scalar_String(
|
||
|
value: FooBar
|
||
|
)
|
||
|
)
|
||
|
)
|