Results of 71 - 80 of about 389 for foreach (0.014 sec.)
- 新しい DateTimeZone オブジェクトを作成する 4642
- « DateTimeZone DateTimeZone::getLocation » PHP Manual DateTimeZone 新しい DateTimeZone オブジェク
...
urope/London' , 'GMT+04:45' , '-06:00' , 'CEST' ]; foreach ( $timezones as $tz ) { $tzo = new DateTimeZone ( ...
rope/London' , 'Mars/Phobos' , 'Jupiter/Europa' ); foreach ( $timezones as $tz ) { try { $mars = new DateTime ...
-
https://man.plustar.jp/php/datetimezone.construct.html
- [similar]
- リフレクションAPI を使ってアトリビュートを読み取る 4642
- « アトリビュートの文法 アトリビュートクラスを宣言する » PHP Manual アトリビュート リフレクション
...
) { $attributes = $reflection -> getAttributes (); foreach ( $attributes as $attribute ) { var_dump ( $attrib ...
eflection -> getAttributes ( MyAttribute ::class); foreach ( $attributes as $attribute ) { var_dump ( $attrib ...
-
https://man.plustar.jp/php/language.attributes.reflection.html
- [similar]
- リファレンスが行うことは何ですか? 4642
- « リファレンスとは? リファレンスが行わないこと » PHP Manual リファレンスの説明 リファレンスが行う
...
ローカル変数のリファレンスのみを変更します。 注意 : foreach ステートメントの内部でリファレンス変数に値を代入す ...
と、リファレンスも変更されます。 例3 リファレンスと foreach ステートメント <?php $ref = 0 ; $row =& $ref ; for ...
-
https://man.plustar.jp/php/language.references.whatdo.html
- [similar]
- Execute a database query 4642
- « MongoDB\Driver\Manager::executeCommand MongoDB\Driver\Manager::executeReadCommand » PHP Manual
...
ager -> executeQuery ( 'db.collection' , $query ); foreach ( $cursor as $document ) { var_dump ( $document ); ...
ager -> executeQuery ( 'db.collection' , $query ); foreach ( $cursor as $document ) { var_dump ( $document ); ...
-
https://man.plustar.jp/php/mongodb-driver-manager.executequery.html
- [similar]
- 事前にオープンしているデータベース接続を閉じる 4642
- « mysqli::character_set_name mysqli::commit » PHP Manual mysqli 事前にオープンしているデータベー
...
ったらすぐに、接続を閉じます */ $mysqli -> close (); foreach ( $result as $row ) { /* データベースから取得したデ ...
すぐに、接続を閉じます */ mysqli_close ( $mysqli ); foreach ( $result as $row ) { /* データベースから取得したデ ...
-
https://man.plustar.jp/php/mysqli.close.html
- [similar]
- ArrayIterator クラス 4555
- « AppendIterator::valid ArrayIterator::append » PHP Manual イテレータ ArrayIterator クラス Array
...
れを参照する ArrayIterator のインスタンスを作成し、 foreach を使用するか getIterator() メソッドを手動でコールし ...
オブジェクトのプロパティが、 リストとして(var_dump, foreach などから)アクセスされたときの通常の機能を持つ Arra ...
-
https://man.plustar.jp/php/class.arrayiterator.html
- [similar]
- 例 4555
- « 定義済み定数 クラス/オブジェクト関数 » PHP Manual クラス/オブジェクト 例 例 この例では、まず基
...
d_register (); function printProperties ( $obj ) { foreach ( get_object_vars ( $obj ) as $prop => $val ) { ec ...
{ $arr = get_class_methods ( get_class ( $obj )); foreach ( $arr as $method ) { echo "\tfunction $method ()\ ...
-
https://man.plustar.jp/php/classobj.examples.html
- [similar]
- PHP の関数を XPath 関数として登録する 4555
- « DOMXPath::registerNamespace DOM 関数 » PHP Manual DOMXPath PHP の関数を XPath 関数として登録す
...
$nodes -> length } books starting with 'PHP':\n" ; foreach ( $nodes as $node ) { $title = $node -> getElement ...
thor)]' ); echo "Books with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByT ...
-
https://man.plustar.jp/php/domxpath.registerphpfunctions.html
- [similar]
- 現在の転送についての情報を表示する 4555
- « curl_multi_getcontent curl_multi_init » PHP Manual cURL 関数 現在の転送についての情報を表示する
...
ttp://www.yahoo.com/" ); $mh = curl_multi_init (); foreach ( $urls as $i => $url ) { $conn [ $i ] = curl_init ...
o ); } } while ( $active && $status == CURLM_OK ); foreach ( $urls as $i => $url ) { $res [ $i ] = curl_multi ...
-
https://man.plustar.jp/php/function.curl-multi-info-read.html
- [similar]
- 変数が数字または数値形式の文字列であるかを調べる 4555
- « is_null is_object » PHP Manual 変数操作 関数 変数が数字または数値形式の文字列であるかを調べる
...
0" , "not numeric" , array(), 9.1 , null , '' , ); foreach ( $tests as $element ) { if ( is_numeric ( $elemen ...
-breaking space "9001 " , // non-breaking space ]; foreach ( $tests as $element ) { if ( is_numeric ( $elemen ...
-
https://man.plustar.jp/php/function.is-numeric.html
- [similar]