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 8.1 or greater and SMF 2.1.x.

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



Advertisement: