Results of 511 - 520 of about 1200 for var (0.041 sec.)
- 可変変数 2792
- « 変数のスコープ 外部から来る変数 » PHP Manual 変数 可変変数 可変変数 変数名を可変にできると便利
...
などです。 例1 可変プロパティの例 <?php class foo { var $bar = 'I am bar.' ; var $arr = array( 'I am A.' , ...
'I am B.' , 'I am C.' ); var $r = 'I am r.' ; } $foo = new foo (); $bar = 'bar' ...
-
https://man.plustar.jp/php/language.variables.variable.html
- [similar]
- Memcached のオプションの値を設定する 2792
- « Memcached::setOption Memcached::setSaslAuthData » PHP Manual Memcached Memcached のオプションの
...
ched オプションの設定 <?php $m = new Memcached (); var_dump ( $m -> getOption ( Memcached :: OPT_HASH ) = ...
MUR , Memcached :: OPT_PREFIX_KEY => "widgets" )); var_dump ( $m -> getOption ( Memcached :: OPT_HASH ) = ...
-
https://man.plustar.jp/php/memcached.setoptions.html
- [similar]
- 下位互換性のない変更点 2792
- « 新しいグローバル定数 PHP 8.1.x で推奨されなくなる機能 » PHP Manual PHP 8.0.x から PHP 8.1.x へ
...
多くの制限が適用されるようになりました。 $GLOBALS['var'] のような、 個別の配列要素に対する読み取りや書き込 ...
ter ++; return $counter ; } } class B extends A {} var_dump ( A :: counter ()); // int(1) var_dump ( A :: ...
counter ()); // int(2) var_dump ( B :: counter ()); // int(3), 以前のバージョ ...
ンでは int(1) var_dump ( B :: counter ()); // int(4), 以前のバージョ ...
-
https://man.plustar.jp/php/migration81.incompatible.html
- [similar]
- Returns an object for BSON serialization 2792
- « MongoDB\Driver\WriteConcern MongoDB\Driver\WriteConcern::__construct » PHP Manual MongoDB\Driv
...
n ( MongoDB \ Driver \ WriteConcern :: MAJORITY ); var_dump ( $wc -> bsonSerialize ()); echo "\n" , Mongo ...
ngoDB \ Driver \ WriteConcern ( 2 , 1000 , true ); var_dump ( $wc -> bsonSerialize ()); echo "\n" , Mongo ...
-
https://man.plustar.jp/php/mongodb-driver-writeconcern.bsonserialize.html
- [similar]
- Returns the WriteResult for the failed write operation 2792
- « MongoDB\Driver\Exception\WriteException Class Tree » PHP Manual MongoDB\Driver\Exception\Write
...
Error = $writeResult -> getWriteConcernError ()) { var_dump ( $writeConcernError ); } if ( $writeErrors = ...
$writeResult -> getWriteErrors ()) { var_dump ( $writeErrors ); } } ?> 上の例の出力は、 たと ...
-
https://man.plustar.jp/php/mongodb-driver-writeexception.getwriteresult.html
- [similar]
- 関数が戻り値の型を指定しているかを調べる 2792
- « ReflectionFunctionAbstract::getTentativeReturnType ReflectionFunctionAbstract::hasTentativeRet
...
reflection1 = new ReflectionFunction ( 'to_int' ); var_dump ( $reflection1 -> hasReturnType ()); 上の例の ...
ction2 = new ReflectionFunction ( 'array_merge' ); var_dump ( $reflection2 -> hasReturnType ()); 上の例の ...
-
https://man.plustar.jp/php/reflectionfunctionabstract.hasreturntype.html
- [similar]
- プロパティがコンストラクタの引数から昇格したものかを調べる 2792
- « ReflectionProperty::isPrivate ReflectionProperty::isProtected » PHP Manual ReflectionProperty
...
o -> baz = 42 ; $ro = new ReflectionObject ( $o ); var_dump ( $ro -> getProperty ( 'bar' )-> isPromoted ( ...
)); var_dump ( $ro -> getProperty ( 'baz' )-> isPromoted ( ...
-
https://man.plustar.jp/php/reflectionproperty.ispromoted.html
- [similar]
- リファレンスのユニークなIDを取得する 2792
- « ReflectionReference::fromArrayElement ReflectionAttribute » PHP Manual ReflectionReference リフ
...
lectionReference :: fromArrayElement ( $arr , 2 ); var_dump ( $rr1 -> getId () === $rr2 -> getId ()); var ...
-
https://man.plustar.jp/php/reflectionreference.getid.html
- [similar]
- HTTP レスポンスヘッダ 2792
- « $php_errormsg $argc » PHP Manual 定義済の変数 HTTP レスポンスヘッダ $http_response_header (PHP
...
s () { file_get_contents ( "http://example.com" ); var_dump ( $http_response_header ); } get_contents (); ...
var_dump ( $http_response_header ); ?> 上の例の出力は、 ...
-
https://man.plustar.jp/php/reserved.variables.httpresponseheader.html
- [similar]
- イテレータの現在位置を返す 2792
- « SplObjectStorage::getInfo SplObjectStorage::next » PHP Manual SplObjectStorage イテレータの現在
...
$object = $s -> current (); // current($s) と同等 var_dump ( $index ); var_dump ( $object ); $s -> next ...
-
https://man.plustar.jp/php/splobjectstorage.key.html
- [similar]