You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
124
124
```php
125
-
$var = array(
125
+
$array = [
126
126
'a simple string' => 'in an array of 5 elements',
127
127
'a float' => 1.0,
128
128
'an integer' => 1,
129
129
'a boolean' => true,
130
-
'an empty array' => array(),
131
-
);
132
-
$dump = get_dump($var);
130
+
'an empty array' => [],
131
+
];
132
+
$dump = get_dump($array);
133
133
134
134
// array:5 [
135
135
// "a simple string" => "in an array of 5 elements"
0 commit comments