This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/Rails/Toolbox/functions.php

25 lines
447 B
PHP
Raw Normal View History

2013-10-02 08:12:58 +02:00
<?php
function vd() {
$vars = func_get_args();
call_user_func_array('var_dump', $vars);
}
function vp() {
echo '<pre>';
$vars = func_get_args();
call_user_func_array('var_dump', $vars);
echo '</pre>';
}
function vde() {
$vars = func_get_args();
call_user_func_array('var_dump', $vars);
exit;
}
function vpe() {
echo '<pre>';
call_user_func_array('vd', func_get_args());
echo '</pre>';
exit;
}