<?php
$techArray = array(
"level_1" => array (
"0" => "Computer",
"level_2" => array (
"0" => "SmartPhone",
"level_3" => array(
"0" => "Laptop"
)
)
)
);
?>
You can try this, it will work!