From professional translators, enterprises, web pages and freely available translation repositories.
instantiate
インスタンスを作成する
Last Update: 2006-09-06
Usage Frequency: 1
Quality:
42 print "\$o - d: $o - d\n"; / / print: $o - d: / / add a new item to the $elem array in oo $o - x = 56; / / instantiate stdclass (it is built-in in php 4) / / $val is not overloaded! $val = new stdclass; $val - prop = 555; / / set "a" to be an array with the $val object in it / / but __set() will put this in the $elem array $o - a = array($val); var_dump($o - a[0] - prop);?
この拡張モジュールは実験的なステータスにあり、全ての機能が動作す るわけではありません。現在、 __call() はサポート されておらず、プロパティの取得または設定操作のオーバーロードだけ が可能です。クラスの元のオーバーロードハンドラを削除することはで きません。また、 __set() はプロパティの一段階に アクセス場合にのみ動作します。