- Apparently, Doraemon is the robotic cat, who has lots of magic tools.
- The PHP community needs such a cat desperately.
- We hope our peer PHP developers would enjoy the tools this cat provides.
- php: >=7.0.0
composer require archphp/doraemon
use ArchPHP\Doraemon\Basics\ArrayHelper;
$myArr = [
NULL,
false,
0,
"hello" => "",
"world" => "world",
"",
[]
];
print_r( ArrayHelper::compact($myArr) );