a simple function to inspect things

v1.3.0 2015-11-04 13:22 UTC

This package is auto-updated.

Last update: 2024-03-06 07:32:12 UTC


README

drop is a simple function to inspect one or more variables in a PHP script and halt execution of that script. When debugging, I've found it helpful to simply kill a script and expose the actual type/contents or a var.

Peruse the tests or, if present, the examples directory to see usage.

drop has two incarnations. drop() uses var_dump() and dropv() uses print_r(). The main difference is that dropv will give you the full value of each arg where drop will give you the ellipsis on long values.

Latest Stable Version Build Status