News:

SMF 2.1.1 has been released! Take it for a spin! Read more.

Main Menu

VarDumper for SMF

Started by Bugo, January 01, 2022, 02:38:30 PM

Previous topic - Next topic

Bugo

Link to the mod

This small mod adds the Symfony VarDumper component to work with `dump()` and `dd()` functions (instead of `var_dump()`).

This mod needs PHP 7.2.5 or greater and SMF 2.1 RC4 or greater.

Example of using:
Code (php) Select
$data = [1, 2, 3];
dump($data);
Result:



Advertisement: