mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
make _debug_array() look good on php4 again
This commit is contained in:
parent
0ac2d5a353
commit
4aea8e09ad
@ -588,7 +588,20 @@
|
||||
/* Just a wrapper to my new print_r() function I added to the php3 support file. Seek3r */
|
||||
function _debug_array($array)
|
||||
{
|
||||
$four = False;
|
||||
if(@floor(phpversion()) == 4)
|
||||
{
|
||||
$four = True;
|
||||
}
|
||||
if($four)
|
||||
{
|
||||
echo '<pre>';
|
||||
}
|
||||
print_r($array);
|
||||
if($four)
|
||||
{
|
||||
echo '</pre>';
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user