Changeset View
Changeset View
Standalone View
Standalone View
src/Debug/_register_to_global_space.php
- This file was added.
<?php | |||||
/* This code is intentionnally left in the global namespace. */ | |||||
use Keruald\OmniTools\Debug\Debugger; | |||||
if (!function_exists("dprint_r")) { | |||||
function dprint_r ($variable) { | |||||
Debugger::printVariable($variable); | |||||
} | |||||
} | |||||
if (!function_exists("dieprint_r")) { | |||||
function dieprint_r ($variable) { | |||||
Debugger::printVariableAndDie($variable); | |||||
} | |||||
} |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator