print_r(PHP 4, PHP 5) print_r — Prints human-readable information about a variable Описаниеprint_r() displays information about a variable in a way that's readable by humans. print_r(), var_dump() and var_export() will also show protected and private properties of objects with PHP 5. Static class members will not be shown. Remember that print_r() will move the array pointer to the end. Use reset() to bring it back to beginning. Список параметров
Возвращаемые значения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. Примечания
Список изменений
Примеры
Пример #1 print_r() example
<pre>Результат выполнения данного примера:
Пример #2 return parameter example
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |