Results of 241 - 250 of about 418 for Foo (0.099 sec.)
- Iterable 3886
- « 配列 オブジェクト » PHP Manual 型 Iterable Iterable Iterable は PHP 7.1 で導入された疑似型です
...
ます。 例1 Iterable パラメータ型の例 <?php function foo ( iterable $iterable ) { foreach ( $iterable as $v ...
erable パラメータのデフォルト値の例 <?php function foo ( iterable $iterable = []) { // ... } ?> Iterable ...
-
https://man.plustar.jp/php/language.types.iterable.html
- [similar]
- 外部から来る変数 3886
- « 可変変数 定数 » PHP Manual 変数 外部から来る変数 外部から来る変数 HTML フォーム (GET と POST)
...
下に示します。 例1 簡単なHTMLフォーム <form action="foo.php" method="post"> Name: <input type="text" name= ...
く文字は黙って無視されます。 たとえば、 <input name="foo[bar]baz"> は $_REQUEST['foo']['bar'] になります。 ...
す。以下に例を示します。 <?php setcookie ( "MyCookie[foo]" , 'Testing 1' , time ()+ 3600 ); setcookie ( "My ...
-
https://man.plustar.jp/php/language.variables.external.html
- [similar]
- リフレクションされた ReflectionClass を取得する。 3886
- « ReflectionParameter::getAttributes ReflectionParameter::getDeclaringClass » PHP Manual Reflect
...
ReflectionParameter クラスの利用法 <?php function foo ( Exception $a ) { } $functionReflection = new Ref ...
lectionFunction ( 'foo' ); $parameters = $functionReflection -> getParame ...
-
https://man.plustar.jp/php/reflectionparameter.getclass.html
- [similar]
- 例外のスローを有効にする 3886
- « SQLite3::createFunction SQLite3::escapeString » PHP Manual SQLite3 例外のスローを有効にする SQ
...
:memory:' ); try { $sqlite -> exec ( 'create table foo' ); $sqlite -> enableExceptions ( true ); $sqlite ...
下のようになります。 Warning: SQLite3::exec(): near "foo": syntax error in example.php on line 4 Caught exc ...
-
https://man.plustar.jp/php/sqlite3.enableexceptions.html
- [similar]
- ステートメントのSQLを取得する 3886
- « SQLite3Stmt::execute SQLite3Stmt::paramCount » PHP Manual SQLite3Stmt ステートメントのSQLを取得
...
"SELECT :a, ?, :c" ); $stmt -> bindValue ( ':a' , 'foo' ); $answer = 42 ; $stmt -> bindParam ( 2 , $answe ...
たとえば以下のようになります。 string(24) "SELECT 'foo', '42', NULL" 関連キーワード: 取得 , ステートメント ...
-
https://man.plustar.jp/php/sqlite3stmt.getsql.html
- [similar]
- パフォーマンスの考慮点 3860
- « 循環の収集 DTrace 動的トレーシング » PHP Manual ガベージコレクション パフォーマンスの考慮点 パ
...
メモリを除きます。 例1 メモリ使用量の例 <?php class Foo { public $var = '3.14159265359' ; } $baseMemory = ...
; for ( $i = 0 ; $i <= 100000 ; $i ++ ) { $a = new Foo ; $a -> self = $a ; if ( $i % 500 === 0 ) { echo s ...
はこれです。 例2 GC パフォーマンスの影響 <?php class Foo { public $var = '3.14159265359' ; } for ( $i = 0 ; ...
$i <= 1000000 ; $i ++ ) { $a = new Foo ; $a -> self = $a ; } echo memory_get_peak_usage ( ...
-
https://man.plustar.jp/php/features.gc.performance-considerations.html
- [similar]
- 定数の値を返す 3860
- « connection_status define » PHP Manual その他の関数 定数の値を返す constant (PHP 4 >= 4.0.4, PH
...
つ前の行と同じことです interface bar { const test = 'foobar!' ; } class foo { const test = 'foobar!' ; } $c ...
mp ( constant ( 'bar::' . $const )); // string(7) "foobar!" var_dump ( constant ( 'foo::' . $const )); // ...
string(7) "foobar!" ?> 参考 define() - 名前を指定して定数を定義す ...
-
https://man.plustar.jp/php/function.constant.html
- [similar]
- 関数に渡された引数の数を返す 3860
- « func_get_args function_exists » PHP Manual 関数処理 関数 関数に渡された引数の数を返す func_num
...
します。 例 例1 func_num_args() の例 <?php function foo () { $numargs = func_num_args (); echo "引数の数: ...
$numargs \n" ; } foo ( 1 , 2 , 3 ); ?> 上の例の出力は以下となります。 引 ...
-
https://man.plustar.jp/php/function.func-num-args.html
- [similar]
- 変数が宣言されていること、そして null とは異なることを検査する 3860
- « is_string print_r » PHP Manual 変数操作 関数 変数が宣言されていること、そして null とは異なるこ
...
); // FALSE var_dump (isset( $a , $b )); // FALSE $foo = NULL ; var_dump (isset( $foo )); // FALSE ?> この ...
t( $a [ 'test' ])); // TRUE var_dump (isset( $a [ 'foo' ])); // FALSE var_dump (isset( $a [ 'hello' ])); ...
-
https://man.plustar.jp/php/function.isset.html
- [similar]
- RFC 3986 に基づき URL エンコードを行う 3860
- « rawurldecode urldecode » PHP Manual URL 関数 RFC 3986 に基づき URL エンコードを行う rawurlenco
...
?php echo '<a href="ftp://user:' , rawurlencode ( 'foo @+%/' ), '@ftp.example.com/x.txt">' ; ?> 上の例の出 ...
力は以下となります。 <a href="ftp://user:foo%20%40%2B%25%2F@ftp.example.com/x.txt"> あるいは、U ...
-
https://man.plustar.jp/php/function.rawurlencode.html
- [similar]