PHP code example of serendipity_hq / component-var-dumper-f
1. Go to this page and download the library: Download serendipity_hq/component-var-dumper-f library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
serendipity_hq / component-var-dumper-f example snippets
$var = [
'a simple string' => "in an array of 5 elements",
'a float' => 1.0,
'an integer' => 1,
'a boolean' => true,
'an empty array' => [],
];
dumpf(null, $var);
ddf(null, $var);