Skip to content

Commit

Permalink
IHF: Readme fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Sep 15, 2016
1 parent d1778f7 commit f5a2755
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ $hostname = db_mysql_variable('hostname');

Returns nicely formatted string representation of the variable, using [Symfony VarDumper Component](http://symfony.com/doc/current/components/var_dumper/introduction.html) with all of it's benefits:
```php
$var = array(
$array = [
'a simple string' => 'in an array of 5 elements',
'a float' => 1.0,
'an integer' => 1,
'a boolean' => true,
'an empty array' => array(),
);
$dump = get_dump($var);
'an empty array' => [],
];
$dump = get_dump($array);

// array:5 [
// "a simple string" => "in an array of 5 elements"
Expand Down

0 comments on commit f5a2755

Please sign in to comment.