| @@ 52-70 (lines=19) @@ | ||
| 49 | } |
|
| 50 | } |
|
| 51 | ||
| 52 | if (!function_exists('dd')) { |
|
| 53 | /** |
|
| 54 | * Alias of Kint::dump() |
|
| 55 | * [!!!] IMPORTANT: execution will halt after call to this function |
|
| 56 | * |
|
| 57 | * @return string |
|
| 58 | * @deprecated |
|
| 59 | */ |
|
| 60 | function dd() |
|
| 61 | { |
|
| 62 | if (!Kint::enabled()) { |
|
| 63 | return ''; |
|
| 64 | } |
|
| 65 | ||
| 66 | echo "<pre>Kint: dd() is being deprecated, please use ddd() instead</pre>\n"; |
|
| 67 | call_user_func_array(array('kint\Kint', 'dump'), func_get_args()); |
|
| 68 | exit(); |
|
| 69 | } |
|
| 70 | } |
|
| 71 | ||
| 72 | if (!function_exists('ddd')) { |
|
| 73 | /** |
|
| @@ 72-88 (lines=17) @@ | ||
| 69 | } |
|
| 70 | } |
|
| 71 | ||
| 72 | if (!function_exists('ddd')) { |
|
| 73 | /** |
|
| 74 | * Alias of Kint::dump() |
|
| 75 | * [!!!] IMPORTANT: execution will halt after call to this function |
|
| 76 | * |
|
| 77 | * @return string |
|
| 78 | */ |
|
| 79 | function ddd() |
|
| 80 | { |
|
| 81 | if (!Kint::enabled()) { |
|
| 82 | return ''; |
|
| 83 | } |
|
| 84 | ||
| 85 | call_user_func_array(array('kint\Kint', 'dump'), func_get_args()); |
|
| 86 | exit(); |
|
| 87 | } |
|
| 88 | } |
|
| 89 | ||
| 90 | if (!function_exists('de')) { |
|
| 91 | /** |
|