fix json.php change header position problem on mac php 5.4.24.