3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(array( 'tree_node_id' => 'id', 'node_id' => 'id', 'lft', 'rgt', 'external_user' => 'users_id', 'internal_user' => 'users_intern_id', 'name', 'type' => 'relname', ));
Output for 4.3.0 - 7.1.0
array(8) { ["tree_node_id"]=> string(2) "id" ["node_id"]=> string(2) "id" [0]=> string(3) "lft" [1]=> string(3) "rgt" ["external_user"]=> string(8) "users_id" ["internal_user"]=> string(15) "users_intern_id" [2]=> string(4) "name" ["type"]=> string(7) "relname" }