[PHP-doc 847] function.session-id.php

HOTTA Michihide hotta @ net-newbie.com
2010年 5月 31日 (月) 14:33:50 JST


堀田@長崎市です。

http://jp2.php.net/manual/en/function.session-id.php

 Return Values

session_id() returns the session id for the current session or 
the empty string ("") if there is no current session (no current 
session id exists).

 返り値

http://jp2.php.net/manual/ja/function.session-id.php

session_id() はカレントのセッションのセッション ID、 もしくはカ
レントセッションが存在しない (カレントのセッション ID が存在しな
い) 場合は空文字列 ("") を返します。


この部分、間違いではないですが、日本語として少し紛らわしいので、
文を2つに分けてみたらどうかと思いますがいかがでしょうか?

試訳:

session_id() は現在のセッションのセッション ID を返します。現在の
セッションが存在しない(カレントセッション ID が存在しない)場合
は空文字列 ("") を返します。

-- 
HOTTA Michihide <hotta @ net-newbie.com> http://net-newbie.com


PHP-doc メーリングリストの案内