Results of 481 - 490 of about 1070 for Dump (0.033 sec.)
- クラスメソッドが存在するかどうかを確認する 2886
- « is_subclass_of property_exists » PHP Manual クラス/オブジェクト関数 クラスメソッドが存在するか
...
の例 <?php $directory = new Directory ( '.' ); var_dump ( method_exists ( $directory , 'read' )); ?> 上の例 ...
ticメソッドに対する method_exists() の例 <?php var_dump ( method_exists ( 'Directory' , 'read' )); ?> 上の ...
-
https://man.plustar.jp/php/function.method-exists.html
- [similar]
- 全二重接続を終了する 2886
- « stream_socket_server stream_supports_lock » PHP Manual ストリーム 関数 全二重接続を終了する st
...
ream_socket_client ( 'tcp://127.0.0.1:1337' ); var_dump ( fputs ( $client , "hello" )); stream_socket_shut ...
down ( $client , STREAM_SHUT_WR ); var_dump ( fputs ( $client , "hello" )); // ここでは動作しま ...
-
https://man.plustar.jp/php/function.stream-socket-shutdown.html
- [similar]
- オブジェクトの直近のエラーメッセージを取得する 2886
- « IntlCalendar::getErrorCode IntlCalendar::getFirstDayOfWeek » PHP Manual IntlCalendar オブジェク
...
alendar :: createInstance ( 'UTC' , 'en_US' ); var_dump ( $cal -> getErrorMessage ()); $cal -> getWeekendT ...
ransition ( IntlCalendar :: DOW_WEDNESDAY ); var_dump ( $cal -> getErrorMessage ()); 上の例の出力は以下と ...
-
https://man.plustar.jp/php/intlcalendar.geterrormessage.html
- [similar]
- コードポイントと対になる括弧文字を取得する 2886
- « IntlChar::forDigit IntlChar::getBlockCode » PHP Manual IntlChar コードポイントと対になる括弧文
...
ます。 例 例1 さまざまなコードポイントの例 <?php var_dump ( IntlChar :: getBidiPairedBracket ( 91 )); var_du ...
-
https://man.plustar.jp/php/intlchar.getbidipairedbracket.html
- [similar]
- 数値アイテムの値を増やす 2886
- « Memcached::getVersion Memcached::incrementByKey » PHP Manual Memcached 数値アイテムの値を増やす
...
r' ); $n = $m -> increment ( 'counter' , 10 ); var_dump ( $n ); $m -> set ( 'counter' , 'abc' ); $n = $m - ...
アイテムの値が数値でないので、これは失敗します var_dump ( $n ); ?> 上の例の出力は以下となります。 int(11) ...
-
https://man.plustar.jp/php/memcached.increment.html
- [similar]
- 新機能 2886
- « 下位互換性のない変更点 PHP 5.6.x で推奨されなくなる機能 » PHP Manual PHP 5.5.x から PHP 5.6.x
...
1234' , '$2a$07$usesomesillystringforsalt$' ); var_dump ( hash_equals ( $expected , $correct )); var_dump ...
ジックメソッド __debugInfo() が追加されました。 var_dump() でオブジェクトの情報を出力する際の、 プロパティや ...
[ 'propSquared' => $this -> prop ** 2 , ]; } } var_dump (new C ( 42 )); ?> 上の例の出力は以下となります。 ...
-
https://man.plustar.jp/php/migration56.new-features.html
- [similar]
- 下位互換性のない変更点 2886
- « 新しいグローバル定数 PHP 7.2.x で推奨されなくなる機能 » PHP Manual PHP 7.1.x から PHP 7.2.x へ
...
マットするという意味では少し不自然でした。 <?php var_dump ( number_format (- 0.01 )); // string(2) "-0" では ...
の変換 $arr = [ 0 => 1 ]; $obj = (object) $arr ; var_dump ( $obj , $obj ->{ '0' }, // アクセスできるようにな ...
$this ->{ 0 } = 1 ; } }; $arr = (array) $obj ; var_dump ( $arr , $arr [ 0 ], // アクセスできるようになりま ...
に E_WARNING が発生するようになりました。 <?php var_dump ( count ( null ), // NULL はカウントできません cou ...
-
https://man.plustar.jp/php/migration72.incompatible.html
- [similar]
- Return the servers to which this manager is connected 2886
- « MongoDB\Driver\Manager::getReadPreference MongoDB\Driver\Manager::getWriteConcern » PHP Manual
...
rs() * may initially return an empty array. */ var_dump ( $manager -> getServers ()); $command = new Mongo ...
manager -> executeCommand ( 'db' , $command ); var_dump ( $manager -> getServers ()); ?> 上の例の出力は、 ...
-
https://man.plustar.jp/php/mongodb-driver-manager.getservers.html
- [similar]
- 現在のストレージの要素を返す 2886
- « SplObjectStorage::count SplObjectStorage::detach » PHP Manual SplObjectStorage 現在のストレージ
...
/ current($s) と同等 $data = $s -> getInfo (); var_dump ( $object ); var_dump ( $data ); $s -> next (); } ...
-
https://man.plustar.jp/php/splobjectstorage.current.html
- [similar]
- イテレータの現在のエントリに関連づけられたデータを返す 2886
- « SplObjectStorage::getHash SplObjectStorage::key » PHP Manual SplObjectStorage イテレータの現在
...
/ current($s) と同等 $data = $s -> getInfo (); var_dump ( $object ); var_dump ( $data ); $s -> next (); } ...
-
https://man.plustar.jp/php/splobjectstorage.getinfo.html
- [similar]