Results of 21 - 30 of about 1032 for example (0.005 sec.)
- 基本的な SimpleXML の使用法 4604
- « 例 XML エラーの対応 » PHP Manual 例 基本的な SimpleXML の使用法 基本的な SimpleXML の使用法 こ
...
です。 例1 XML 文字列を設定するインクルードファイル example.php <?php $xmlstr = <<<XML <?xml version='1.0' sta ...
開する時です。 例2 <plot> を取得する <?php include 'example.php' ; $movies = new SimpleXMLElement ( $xmlstr ); ...
ィで囲みます。 例3 <line> を取得する <?php include 'example.php' ; $movies = new SimpleXMLElement ( $xmlstr ); ...
の反復処理を適用することができます。 <?php include 'example.php' ; $movies = new SimpleXMLElement ( $xmlstr ); ...
-
https://man.plustar.jp/php/simplexml.examples-basic.html
- [similar]
- Secure Shell 2 4604
- « phar:// rar:// » PHP Manual サポートするプロトコル/ラッパー Secure Shell 2 ssh2:// ssh2:// — S
...
用することが可能です。 利用法 ssh2.shell://user:pass@example.com:22/xterm ssh2.exec://user:pass@example.com:22/ ...
usr/local/bin/somecmd ssh2.tunnel://user:pass@example.com:22/192.168.0.1:14 ssh2.sftp://user:pass@exampl ...
ームをオープンする <?php $session = ssh2_connect ( 'example.com' , 22 ); ssh2_auth_pubkey_file ( $session , 'u ...
$stream = fopen ( "ssh2.tunnel:// $session /remote.example.com:1234" , 'r' ); ?> 例2 $session を有効にしておか ...
-
https://man.plustar.jp/php/wrappers.ssh2.html
- [similar]
- コマンドライン引数のリストからオプションを取得する 4561
- « getmyuid getrusage » PHP Manual PHP オプション/情報 関数 コマンドライン引数のリストからオプショ
...
た。 例 例1 getopt() の例:基本編 <?php // スクリプト example.php $options = getopt ( "f:hp:" ); var_dump ( $opt ...
ions ); ?> shell> php example.php -fvalue -h 上の例の出力は以下となります。 arra ...
2 getopt() の例:長いオプション <?php // スクリプト example.php $shortopts = "" ; $shortopts .= "f:" ; // 値が ...
$longopts ); var_dump ( $options ); ?> shell> php example.php -f "value for f" -v -a --required value --opti ...
-
https://man.plustar.jp/php/function.getopt.html
- [similar]
- Create a SVMModel based on training data 4561
- « SVM::setOptions SVMModel » PHP Manual SVM Create a SVMModel based on training data SVM::train
...
d problem, with the each line being a new training example, the start of each line containing the class (1, - ...
to help account for unbalanced training sets. For example, if the classes were 1 and -1, and -1 had signific ...
antly more example than one, the weight for -1 could be 0.5. Weights ...
: SVMModel , based , data , in , problem , array , example , containing , should , Create ...
-
https://man.plustar.jp/php/svm.train.html
- [similar]
- Dynamically adds a new method to a given class 4513
- « runkit7_import runkit7_method_copy » PHP Manual runkit7 関数 Dynamically adds a new method to
...
合に false を返します。 例 例1 runkit7_method_add() example <?php class Example { function foo () { echo "foo! ...
\n" ; } } // create an Example object $e = new Example (); // Add a new public me ...
thod runkit7_method_add ( 'Example' , 'add' , '$num1, $num2' , 'return $num1 + $num2; ...
-
https://man.plustar.jp/php/function.runkit7-method-add.html
- [similar]
- Copies a method from class to another 4421
- « runkit7_method_add runkit7_method_redefine » PHP Manual runkit7 関数 Copies a method from clas
...
me is assumed. 戻り値 例 例1 runkit7_method_copy() example <?php class Foo { function example () { return "fo ...
class Bar { // initially, no methods } // copy the example() method from the Foo class to the Bar class, as b ...
z() runkit7_method_copy ( 'Bar' , 'baz' , 'Foo' , 'example' ); // output copied function echo Bar :: baz (); ...
-
https://man.plustar.jp/php/function.runkit7-method-copy.html
- [similar]
- Dynamically removes the given method 4421
- « runkit7_method_redefine runkit7_method_rename » PHP Manual runkit7 関数 Dynamically removes th
...
false を返します。 例 例1 runkit7_method_remove() example <?php class Example { function foo () { return "fo ...
/ Remove the 'foo' method runkit7_method_remove ( 'Example' , 'foo' ); echo implode ( ' ' , get_class_methods ...
( 'Example' )); ?> 上の例の出力は以下となります。 bar 参考 ru ...
-
https://man.plustar.jp/php/function.runkit7-method-remove.html
- [similar]
- 基本的な curl の使用法 4379
- « 例 cURL 関数 » PHP Manual 例 基本的な curl の使用法 基本的な curl の使用法 PHP を cURL サポート
...
を終了するというものになります。 cURL 関数を使用して example.com ホームページをファイルに取得する例を示します。 ...
例1 PHP の cURL モジュールを使用して example.com のホームページを取得する <?php $ch = curl_init ...
( "http://www.example.com/" ); $fp = fopen ( "example_homepage.txt" , "w ...
-
https://man.plustar.jp/php/curl.examples-basic.html
- [similar]
- Dynamically changes the name of the given method 4379
- « runkit7_method_remove runkit7_object_id » PHP Manual runkit7 関数 Dynamically changes the name
...
false を返します。 例 例1 runkit7_method_rename() example <?php class Example { function foo () { return "fo ...
the 'foo' method to 'bar' runkit7_method_rename ( 'Example' , 'foo' , 'bar' ); // output renamed function ech ...
o (new Example )-> bar (); ?> 上の例の出力は以下となります。 foo! ...
-
https://man.plustar.jp/php/function.runkit7-method-rename.html
- [similar]
- 例 4330
- « 定義済み定数 CUBRID 関数 » PHP Manual CUBRID 例 例 The following is a simple example that esta
...
D Server and CUBRID Broker have to be running. The example below uses the demodb database as an examples. By ...
e installation. Make sure it has been created. 例1 Example of Data Retrieval <html> <head> <meta http-equiv=" ...
he CUBRID Broker is installed (localhost in this * example), and host_port is the port number of the CUBRID B ...
disconnect ( $cubrid_con ); ?> </body> </html> 例2 Example of Data Insertion <html> <head> <meta http-equiv=" ...
-
https://man.plustar.jp/php/cubrid.examples.html
- [similar]