PHP code example of clean / mpr
1. Go to this page and download the library: Download clean/mpr 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/ */
clean / mpr example snippets
mpr($variable);
mpr($variable, 1);
--MPR--Foo Object
(
[name] => Foo
[data:protected] => Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
)
--MPR--Array
(
[x] => Hello
[y] => Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
[z] => stdClass Object
(
[0] => a
[1] => b
[2] => c
)
)
--MPR--string(5) "Hello"
Who called me: mpr/test.php line 14