private function writeArray($file, array $value, $indentation)
    {
        fwrite($file, "{\n");

        foreach ($value as $entry) {
            fwrite($file, str_repeat('    ', $indentation + 1));

            $this->writeResource($file, $entry, $indentation + 1, false);

            fwrite($file, ",\n");
        }

        fprintf($file, '%s}', str_repeat('    ', $indentation));
    }
private function writeArray($file, array $value, $indentation)
    {
        fwrite($file, "{\n");

        foreach ($value as $entry) {
            fwrite($file, str_repeat('    ', $indentation + 1));

            $this->writeResource($file, $entry, $indentation + 1, false);

            fwrite($file, ",\n");
        }

        fprintf($file, '%s}', str_repeat('    ', $indentation));
    }
private function writeArray ( $ file , array $ value , $ indentation ) { fwrite ( $ file , "{\n" ) ; foreach ( $ value as $ entry ) { fwrite ( $ file , str_repeat ( '    ' , $ indentation + 1 ) ) ; $ this -> writeResource ( $ file , $ entry , $ indentation + 1 , false ) ; fwrite ( $ file , ",\n" ) ; } fprintf ( $ file , '%s}' , str_repeat ( '    ' , $ indentation ) ) ; }
Writes an "array" node.

@param resource $file        The file handle to write to
@param array    $value       The value of the node
@param int      $indentation The number of levels to indent

@see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
Writes an array node .