Skip to content

Instantly share code, notes, and snippets.

Avatar

Rosa Imantoro rimantoro

View GitHub Profile
@rimantoro
rimantoro / arr_recursive_by_key.php
Created Dec 8, 2016
PHP recursive search based on key
View arr_recursive_by_key.php
<?php
$data = [
"key1" => [
"key11" => "Ini level 1.1",
"key12" => [
"key121" => "Ini level 1.2.1",
"key123" => "Ini level 1.2.3"
],
],