Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 388 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 388 Bytes

PRE

PHP-s print_r alternative

Installation

This project using composer.

$ composer require kriit24/pre

Usage

pre.

<?php

//require in helper
require_once 'vendor/kriit24/pre/src/pre.php'; 

/*
 * USAGE
 * pre(array);
 * pre(object);
 * pre(string);
 * pre(array/object/string, console_style);
 * pre('note', array/object/string, console_style);
 */

pre([]);