From d4dda481e92e7e9720918eb7ee2a43f23037f8b3 Mon Sep 17 00:00:00 2001 From: Piotr Plenik Date: Wed, 31 May 2017 10:11:49 +0200 Subject: [PATCH] use var_dump instead of var_export --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1ed8006..339e2e2 100644 --- a/README.md +++ b/README.md @@ -549,8 +549,8 @@ function splitIntoFirstAndLastName($name) { $name = 'Ryan McDermott'; $newName = splitIntoFirstAndLastName($name); -var_export($name); // 'Ryan McDermott'; -var_export($newName); // ['Ryan', 'McDermott']; +var_dump($name); // 'Ryan McDermott'; +var_dump($newName); // ['Ryan', 'McDermott']; ``` **[⬆ back to top](#table-of-contents)** @@ -1386,7 +1386,7 @@ class Car { } public function dump() { - var_export($this->make, $this->model, $this->color); + var_dump($this->make, $this->model, $this->color); } } @@ -1430,7 +1430,7 @@ class Car { } public function dump() { - var_export($this->make, $this->model, $this->color); + var_dump($this->make, $this->model, $this->color); } }