Commit ac966492 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

New list syntax is 7.1+

parent e9a04880
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ class Encoder

        fwrite($this->stream, 'd');

        foreach ($dictData as [$key, $value]) {
        foreach ($dictData as list($key, $value)) {
            $this->encodeString($key); // key is always a string
            $this->encodeValue($value);
        }