Results of 81 - 88 of about 88 for obj (0.007 sec.)
- クラスのオートローディング 5335
- « オブジェクト定数 コンストラクタとデストラクタ » PHP Manual クラスとオブジェクト クラスのオート
...
class_name ) { include $class_name . '.php' ; }); $obj = new MyClass1 (); $obj2 = new MyClass2 (); ?> 例2 ...
-
https://man.plustar.jp/php/language.oop5.autoload.html
- [similar]
- memcached サーバーへの接続をオープンする 5335
- « Memcache::close Memcache::decrement » PHP Manual Memcache memcached サーバーへの接続をオープン
...
onnect() の例 <?php /* 手続き型の API */ $memcache_obj = memcache_connect ( 'memcache_host' , 11211 ); /* ...
-
https://man.plustar.jp/php/memcache.connect.html
- [similar]
- シグナルハンドラを設定する 5281
- « pcntl_signal_get_handler pcntl_sigprocmask » PHP Manual PCNTL 関数 シグナルハンドラを設定する
...
ェクトも指定できます // pcntl_signal(SIGUSR1, array($obj, "do_something")); echo "自分自身に SIGUSR1 シグナ ...
-
https://man.plustar.jp/php/function.pcntl-signal.html
- [similar]
- 新機能 5174
- « PHP 7.1.x から PHP 7.2.x への移行 新しい関数 » PHP Manual PHP 7.1.x から PHP 7.2.x への移行 新
...
機能 新機能 object 型 object 型が新たに導入されました。 任意のオブ ...
) 戻り値の型付けで使えます。 <?php function test ( object $obj ) : object { return new SplQueue (); } tes ...
-
https://man.plustar.jp/php/migration72.new-features.html
- [similar]
- mysqlndプラグインの開発をはじめよう 5174
- « mysqlnd のプラグインAPI OCI8 » PHP Manual MySQL Native Driver プラグインAPI mysqlndプラグインの
...
たものです。 ZEND_API zval* zend_call_method( zval **object_pp, zend_class_entry *obj_ce, zend_function **f ...
sqlnd のメソッドがはじめに引数としてとるのが C の "object" です。たとえば、 connect() メソッドのはじめの引 ...
-
https://man.plustar.jp/php/mysqlnd.plugin.developing.html
- [similar]
- 定義済み定数 5120
- « リソース型 接続、および接続の管理 » PHP Manual PDO 定義済み定数 定義済み定数 以下の定数が定義さ
...
た配列として各行を返す 方法を指定します。 PDO::FETCH_OBJ ( int ) 結果セットが返すカラム名と同じ名前のプロパ ...
-
https://man.plustar.jp/php/pdo.constants.html
- [similar]
- 新機能 5067
- « PHP 7.4.x から PHP 8.0.x への移行 下位互換性のない変更点 » PHP Manual PHP 7.4.x から PHP 8.0.x
...
urn new static(); } } ?> オブジェクトのクラス名を $object::class と書くことで取得できるようになりました。 ...
この結果は、 get_class($object) と同じです。 new と instanceof が、 new (expre ...
ssion)(...$args) や $obj instanceof (expression) という形で、任意の式と一緒 ...
-
https://man.plustar.jp/php/migration80.new-features.html
- [similar]
- 文字列 5013
- « 浮動小数点数 数値形式の文字列 » PHP Manual 型 文字列 文字列 string は、文字が連結されたものです
...
. $arr [ 'foo' ][ 3 ]; echo "You can even write { $obj -> values [ 3 ]-> name } " ; echo "This is the val ...
he value of the var named by the return value of \$object->getName(): {${ $object -> getName ()}} " ; // ...
全てをダンプ/見るためには以降の TIP をご覧ください。 object を string へ変換するには、 マジック・メソッド _ ...
-
https://man.plustar.jp/php/language.types.string.html
- [similar]