From 7661d1937ceb47cdc8486276c29a53b02e467042 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 8 Nov 2017 08:17:24 +0100 Subject: test build --- 31.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 31.patch (limited to '31.patch') diff --git a/31.patch b/31.patch new file mode 100644 index 0000000..026235a --- /dev/null +++ b/31.patch @@ -0,0 +1,31 @@ +From 5d5c1f1e5074b69bb4bc5eb0d5be7abe06f9f94d Mon Sep 17 00:00:00 2001 +From: Marc Bennewitz +Date: Sun, 5 Nov 2017 15:36:54 +0100 +Subject: [PATCH] fixed #30 - wrong use of variable variables + +--- + src/Adapter/PythonPickle.php | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Adapter/PythonPickle.php b/src/Adapter/PythonPickle.php +index 75f6cbe..b7665a4 100644 +--- a/src/Adapter/PythonPickle.php ++++ b/src/Adapter/PythonPickle.php +@@ -911,7 +911,7 @@ protected function loadLong4() + { + $nBin = $this->read(4); + if (static::$isLittleEndian === false) { +- $nBin = strrev($$nBin); ++ $nBin = strrev($nBin); + } + list(, $n) = unpack('l', $nBin); + $data = $this->read($n); +@@ -984,7 +984,7 @@ protected function loadBinBytes() + // read byte length + $nBin = $this->read(4); + if (static::$isLittleEndian === false) { +- $nBin = strrev($$nBin); ++ $nBin = strrev($nBin); + } + list(, $n) = unpack('l', $nBin); + $this->stack[] = $this->read($n); -- cgit