use laravel dd replace var_dump

v1.0.3 2016-12-30 02:32 UTC

This package is not auto-updated.

Last update: 2024-10-26 21:03:50 UTC


README

使用dd函数代替var_dump当使用非laravel框架时https://packagist.org/packages/wanfeiyy/dd

$arr = ['a'=>'a','b'=>b];
dd($arr);

Installation

With Composer

$ composer require wanfeiyy/dd
{
    "require": {
        "wanfeiyy/dd": "*"
    }
}
<?php
require 'vendor/autoload.php';
$splObjectStorage = new SplObjectStorage();
dd($splObjectStorage);