PHP Deprecated: Array and string offset access syntax with curly braces is deprecated
This commit is contained in:
@@ -496,7 +496,7 @@ class Console
|
||||
$this->moveCursor ($cursorPos);
|
||||
}
|
||||
// }}}
|
||||
elseif (ord ($char{0}) === 27)
|
||||
elseif (ord ($char[0]) === 27)
|
||||
{
|
||||
// ESC SEQUENCE
|
||||
$sequence = "";
|
||||
@@ -1014,9 +1014,9 @@ class Console
|
||||
while ($token)
|
||||
{
|
||||
// find double quoted tokens
|
||||
if ($token{0}=='"') { $token .= ' '.strtok('"').'"'; }
|
||||
if ($token[0]=='"') { $token .= ' '.strtok('"').'"'; }
|
||||
// find single quoted tokens
|
||||
if ($token{0}=="'") { $token .= ' '.strtok("'")."'"; }
|
||||
if ($token[0]=="'") { $token .= ' '.strtok("'")."'"; }
|
||||
$tokens[] = $token;
|
||||
$token = strtok(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user