検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 247 for bar (0.004 sec.)
パラメータの配列を指定してコールバック関数をコールする 7157
« 関数処理 関数 call_user_func » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック ... 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " got $arg ... and $arg2 \n" ; } class foo { function bar ( $arg , $arg2 ) { echo __METHOD__ , " got $arg an ... d $arg2 \n" ; } } // foobar() 関数に引数を 2 つ渡してコールします call_user_fu ... nc_array ( "foobar" , array( "one" , "two" )); // $foo->bar() メソッド ...
https://man.plustar.jp/php/function.call-user-func-array.html - [similar]
実行時設定 7157
« インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 実行時設定 php.ini の設定 ... Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini <?php function show_values () { echo "F ... oo is $_FOO \n" ; echo "Bar is $_BAR \n" ; echo "Baz is $_BAZ \n" ; } $_FOO = ... 'foo' ; $_BAR = 'bar' ; $_BAZ = 'baz' ; /* Displays foo and bar, ...
https://man.plustar.jp/php/runkit7.configuration.html - [similar]
言明 7006
« 後方参照 再試行無しのサブパターン » PHP Manual PCRE 正規表現構文 言明 言明 言明 (assertion) と ... 象それ自体にはセミコロンは含まれません。また、 foo(?!bar) は、"bar" が後ろに続かない "foo" にマッチします。 ... なお、一見、良く似たパターンですが (?!foo)bar は、"foo" 以外のものの後にある "bar" を見つけるもの ... ではないことに 注意してください。これは、どこにある "bar" とでもマッチしてしまいます。 続く 3 文字が "bar" ... 否定の言明の場合 (?<! で始まります。例えば、 (?<!foo)bar は、"foo" 以外の後にある "bar" の存在を見つけるもの ...
https://man.plustar.jp/php/regexp.reference.assertions.html - [similar]
Returns the Javascript's code 6905
« MongoDB\BSON\Javascript::__construct MongoDB\BSON\Javascript::getScope » PHP Manual MongoDB\BS ... = new MongoDB \ BSON \ Javascript ( 'function foo(bar) { return bar; }' ); var_dump ( $js -> getCode ()) ... 例の出力は以下となります。 string(33) "function foo(bar) { return bar; }" 参考 » BSON Types 関連キーワード ... , BSON , s , the , getCode , string , パラメータ , bar , function ...
https://man.plustar.jp/php/mongodb-bson-javascript.getcode.html - [similar]
Returns the Javascript's code 6865
« MongoDB\BSON\Javascript::serialize MongoDB\BSON\Javascript::unserialize » PHP Manual MongoDB\B ... g) new MongoDB \ BSON \ Javascript ( 'function foo(bar) { return bar; }' )); ?> 上の例の出力は以下となりま ... す。 string(33) "function foo(bar) { return bar; }" 参考 MongoDB\BSON\Javascript::ge ... Javascript , BSON , Returns , the , s , toString , bar , パラメータ , getCode , メソッド ...
https://man.plustar.jp/php/mongodb-bson-javascript.tostring.html - [similar]
オブジェクトのクラス名を返す 6815
« get_class_vars get_declared_classes » PHP Manual クラス/オブジェクト関数 オブジェクトのクラス名 ... lass ( $this ) , "\n" ; } } // オブジェクトを生成 $bar = new foo (); // 外部からコール echo "Its name is ... " , get_class ( $bar ) , "\n" ; // 内部からコール $bar -> name (); ?> 上 ... () のスーパークラスでの使用例 <?php abstract class bar { public function __construct () { var_dump ( get_ ... ); var_dump ( get_class ()); } } class foo extends bar { } new foo ; ?> 上の例の出力は以下となります。 st ...
https://man.plustar.jp/php/function.get-class.html - [similar]
MySQL サーバに接続する 6815
« expression mysql_xdevapi\BaseResult » PHP Manual Mysql_xdevapi 関数 MySQL サーバに接続する get ... 8.0.22 で追加されました。 例1 URI の例 mysqlx://foobar mysqlx://root@localhost?socket=%2Ftmp%2Fmysqld.soc ... k%2F mysqlx://foo:bar@localhost:33060 mysqlx://foo:bar@localhost:33160?s ... sl-mode=disabled mysqlx://foo:bar@localhost:33260?ssl-mode=required mysqlx://foo:bar ... :33360?ssl-mode=required&auth=mysql41 mysqlx://foo:bar@(/path/to/socket) mysqlx://foo:bar@(/path/to/socke ...
https://man.plustar.jp/php/function.mysql-xdevapi-getsession.html - [similar]
基本的な事 6815
« 変数 定義済みの変数 » PHP Manual 変数 基本的な事 基本的な事 PHP の変数はドル記号の後に変数名が ... <?php $foo = 'Bob' ; // 値'Bob'を$fooに代入する。 $bar = & $foo ; // $fooを$barにより参照 $bar = "My name ... is $bar " ; // $barを変更... echo $bar ; echo $foo ; // $f ... 代入できる ということがあります。 <?php $foo = 25 ; $bar = & $foo ; // これは有効な代入です。 $bar = &( 24 ... を参照しています。 function test () { return 25 ; } $bar = & test (); // 無効。 ?> PHP では変数を初期化する ...
https://man.plustar.jp/php/language.variables.basics.html - [similar]
6764
« ストリームのエラー ストリームラッパーとして登録するクラスの例 » PHP Manual ストリーム 例 例 目 ... さまざまな場所からデータを取得する <?php /* /home/bar にあるローカルファイルを読み出す */ $localfile = f ... ile_get_contents ( "/home/bar/foo.txt" ); /* 上と同一だが、明示的に FILE スキーム ... */ $localfile = file_get_contents ( "file:///home/bar/foo.txt" ); /* HTTP を利用し、www.example.com にあ ... て POST リクエストを送信 * ダミー値を持つ "foo" と "bar" というフォーム要素が含まれます。 */ $sock = fsock ...
https://man.plustar.jp/php/stream.examples.html - [similar]
文字列の各単語の最初の文字を大文字にする 6664
« ucfirst utf8_decode » PHP Manual String 関数 文字列の各単語の最初の文字を大文字にする ucwords ... orld!' ; $foo = ucwords ( $foo ); // Hello World! $bar = 'HELLO WORLD!' ; $bar = ucwords ( $bar ); // HEL ... LO WORLD! $bar = ucwords ( strtolower ( $bar )); // Hello World! ... 切り文字を指定する例 <?php $foo = 'hello|world!' ; $bar = ucwords ( $foo ); // Hello|world! $baz = ucwords ... 区切り文字を指定する例 <?php $foo = "mike o'hara" ; $bar = ucwords ( $foo ); // Mike O'hara $baz = ucwords ...
https://man.plustar.jp/php/function.ucwords.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT