<?php function hello() { return 'hello'; } $a = array( 'root' => hello() ); var_dump($a); echo json_encode($a);
You have javascript disabled. You will not be able to edit any code.