includes/functions.php
changeset 1357 4f83d730633f
parent 1355 12c23b83c79d
child 1360 570abc94bd7f
equal deleted inserted replaced
1356:e80b5733ce9d 1357:4f83d730633f
  4868 {
  4868 {
  4869 	/*
  4869 	/*
  4870 	if ( function_exists('json_decode') )
  4870 	if ( function_exists('json_decode') )
  4871 	{
  4871 	{
  4872 		// using PHP5 with JSON support
  4872 		// using PHP5 with JSON support
  4873 		return json_decode($data);
  4873 		return json_decode($data, true);
  4874 	}
  4874 	}
  4875 	*/
  4875 	*/
  4876 	
  4876 	
  4877 	return Zend_Json::decode($data, Zend_Json::TYPE_ARRAY);
  4877 	return Zend_Json::decode($data, Zend_Json::TYPE_ARRAY);
  4878 }
  4878 }