phpbar.de logo

Mailinglisten-Archive

[php] var_dump von einem Array in einer Variablen speichern

[php] var_dump von einem Array in einer Variablen speichern

Lars Heuer php_(at)_phpcenter.de
Tue, 23 Oct 2001 19:33:15 +0200


Hallo,

> Wie kann ich denn die ausgabe von VAR_DUMP von einem ARRAY in einer VAR
> speichern?

http://www.php.net/manual/en/function.var-dump.php
This function returns structured information about one or more expressions that includes its
type and value. Arrays are explored recursively with values indented to show structure.

[...]
Tip: As with anything that outputs its result directly to the browser, you can use
     the output-control functions to capture the output of this function, and save it -
     for example - in a string.

http://www.php.net/manual/en/ref.outcontrol.php

Gruß,
Lars

-- 
quiXS!          | http://www.quixs.de
utopiXS!        | http://www.utopixs.de      | digitale Postkarten



php::bar PHP Wiki   -   Listenarchive