Home
last modified time | relevance | path

Searched refs:length (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/test/code/parser/expr/uvs/
H A DconstDeref.test5 A->length;
6 A->length();
12 A::B->length;
13 A::B->length();
19 __FUNCTION__->length;
20 __FUNCIONT__->length();
31 name: length
43 name: length
134 name: length
149 name: length
[all …]
H A Dmisc.test5 "string"->length();
7 "foo$bar"->length();
18 name: length
54 name: length
/PHP-Parser/lib/PhpParser/Node/
H A DName.php171 * @param int|null $length Length of the slice (may be negative)
175 public function slice(int $offset, ?int $length = null) { argument
176 if ($offset === 1 && $length === null) {
192 if (null === $length) {
195 $realLength = $length < 0 ? $length + $numParts - $realOffset : $length;
197 throw new \OutOfBoundsException(sprintf('Length %d is out of bounds', $length));
/PHP-Parser/lib/PhpParser/
H A DNameContext.php219 $length = strlen($possibleName->toCodeString());
220 if ($length < $shortestLength) {
222 $shortestLength = $length;
/PHP-Parser/doc/component/
H A DLexer.markdown76 zero-length node will have `startTokenPos -1 == endTokenPos`.
/PHP-Parser/
H A DCHANGELOG.md582 * Fixed attribute assignment for zero-length nop statements, and a related assertion failure in

Completed in 16 milliseconds