mirror of
https://github.com/pierre42100/comunic
synced 2024-11-30 09:16:36 +00:00
25 lines
503 B
PHP
25 lines
503 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the Symfony package.
|
||
|
*
|
||
|
* (c) Fabien Potencier <fabien@symfony.com>
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
use Symfony\Component\VarDumper\VarDumper;
|
||
|
|
||
|
if (!function_exists('dump')) {
|
||
|
/**
|
||
|
* @author Nicolas Grekas <p@tchwork.com>
|
||
|
*/
|
||
|
function dump($var)
|
||
|
{
|
||
|
foreach (func_get_args() as $var) {
|
||
|
VarDumper::dump($var);
|
||
|
}
|
||
|
}
|
||
|
}
|