We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3374502 commit f7c23a4Copy full SHA for f7c23a4
lib/PhpParser/Node/Scalar/String_.php
@@ -124,7 +124,7 @@ function ($matches) {
124
// If it overflowed to float, treat as INT_MAX, it will throw an error anyway.
125
return self::codePointToUtf8(\is_int($dec) ? $dec : \PHP_INT_MAX);
126
} else {
127
- return chr(octdec($str));
+ return chr(octdec($str) & 255);
128
}
129
},
130
$str
0 commit comments