<?php var_dump(json_decode('{ "phone": [ "123", "456", "789"]}', true));
Standard input is empty
array(1) { ["phone"]=> array(3) { [0]=> string(3) "123" [1]=> string(3) "456" [2]=> string(3) "789" } }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!