Gen. partnerAlgotech

PHP funkce print_r()

Prints human-readable information about a variable

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Prints human-readable information about a variable

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$expression mixed není The expression to be printed.
$return bool null If you would like to capture the output of print_r, use the return parameter. If this parameter is set to true, print_r will return its output, instead of printing it (which it does by default).

mixed

If given a string, integer or float, the value itself will be printed. If given an array, values will be presented in a format that shows keys and elements. Similar notation is used for objects.

Další zdroje

Oficiální dokumentace funkce print-r

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.