Results of 111 - 120 of about 374 for Test (0.071 sec.)
- ZIP アーカイブのコメントを設定する 4424
- « ZipArchive::replaceFile ZipArchive::setCommentIndex » PHP Manual ZipArchive ZIP アーカイブのコ
...
php $zip = new ZipArchive ; $res = $zip -> open ( 'test.zip' , ZipArchive :: CREATE ); if ( $res === TRUE ...
) { $zip -> addFromString ( 'test.txt' , 'ここにファイルの内容を書きます' ); $zip -> ...
-
https://man.plustar.jp/php/ziparchive.setarchivecomment.html
- [similar]
- 新しい要素ノードを作成する 4380
- « DOMDocument::createDocumentFragment DOMDocument::createElementNS » PHP Manual DOMDocument 新し
...
' , 'utf-8' ); $element = $dom -> createElement ( 'test' , 'This is the root element!' ); // 新しい要素をル ...
となります。 <?xml version="1.0" encoding="utf-8"?> <test>This is the root element!</test> 例2 & をエスケープ ...
-
https://man.plustar.jp/php/domdocument.createelement.html
- [similar]
- パラメータの配列を指定してコールバック関数をコールする 4380
- « 関数処理 関数 call_user_func » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック
...
espace Foobar ; class Foo { static public function test ( $name ) { print "Hello { $name } !\n" ; } } call ...
_user_func_array ( __NAMESPACE__ . '\Foo::test' , array( 'Hannes' )); call_user_func_array (array ...
( __NAMESPACE__ . '\Foo' , 'test' ), array( 'Philip' )); ?> 上の例の出力は、 たとえ ...
-
https://man.plustar.jp/php/function.call-user-func-array.html
- [similar]
- バックトレースを生成する 4380
- « エラー処理関数 debug_print_backtrace » PHP Manual エラー処理関数 バックトレースを生成する debu
...
() の例 <?php // ファイル名: /tmp/a.php function a_test ( $str ) { echo "\nHi: $str " ; var_dump ( debug_b ...
acktrace ()); } a_test ( 'friend' ); ?> <?php // ファイル名: /tmp/b.php i ...
" ["line"] => int(10) ["function"] => string(6) "a_test" ["args"]=> array(1) { [0] => &string(6) "friend" ...
-
https://man.plustar.jp/php/function.debug-backtrace.html
- [similar]
- 指定されたテキストを復号する 4380
- « gnupg_clearsignkeys gnupg_decryptverify » PHP Manual GnuPG 関数 指定されたテキストを復号する g
...
es , "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = gnupg_decrypt ( $res , $encrypted_tex ...
ey ( "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $plain = $gpg -> decrypt ( $encrypted_text ); ...
-
https://man.plustar.jp/php/function.gnupg-decrypt.html
- [similar]
- 指定したテキストを暗号化する 4380
- « gnupg_deletekey gnupg_encryptsign » PHP Manual GnuPG 関数 指定したテキストを暗号化する gnupg_e
...
851566DC" ); $enc = gnupg_encrypt ( $res , "just a test" ); echo $enc ; ?> 例2 オブジェクト指向の gnupg_en ...
9F9DC851566DC" ); $enc = $gpg -> encrypt ( "just a test" ); echo $enc ; ?> 関連キーワード: 暗号 , テキスト ...
-
https://man.plustar.jp/php/function.gnupg-encrypt.html
- [similar]
- バッファを修正するための ob_start コールバック関数 4380
- « Tidy 関数 tidy_access_count » PHP Manual Tidy 関数 バッファを修正するための ob_start コールバッ
...
の例 <?php ob_start ( 'ob_tidyhandler' ); echo '<p>test</i>' ; ?> 上の例の出力は以下となります。 <!DOCTYPE ...
"> <html> <head> <title></title> </head> <body> <p>test</p> </body> </html> 参考 ob_start() - 出力のバッフ ...
-
https://man.plustar.jp/php/function.ob-tidyhandler.html
- [similar]
- インクルードパスに対してファイル名を解決する 4380
- « stream_register_wrapper stream_select » PHP Manual ストリーム 関数 インクルードパスに対してファ
...
す。 <?php var_dump ( stream_resolve_include_path ( "test.php" )); ?> 上の例の出力は、 たとえば以下のようにな ...
ります。 string(22) "/var/www/html/test.php" 関連キーワード: 解決 , パス , stream , includ ...
-
https://man.plustar.jp/php/function.stream-resolve-include-path.html
- [similar]
- 推奨されなくなる機能 4380
- « 下位互換性のない変更点 その他の変更 » PHP Manual PHP 7.4.x から PHP 8.0.x への移行 推奨されなく
...
、機能を変更することなく解決できます: <?php function test ( $a = [], $b ) {} // 変更前 function test ( $a , ...
nullable 型を使うことを推奨します: <?php function test ( A $a = null , $b ) {} // まだ許可されています fu ...
nction test (? A $a , $b ) {} // 推奨される書き方 ?> exclude_d ...
-
https://man.plustar.jp/php/migration80.deprecated.html
- [similar]
- 接続、および接続の管理 4380
- « 定義済み定数 トランザクションおよび自動コミット » PHP Manual PDO 接続、および接続の管理 接続、
...
?php $dbh = new PDO ( 'mysql:host=localhost;dbname=test' , $user , $pass ); ?> 接続時になんらかのエラーが発 ...
ry { $dbh = new PDO ( 'mysql:host=localhost;dbname=test' , $user , $pass ); foreach( $dbh -> query ( 'SELE ...
?php $dbh = new PDO ( 'mysql:host=localhost;dbname=test' , $user , $pass ); // ここで接続を使用します $sth ...
?php $dbh = new PDO ( 'mysql:host=localhost;dbname=test' , $user , $pass , array( PDO :: ATTR_PERSISTENT = ...
-
https://man.plustar.jp/php/pdo.connections.html
- [similar]