PEX function added
This commit is contained in:
parent
965d18afa8
commit
922315fe57
1 changed files with 16 additions and 0 deletions
|
@ -1053,6 +1053,22 @@
|
|||
echo "</pre>";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* PR extended into auto exiting
|
||||
*/
|
||||
function pex($text,$wrap_pre=false)
|
||||
{
|
||||
if(!$wrap_pre)
|
||||
print_r($text);
|
||||
else
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($text);
|
||||
echo "</pre>";
|
||||
exit("PEX Ran!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue