Skip to content

Conversation

@takaram
Copy link
Contributor

@takaram takaram commented Feb 3, 2025

short_open_tag=0,1 の2パターンしかないのに、3パターンあるような訳になっていたのを修正しています。

<?phpという文字列リテラル」の部分はT_INLINE_HTMLとして解釈されるという意味のはずなので、"文字列リテラル"というのが正しいか微妙に思いましたが、英語版もliteralとなっているのと、T_INLINE_HTMLを指す用語がマニュアル中で見つけられなかったので一旦直訳にしています。

また、https://www.php.net/manual/ja/language.basic-syntax.phptags.php に合わせて「短い形式の開始タグ」を「短縮型の」に直しています。
(上記ページも「短縮型」「短縮形」で入り交じっていますが……)

short_open_tag=0,1 の2パターンしかないのに、
3パターンあるような訳になっていたのを修正
Copy link
Collaborator

@KentarouTakeda KentarouTakeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!

仰る通り原文の時点での「リテラル」が引っかかるものの、とても解りやすく、かつ正確になったように感じます!!

@KentarouTakeda KentarouTakeda merged commit 0a05997 into php:master Feb 4, 2025
2 checks passed
@takaram takaram deleted the patch-2 branch February 4, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants