検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 88 for obj (0.006 sec.)
メソッドのアクセス範囲を設定する 6622
« ReflectionMethod::isStatic ReflectionMethod::__toString » PHP Manual ReflectionMethod メソッド ... ss" , "foo" ); $method -> setAccessible ( true ); $obj = new MyClass (); echo $method -> invoke ( $obj ); ... echo $obj -> foo (); ?> 上の例の出力は、 たとえば以下のように ...
https://man.plustar.jp/php/reflectionmethod.setaccessible.html - [similar]
プロパティのアクセス範囲を設定する 6622
« ReflectionProperty::isStatic ReflectionProperty::setValue » PHP Manual ReflectionProperty プロ ... " , "foo" ); $property -> setAccessible ( true ); $obj = new MyClass (); echo $property -> getValue ( $ob ... j ); echo $obj -> foo ; ?> 上の例の出力は、 たとえば以下のようにな ...
https://man.plustar.jp/php/reflectionproperty.setaccessible.html - [similar]
The Yar_Server class 6568
« 例 Yar_Server::__construct » PHP Manual Yar The Yar_Server class The Yar_Server class (No vers ... ecutor ; /* メソッド */ final public __construct ( Object $obj ) public handle (): bool } プロパティ _exe ... onstruct , handle , public , executor , Register , obj , Object , final ...
https://man.plustar.jp/php/class.yar-server.html - [similar]
Returns a scalar value to be used as a hash value 6514
« Ds\Hashable::equals Sequence » PHP Manual Hashable Returns a scalar value to be used as a hash ... a scalar value to be used as the hash value of the objects. While the hash value does not define equality ... , all objects that are equal according to Ds\Hashable::equal ... ust have the same hash value. Hash values of equal objects don't have to be unique, for example you could ... just return true for all objects and nothing would break - the only implication ...
https://man.plustar.jp/php/ds-hashable.hash.html - [similar]
アクセス権 6461
« コンストラクタとデストラクタ オブジェクトの継承 » PHP Manual クラスとオブジェクト アクセス権 ア ... $this -> protected ; echo $this -> private ; } } $obj = new MyClass (); echo $obj -> public ; // 動作しま ... す echo $obj -> protected ; // Fatal エラー echo $obj -> privat ... e ; // Fatal エラー $obj -> printHello (); // Public、Protected そして Priv ... $this -> protected ; echo $this -> private ; } } $obj2 = new MyClass2 (); echo $obj2 -> public ; // 動作 ...
https://man.plustar.jp/php/language.oop5.visibility.html - [similar]
下位互換性のない変更点 6461
« 新しいグローバル定数 PHP 7.2.x で推奨されなくなる機能 » PHP Manual PHP 7.1.x から PHP 7.2.x へ ... / 配列からオブジェクトへの変換 $arr = [ 0 => 1 ]; $obj = (object) $arr ; var_dump ( $obj , $obj ->{ '0' } ... , // アクセスできるようになりました $obj ->{ 0 } // アクセスできるようになりました ); 上の例 ... の出力は以下となります。 object(stdClass)#1 (1) { ["0"]=> // 数値キーではなく、 ... なりました。 <?php // オブジェクトから配列への変換 $obj = new class { public function __construct () { $th ...
https://man.plustar.jp/php/migration72.incompatible.html - [similar]
サーバーに項目を追加する 6407
« Memcache Memcache::addServer » PHP Manual Memcache サーバーに項目を追加する Memcache::add (PEC ... じです。 例 例1 Memcache::add() の例 <?php $memcache_obj = memcache_connect ( "localhost" , 11211 ); /* 手続 ... き型の API */ memcache_add ( $memcache_obj , 'var_key' , 'test variable' , false , 30 ); /* オ ... ブジェクト指向の API */ $memcache_obj -> add ( 'var_key' , 'test variable' , false , 30 ...
https://man.plustar.jp/php/memcache.add.html - [similar]
既存項目の値を置換する 6407
« Memcache::pconnect Memcache::set » PHP Manual Memcache 既存項目の値を置換する Memcache::replac ... す。 例 例1 Memcache::replace() の例 <?php $memcache_obj = memcache_connect ( 'memcache_host' , 11211 ); /* ... 手続き型の API */ memcache_replace ( $memcache_obj , "test_key" , "some variable" , false , 30 ); /* ... オブジェクト指向の API */ $memcache_obj -> replace ( "test_key" , "some variable" , false ...
https://man.plustar.jp/php/memcache.replace.html - [similar]
発行コールバック 6407
« パースコールバック Yaml 関数 » PHP Manual コールバック 発行コールバック 発行コールバック 発行コ ... 変換する値 (array, string, bool, number) * * @param object $obj 発行するオブジェクト * @return array 発行す ... */ public static function yamlEmit ( EmitExample $obj ) { return array( 'tag' => '!example/emit' , 'data ... ' => $obj -> data , ); } } $emit_callbacks = array( 'EmitExa ...
https://man.plustar.jp/php/yaml.callbacks.emit.html - [similar]
オブジェクトと参照 6353
« 遅延静的束縛 (Late Static Bindings) オブジェクトのシリアライズ » PHP Manual クラスとオブジェク ... ho $c -> foo . "\n" ; $e = new A ; function foo ( $obj ) { // ($obj) = ($e) = <id> $obj -> foo = 2 ; } fo ...
https://man.plustar.jp/php/language.oop5.references.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT