$status_header = 'HTTP/1.1 ' . $status . ' ' . getStatusCodeMessage($status);
header($status_header);
header('Content-type: application/json; charset=utf-8');
I updated OS X 10.8 to 10.9, php 5.3.26 to 5.4.17. At php 5.3.26, No error!!! but error occur at php 5.4.17.
When return json to iOS,
Warning: Cannot modify header information - headers already sent by (output started at