jiboule/ddump

Dump your variables and stop the execution of the script.

Installs: 193

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/jiboule/ddump

1.1.1 2018-04-18 08:13 UTC

This package is auto-updated.

Last update: 2025-12-09 16:27:13 UTC


README

This is just an overlay to the Symfonys' var-dumper component to dump variable(s) and stop the script execution right away.

Installation

$ composer require --dev jiboule/ddump

The --dev option is important as you don't wanna use dump in production.

Usage

dump($bar); // the var-dumper function dumps the var, below code will be executed


ddump($myVar); // dumps the var

// nothing below will be executed

You can also dump several variables

ddump($foo, $bar, $another);