Skip to content
Snippets Groups Projects

Issue #3277342: Fix substr issue for php8.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -322,7 +322,7 @@ class Minifier
$char = substr($this->input, $this->index, 1);
// If the next character doesn't exist return false.
if (isset($char) && $char === false) {
if ((string) $char === '') {
return false;
}
Loading