« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for foofoo (0.001 sec.)
ReflectionProperty::getValue — 値を取得する | PHP 8.3 11228
ReflectionProperty::getValue (PHP 5, PHP 7, PHP 8) ReflectionProperty::getValue — 値を取得する 説明 public function ReflectionProperty::getValue ( ? object $object = null ): mixed プロパティの値を取得します。 パラメータ object static でない ... 例 <?php class Foo { public static $staticProperty = 'foobar' ; public $property = 'barfoo' ; protected $privateProperty = 'foofoo' ; } $reflectionClass = new ReflectionClass ( 'Foo' ); var_dump ( $reflectionClass -> getProperty ( 'staticProperty' )-> g ... ectionProperty -> getValue (new Foo )); ?> 上の例の出力は以下となります。 string(6) "foobar" string(6) "barfoo" string(6) "foofoo" 参考 ReflectionProperty::setValue() - プロパティの値を設定する ReflectionProperty::setAccessible() - プロパティのアクセス ...
https://man.mtool.work/php/8.3/reflectionproperty.getvalue.html
mysqli_result::fetch_fields — 結果セットのフィールド情報をオブジェクトの配列で... 7485
mysqli_result::fetch_fields mysqli_fetch_fields (PHP 5, PHP 7, PHP 8) mysqli_result::fetch_fields -- mysqli_fetch_fields — 結果セットのフィールド情報をオブジェクトの配列で返す 説明 オブジェクト指向型 public function mysqli_result::fetch_fie ... 桁数。時間フィールドの場合は、秒単位の精度。 例 例1 オブジェクト指向型 <?php $mysqli = new mysqli ( "127.0.0.1" , "root" , "foofoo" , "sakila" ); /* 接続状況をチェックします */ if ( $mysqli -> connect_errno ) { printf ( "Connect failed: %s\n" , $mysqli ...
https://man.mtool.work/php/8.3/mysqli-result.fetch-fields.html
PREV 1 NEXT