src/Library/Logger.php
public static function writeArray($array)
    {
        $data = array();
        foreach ($array as $var=>$val) {
            if (is_array($val) && !is_object($val)) {
                $data[$var] = self::writeArray($val);
            } else {
                $data[$var] = self::writeArrayItem($val);
            }
        }
        return serialize($data);
    }
public static function writeArray($array)
    {
        $data = array();
        foreach ($array as $var=>$val) {
            if (is_array($val) && !is_object($val)) {
                $data[$var] = self::writeArray($val);
            } else {
                $data[$var] = self::writeArrayItem($val);
            }
        }
        return serialize($data);
    }
public static function writeArray ( $ array ) { $ data = array ( ) ; foreach ( $ array as $ var => $ val ) { if ( is_array ( $ val ) && ! is_object ( $ val ) ) { $ data [ $ var ] = self :: writeArray ( $ val ) ; } else { $ data [ $ var ] = self :: writeArrayItem ( $ val ) ; } } return serialize ( $ data ) ; }
Write an array on one line

@param   array   $array
@return  string  The formatted string
Write an array on one line