| @@ 737-749 (lines=13) @@ | ||
| 734 | } |
|
| 735 | ||
| 736 | ||
| 737 | if ( !function_exists( 'd' ) ) { |
|
| 738 | /** |
|
| 739 | * Alias of Kint::dump() |
|
| 740 | * |
|
| 741 | * @return string |
|
| 742 | */ |
|
| 743 | function d() |
|
| 744 | { |
|
| 745 | if ( !Kint::enabled() ) return ''; |
|
| 746 | $_ = func_get_args(); |
|
| 747 | return call_user_func_array( array( 'Kint', 'dump' ), $_ ); |
|
| 748 | } |
|
| 749 | } |
|
| 750 | ||
| 751 | if ( !function_exists( 'dd' ) ) { |
|
| 752 | /** |
|
| @@ 751-768 (lines=18) @@ | ||
| 748 | } |
|
| 749 | } |
|
| 750 | ||
| 751 | if ( !function_exists( 'dd' ) ) { |
|
| 752 | /** |
|
| 753 | * Alias of Kint::dump() |
|
| 754 | * [!!!] IMPORTANT: execution will halt after call to this function |
|
| 755 | * |
|
| 756 | * @return string |
|
| 757 | * @deprecated |
|
| 758 | */ |
|
| 759 | function dd() |
|
| 760 | { |
|
| 761 | if ( !Kint::enabled() ) return ''; |
|
| 762 | ||
| 763 | echo "<pre>Kint: dd() is being deprecated, please use ddd() instead</pre>\n"; |
|
| 764 | $_ = func_get_args(); |
|
| 765 | call_user_func_array( array( 'Kint', 'dump' ), $_ ); |
|
| 766 | die; |
|
| 767 | } |
|
| 768 | } |
|
| 769 | ||
| 770 | if ( !function_exists( 'ddd' ) ) { |
|
| 771 | /** |
|
| @@ 770-784 (lines=15) @@ | ||
| 767 | } |
|
| 768 | } |
|
| 769 | ||
| 770 | if ( !function_exists( 'ddd' ) ) { |
|
| 771 | /** |
|
| 772 | * Alias of Kint::dump() |
|
| 773 | * [!!!] IMPORTANT: execution will halt after call to this function |
|
| 774 | * |
|
| 775 | * @return string |
|
| 776 | */ |
|
| 777 | function ddd() |
|
| 778 | { |
|
| 779 | if ( !Kint::enabled() ) return ''; |
|
| 780 | $_ = func_get_args(); |
|
| 781 | call_user_func_array( array( 'Kint', 'dump' ), $_ ); |
|
| 782 | die; |
|
| 783 | } |
|
| 784 | } |
|
| 785 | ||
| 786 | if ( !function_exists( 's' ) ) { |
|
| 787 | /** |
|