PHP 5.x 기본 함수인 json_encode 사용시 주의점을 메모해 둔다.
// ★★★
echo json_encode($array)." <--- IMPORTANT!!!
";
if (empty($array)) $array = (object) null;
echo json_encode($array);
echo "
"; // ________________________________
$testArr['key'] = '1';
print json_encode($testArr)."
";
// ★★★
$testArr['key'] = (int)'1';
<?php
$url = 'http://search.twitter.com/search.json';
// $params = http_build_query(array('q' => '韓国', 'lang' => 'ja', 'rpp' => 5));
$params = http_build_query(array('q' => '일본', 'lang' => 'ko', 'rpp' => 5));
$results = json_decode(file_get_contents("$url?$params"));
echo
'<pre>';
var_dump($results);
var_dump($http_response_header);
echo '</pre>';
?>SVNリポジトリをXcodeに登録・利用する方法の案内(お勧めの参考URL)
*** GOOD ***
http://yusamok.com/development/ip-development/xcode-svn/
http://developer.apple.com/jp/tools/xcode/xcodefuture.html
http://hazel.cocolog-nifty.com/hazelnut/2009/06/xcodescm-300d.html