Make _debug_array() work for php3 or 4

This commit is contained in:
Miles Lott 2001-07-23 00:02:33 +00:00
parent bfa73cc185
commit f265ea2717

View File

@ -166,9 +166,16 @@
}
function _debug_array($array)
{
if(floor(phpversion()) == 4)
{
echo '<pre>'; print_r($array); echo '</pre>';
}
else
{
echo '<pre>'; var_dump($array); echo '</pre>';
}
}
function print_debug($text='')
{