Skip to content

Commit d4dda48

Browse files
committed
use var_dump instead of var_export
1 parent ed9289b commit d4dda48

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ function splitIntoFirstAndLastName($name) {
549549
$name = 'Ryan McDermott';
550550
$newName = splitIntoFirstAndLastName($name);
551551

552-
var_export($name); // 'Ryan McDermott';
553-
var_export($newName); // ['Ryan', 'McDermott'];
552+
var_dump($name); // 'Ryan McDermott';
553+
var_dump($newName); // ['Ryan', 'McDermott'];
554554
```
555555
**[⬆ back to top](#table-of-contents)**
556556

@@ -1386,7 +1386,7 @@ class Car {
13861386
}
13871387

13881388
public function dump() {
1389-
var_export($this->make, $this->model, $this->color);
1389+
var_dump($this->make, $this->model, $this->color);
13901390
}
13911391
}
13921392

@@ -1430,7 +1430,7 @@ class Car {
14301430
}
14311431

14321432
public function dump() {
1433-
var_export($this->make, $this->model, $this->color);
1433+
var_dump($this->make, $this->model, $this->color);
14341434
}
14351435
}
14361436

0 commit comments

Comments
 (0)