承接 romannowicki/mpr 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

romannowicki/mpr

最新稳定版本:1.0.0

Composer 安装命令:

composer require romannowicki/mpr

包简介

Prints human-readable information about a variable

README 文档

README

My print_r - debug function

Prints human-readable information about a variable

Installation

via Composer

Example of Usage

Dump variable and continue

mpr($variable);

Dump variable and exit

mpr($variable, 1);

When second parameter given you will get information from which file mpr was called

Who called me: mpr/test.php line 14

Output

Objects

--MPR--Foo Object
(
    [name] => Foo
    [data:protected] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 3
            [3] => 4
        )

)

Array

--MPR--Array
(
    [x] => Hello
    [y] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 3
            [3] => 4
        )

    [z] => stdClass Object
        (
            [0] => a
            [1] => b
            [2] => c
        )

)

Scalar

--MPR--string(5) "Hello"

统计信息

  • 总下载量: 567
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-02-06