Skip to content

Instantly share code, notes, and snippets.

View DavidBruchmann's full-sized avatar
💭
It's all about compatibility

David Bruchmann DavidBruchmann

💭
It's all about compatibility
  • Webdevelopment Barlian
  • Bandung, West Java, Indonesia
View GitHub Profile
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
// demo-array
$arr_exampleArray = array(
'name' => 'fruits and vegetables',
'purpose' => 'demo and test only.',
'usage' => 'use, play and learn by changing.',
'fruits' => array(
'sower' => array(
'citron',
'gooseberry'
),
function do_something_recursive (array $arr_someArray) {
$result = array();
foreach($arr_someArray as $key => $value) {
if(is_array($value)) {
$result[$key] = do_something_recursive (array $arr_someArray)
} else {
$result[$key] = 'Here the value '.$value.' can be used or manipulated.'
}
}
return $result;