Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 51) sorted by relevance

123

/PHP-Parser/test/code/prettyPrinter/expr/
H A Dyield.test13 yield from $a;
14 $a = yield from $b;
16 (yield from $a) + $b;
38 yield from $a;
39 $a = yield from $b;
41 (yield from $a) + $b;
65 yield from $a;
66 $a = yield from $b;
68 (yield from $a) + $b;
91 yield from $a;
[all …]
H A Dparentheses.test37 yield from $a and yield from $b;
38 yield from ($a and yield from $b);
88 yield from $a and yield from $b;
89 yield from ($a and yield from $b);
/PHP-Parser/test/code/parser/stmt/
H A DhaltCompilerOutermostScope.test1 __halt_compiler can only be used from outermost scope
8 __HALT_COMPILER() can only be used from the outermost scope from 3:5 to 3:19
H A DhaltCompilerInvalidSyntax.test6 Syntax error, unexpected EOF, expecting ';' from 2:18 to 2:18
H A DtryWithoutCatch.test9 Cannot use try without catch or finally from 3:1 to 5:1
/PHP-Parser/test/code/parser/errorHandling/
H A DlexerErrors.test9 Unterminated comment from 4:1 to 5:9
36 Unexpected character "" (ASCII 1) from 4:1 to 4:1
67 Unexpected null byte from 4:1 to 4:1
100 Unexpected character "" (ASCII 1) from 4:1 to 4:1
101 Unexpected character "" (ASCII 2) from 6:1 to 6:1
142 Unterminated comment from 5:5 to 6:2
143 Syntax error, unexpected EOF from 6:2 to 6:2
H A Drecovery.test9 Syntax error, unexpected T_STRING from 4:1 to 4:3
10 Syntax error, unexpected T_STRING from 5:1 to 5:3
11 Syntax error, unexpected EOF from 5:6 to 5:6
48 Syntax error, unexpected T_STRING from 4:1 to 4:3
120 Syntax error, unexpected ';' from 3:5 to 3:5
141 Syntax error, unexpected '}' from 4:1 to 4:1
214 Syntax error, unexpected ')' from 4:8 to 4:8
266 Syntax error, unexpected EOF from 8:12 to 8:12
321 Syntax error, unexpected EOF from 2:6 to 2:6
338 Syntax error, unexpected EOF from 2:4 to 2:4
[all …]
H A DeofError.test5 Syntax error, unexpected EOF from 1:10 to 1:10
18 Syntax error, unexpected EOF from 1:20 to 1:20
/PHP-Parser/test/code/parser/scalar/
H A DflexibleDocStringErrors.test40 Invalid indentation - tabs and spaces cannot be mixed from 4:1 to 4:3
41 Invalid indentation - tabs and spaces cannot be mixed from 8:1 to 8:3
42 Invalid indentation - tabs and spaces cannot be mixed from 10:6 to 12:5
43 Invalid body indentation level (expecting an indentation level of at least 5) from 14:6 to 18:8
44 Invalid body indentation level (expecting an indentation level of at least 1) from 20:1 to 22:4
45 Invalid body indentation level (expecting an indentation level of at least 2) from 25:1 to 26:0
46 Invalid body indentation level (expecting an indentation level of at least 1) from 30:1 to 30:4
47 Invalid body indentation level (expecting an indentation level of at least 1) from 34:1 to 35:0
H A DnumberSeparators.test24 Syntax error, unexpected T_STRING from 13:4 to 13:4
25 Syntax error, unexpected T_STRING from 14:2 to 14:4
26 Syntax error, unexpected T_STRING from 15:2 to 15:2
27 Syntax error, unexpected T_STRING from 16:3 to 16:4
28 Syntax error, unexpected T_STRING from 17:2 to 17:6
29 Syntax error, unexpected T_STRING from 18:2 to 18:6
30 Syntax error, unexpected T_STRING from 19:2 to 19:4
31 Syntax error, unexpected T_STRING from 20:2 to 20:4
H A DinvalidOctal.test7 Invalid numeric literal from 2:1 to 2:4
/PHP-Parser/test/code/parser/stmt/class/
H A Dname.test5 Cannot use 'self' as class name as it is reserved from 1:13 to 1:16
24 Cannot use 'PARENT' as class name as it is reserved from 1:13 to 1:18
43 Syntax error, unexpected T_STATIC, expecting T_STRING from 1:13 to 1:18
53 Cannot use 'self' as class name as it is reserved from 1:23 to 1:26
74 Cannot use 'PARENT' as class name as it is reserved from 1:23 to 1:28
95 Cannot use 'static' as class name as it is reserved from 1:23 to 1:28
116 Cannot use 'self' as interface name as it is reserved from 1:26 to 1:29
182 Cannot use 'self' as class name as it is reserved from 1:17 to 1:20
199 Cannot use 'PARENT' as class name as it is reserved from 1:17 to 1:22
216 Syntax error, unexpected T_STATIC, expecting T_STRING from 1:17 to 1:22
[all …]
H A Dmodifier_error.test5 Multiple access type modifiers are not allowed from 1:24 to 1:29
40 Multiple access type modifiers are not allowed from 1:24 to 1:32
75 Multiple readonly modifiers are not allowed from 1:26 to 1:33
110 Multiple abstract modifiers are not allowed from 1:26 to 1:33
142 Multiple static modifiers are not allowed from 1:24 to 1:29
177 Multiple final modifiers are not allowed from 1:23 to 1:27
210 Cannot use the final modifier on an abstract class member from 1:26 to 1:30
242 Cannot use the final modifier on an abstract class from 1:16 to 1:20
H A DstaticMethod.test5 Constructor __construct() cannot be static from 1:17 to 1:22
38 Destructor __destruct() cannot be static from 1:17 to 1:22
71 Clone method __clone() cannot be static from 1:17 to 1:22
104 Constructor __CONSTRUCT() cannot be static from 1:17 to 1:22
137 Destructor __Destruct() cannot be static from 1:17 to 1:22
170 Clone method __cLoNe() cannot be static from 1:17 to 1:22
H A Dproperty_hooks.test246 Property hook list cannot be empty from 3:18 to 3:18
247 Property hook list cannot be empty from 4:47 to 4:47
315 get hook must not have a parameter list from 4:12 to 4:12
367 Unknown hook "FOO", expected "get" or "set" from 3:20 to 3:22
427 Cannot use the public modifier on a property hook from 4:9 to 4:14
428 Multiple access type modifiers are not allowed from 4:16 to 4:21
429 Cannot use the public modifier on a property hook from 4:16 to 4:21
431 Cannot use the private modifier on a property hook from 6:9 to 6:15
432 Cannot use the abstract modifier on a property hook from 7:9 to 7:16
433 Cannot use the static modifier on a property hook from 7:18 to 7:23
[all …]
H A DconstModifierErrors.test8 Cannot use 'static' as constant modifier from 3:5 to 3:10
46 Cannot use 'abstract' as constant modifier from 3:5 to 3:12
84 Cannot use 'readonly' as constant modifier from 3:5 to 3:12
122 Multiple access type modifiers are not allowed from 3:12 to 3:17
/PHP-Parser/test/code/parser/expr/
H A Dalternative_array_syntax.test162 Syntax error, unexpected '{' from 3:3 to 3:3
163 Syntax error, unexpected '{' from 4:3 to 4:3
164 Syntax error, unexpected '{' from 5:6 to 5:6
165 Syntax error, unexpected '{' from 6:8 to 6:8
166 Syntax error, unexpected '{' from 7:6 to 7:6
167 Syntax error, unexpected '{' from 8:2 to 8:2
168 Syntax error, unexpected '{' from 9:5 to 9:5
169 Syntax error, unexpected '{' from 10:11 to 10:11
170 Syntax error, unexpected '{' from 11:10 to 11:10
H A DarrayEmptyElemens.test9 Cannot use empty array elements in arrays from 3:5 to 3:5
10 Cannot use empty array elements in arrays from 4:10 to 4:10
H A DnewWithoutClass.test6 Syntax error, unexpected ';' from 2:4 to 2:4
/PHP-Parser/test/code/parser/stmt/namespace/
H A DinvalidName.test5 Cannot use A as self because 'self' is a special class name from 1:16 to 1:19
25 Cannot use B as PARENT because 'PARENT' is a special class name from 1:16 to 1:21
45 Syntax error, unexpected T_STATIC, expecting T_STRING from 1:16 to 1:21
H A DoutsideStmtInvalid.test8 Namespace declaration statement has to be the very first statement in the script from 4:1 to 4:9
37 No code may exist outside of namespace {} from 3:1 to 3:7
61 No code may exist outside of namespace {} from 3:1 to 3:17
H A DgroupUseErrors.test8 Syntax error, unexpected T_USE, expecting ';' from 4:1 to 4:3
49 Syntax error, unexpected '{', expecting ';' from 3:9 to 3:9
90 …_FULLY_QUALIFIED, expecting T_STRING or T_FUNCTION or T_CONST or T_NAME_QUALIFIED from 3:10 to 3:13
H A Dmix.test11 Cannot mix bracketed namespace declarations with unbracketed namespace declarations from 4:1 to 4:9
58 Cannot mix bracketed namespace declarations with unbracketed namespace declarations from 6:1 to 6:9
H A Dnested.test10 Namespace declarations cannot be nested from 3:5 to 5:5
/PHP-Parser/test/code/parser/expr/uvs/
H A DglobalNonSimpleVarError.test6 Syntax error, unexpected T_OBJECT_OPERATOR, expecting ';' from 2:13 to 2:14

Completed in 29 milliseconds

123