2017 © Pedro Peláez
 

library varprofile

php variables memory profile

image

rokety/varprofile

php variables memory profile

  • Wednesday, December 2, 2015
  • by rokety
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Description

php variables memory profile, (*1)

Require

PHP extension: varprofile, (*2)

Parameters

$varName: 希望dump出来指定变量,例如classStatic.ComposerAutoloaderInitf38c79c9e5a523ea38f1982421695533.loader,为空的话dump出所有变量, (*3)

$maxDepth: 限制dump结果的嵌套深度, (*4)

$maxItemsPerDepth: 每一层展示的最大条目数, (*5)

Usage

<?php
require_once '/home/rokety/varprofile/vendor/autoload.php';

use VarProfile\VarMemDumper;

VarMemDumper::d($varName, $maxDepth, $maxItemsPerDepth);

cli dump

cliDump, (*6)

html dump

htmlDump, (*7)

The Versions

02/12 2015

dev-master

9999999-dev

php variables memory profile

  Sources   Download

MIT

The Requires

 

by Avatar rokety

memory var profile