Skip to content

Update var-dump.xml 英語版との違いを修正。 #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

monkuii
Copy link

@monkuii monkuii commented Aug 8, 2025

日本語ドキュメントを使って1日時間を潰した。
試行錯誤してvar_dumpは値を返さず表示しているだけだと気づいた。
英語版のドキュメントを見たらdisplayとあってreturnなんて書いてなかったので修正。返すではなく表示するである。

ついでにArrays and objectsをオブジェクトを抜け落として訳していたりインデントするという部分も抜け落ちているので全部修正。

日本語訳のソースコードの改行部分がウェブでは半角スペースになって変な空白が入っていたので1行にした。

この下の「All public, private and protected properties of objects will be returned in the output unless the object implements a __debugInfo() method.」の日本語訳の部分も改行されているが、仕様や方針がよくわからないので放置。一行にしたほうが良ければしてもらいたい。

@monkuii
Copy link
Author

monkuii commented Aug 8, 2025

2005年から放置されていたのは草。このドキュメント誰も使っていないのか基礎的な関数すぎて誰からも気にされなかったのか。誰も直す気にならなかったのか。直し方がわからなかったか。

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.

1 participant