mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Deprecated Curly Braces (#1306)
https://wiki.php.net/rfc/deprecate_curly_braces_array_access
This commit is contained in:
parent
d84b9592ec
commit
9fc4cbf808
2
third_party/gameq/GameQ/Buffer.php
vendored
2
third_party/gameq/GameQ/Buffer.php
vendored
@ -151,7 +151,7 @@ class Buffer
|
||||
{
|
||||
|
||||
$len = strlen($this->data);
|
||||
$string = $this->data{strlen($this->data) - 1};
|
||||
$string = $this->data[strlen($this->data) - 1];
|
||||
$this->data = substr($this->data, 0, $len - 1);
|
||||
$this->length -= 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user