yabs.io

Yet Another Bookmarks Service

Viewing mepage's Bookmarks

php delete ,

[https://stackoverflow.com/questions/14006609/php-recursion-print-all-elements-of-a-multidimensional-array-with-keys] - - public:mepage
debugging, development, php - 3 | id:1495325 -

function pretty_dump($arr, $d=1){ if ($d==1) echo "<pre>"; // HTML Only if (is_array($arr)){ foreach($arr as $k=>$v){ for ($i=0;$i<$d;$i++){ echo "\t"; } if (is_array($v)){ echo $k.PHP_EOL; Pretty_Dump($v, $d+1); } else { echo $k."\t".$v.PHP_EOL; } } } if ($d==1) echo "</pre>"; // HTML Only }

With marked bookmarks
| (+) | |

Viewing 1 - 20, 20 links out of 20 links, page: 1

Follow Tags

Manage

Export:

JSONXMLRSS