' . PHP_EOL . PHP_EOL; $vars = func_get_args(); foreach ( $vars as $var ) { echo '
';
            if ( is_scalar( $var ) || is_null( $var ) ) {
                var_dump( $var );
            } else {
                echo PHP_EOL;
                print_r( $var );
                echo PHP_EOL;
            }
            echo '
' . PHP_EOL; } echo PHP_EOL . '
BACKTRACE
' . PHP_EOL; array_shift( $backtrace ); function _removeObjects( &$array ) { foreach ( $array as $key => &$value ) { if ( is_array( $value ) ) { _removeObjects( $value ); } elseif ( is_object( $value ) ) { unset( $array[$key] ); $array[$key] = get_class( $value ) . ' Object'; } } } _removeObjects( $backtrace ); echo PHP_EOL . '
' . PHP_EOL;
        print_r( $backtrace );
        echo PHP_EOL . '
' . PHP_EOL; $html = ob_get_contents(); ob_end_clean(); if ( 'XMLHttpRequest' == __getHttpHeader( 'X_REQUESTED_WITH' ) ) { $html = str_replace( array( '
', '
', '
'), array( "\n", "\n", '' ), $html ); $html = str_replace( array( '
' ), "\n" . str_repeat( '-', 80 ) . "\n", $html ); } echo str_replace( "\n", '', $html ); exit(); } } if ( ! function_exists( 'vlive' ) ) { function vlive() { $vars = func_get_args(); foreach ( $vars as $var ) { echo '
';
            if ( is_scalar( $var ) || is_null( $var ) ) {
                var_dump( $var );
            } else {
                print_r( $var );
            }
            echo '
'; } return true; } } if ( ! function_exists( 'get_related_name' ) ) { function get_related_name( $option_name, $post_type = ANW_POST_TYPE ) { return $post_type . '_' . $option_name; } } if ( ! function_exists( 'get_curr_lang' ) ) { function get_curr_lang() { $lang = apply_filters( 'wpml_current_language', null ); if ( ! $lang ) { return ANW_DEFAULT_LANG; } return $lang; } }