|
|
|
|
|
для: isset
(30.09.2005 в 16:38)
| | во блин! предпологал что такое возможно (имею ввиду про print_r)..... спасибо! | |
|
|
|
|
|
|
|
для: localGhost
(30.09.2005 в 04:55)
| |
bool print_r ( mixed expression [, bool return] )
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).
<?php
$b = array ('m' => 'monkey', 'foo' => 'bar', 'x' => array ('x', 'y', 'z'));
$results = print_r($b, true); //$results now contains output from print_r
?>
|
| |
|
|
|
|
|
|
|
для: localGhost
(30.09.2005 в 04:55)
| | foreach разве не она? или я не понял вопроса. | |
|
|
|
|
|
|
|
для: localGhost
(30.09.2005 в 04:55)
| | Возможно array_walk(); ? Почитайте тут: http://www.softtime.ru/bookphp/gl4_6.php | |
|
|
|
|
|
|
| есть функция в пхп print_r (), она выводить на экран структуру и содержимое массива. Есть ли в пхп функция которая подобна работе print_r () только не выводит на экран, а возвращает значения? или самому писать? | |
|
|
|
|