diff --git a/lib/Internal/FileTask.php b/lib/Internal/FileTask.php index 1d04a4c..44d7fa9 100644 --- a/lib/Internal/FileTask.php +++ b/lib/Internal/FileTask.php @@ -52,7 +52,7 @@ class FileTask implements Task { if ('f' === $this->operation[0]) { if ("fopen" === $this->operation) { $path = $this->args[0]; - $mode = \str_replace(['b', 't'], '', $this->args[1]); + $mode = \str_replace(['b', 't', 'e'], '', $this->args[1]); switch ($mode) { case "r":