エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
~jk typesafe objects in PHP
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
~jk typesafe objects in PHP
In Java 1.5.x and later they got annotations and we can use the same in PHP: class Employee { /**... In Java 1.5.x and later they got annotations and we can use the same in PHP: class Employee { /** @var int */ var $employee_id; /** @var string */ var $name; /** @var string */ var $surname; /** @var timestamp */ var $since; } Yes, doc-comments. Not only we added documentation to our code (which is always a good thing), we can also use them for the type-definition. With the help of Reflection we

