Results of 81 - 90 of about 374 for Test (0.015 sec.)
- クラスの基礎 4775
- « はじめに プロパティ » PHP Manual クラスとオブジェクト クラスの基礎 クラスの基礎 class 各クラス
...
が出来ます: 例6 新しいオブジェクトの作成 <?php class Test { static public function getNew () { return new st ...
atic; } } class Child extends Test {} $obj1 = new Test (); $obj2 = new $obj1 ; var_du ...
mp ( $obj1 !== $obj2 ); $obj3 = Test :: getNew (); var_dump ( $obj3 instanceof Test ); ...
を使うとエラーになる <?php class A { public function test ( $foo , $bar ) {} } class B extends A { public fu ...
-
https://man.plustar.jp/php/language.oop5.basic.html
- [similar]
- SNMP オブジェクトを取得する 4775
- « SNMP::__construct SNMP::getErrno » PHP Manual SNMP SNMP オブジェクトを取得する SNMP::get (PHP
...
例の出力は、 たとえば以下のようになります。 STRING: Test server Array ( [SNMPv2-MIB::sysDescr.0] => STRING: ...
Test server ) 例2 複数の SNMP オブジェクト $session = n ...
ります。 Array ( [SNMPv2-MIB::sysDescr.0] => STRING: Test server [SNMPv2-MIB::sysName.0] => STRING: myhost.n ...
: オブジェクト , 取得 , objectId , STRING , 配列 , Test , エラー , server , preserveKeys , リクエスト ...
-
https://man.plustar.jp/php/snmp.get.html
- [similar]
- 指定されたシグナルの現在のハンドラを取得する 4731
- « pcntl_signal_dispatch pcntl_signal » PHP Manual PCNTL 関数 指定されたシグナルの現在のハンドラを
...
er ( SIGUSR1 )); // Outputs: int(0) function pcntl_test ( $signo ) {} pcntl_signal ( SIGUSR1 , 'pcntl_test ...
andler ( SIGUSR1 )); // Outputs: string(10) "pcntl_test" pcntl_signal ( SIGUSR1 , SIG_DFL ); var_dump ( pc ...
-
https://man.plustar.jp/php/function.pcntl-signal-get-handler.html
- [similar]
- 例 4731
- « 定義済み定数 ZipArchive » PHP Manual Zip 例 例 例1 Zip アーカイブの作成 <?php $zip = new ZipAr
...
chive (); $filename = "./test112.zip" ; if ( $zip -> open ( $filename , ZipArchi ...
pen < $filename >\n" ); } $zip -> addFromString ( "testfilephp.txt" . time (), "#1 This is a test string a ...
dded as testfilephp.txt.\n" ); $zip -> addFromString ( "testfil ...
ephp2.txt" . time (), "#2 This is a test string added as testfilephp2.txt.\n" ); $zip -> ad ...
-
https://man.plustar.jp/php/zip.examples.html
- [similar]
- Import BLOB/CLOB data from a file 4687
- « cubrid_lob2_export cubrid_lob2_new » PHP Manual CUBRID 関数 Import BLOB/CLOB data from a file
...
nce the cursor position of the lob object. It operates the entire lob object. パラメータ lob_identifier Lo ...
); cubrid_execute ( $conn , "DROP TABLE if exists test_lob" ); cubrid_execute ( $conn , "CREATE TABLE tes ...
)" ); $req = cubrid_prepare ( $conn , "INSERT INTO test_lob VALUES (?, ?)" ); cubrid_bind ( $req , 1 , 1 ) ...
-
https://man.plustar.jp/php/function.cubrid-lob2-import.html
- [similar]
- 繰り返し正規表現検索を行う 4687
- « preg_last_error preg_match » PHP Manual PCRE 関数 繰り返し正規表現検索を行う preg_match_all (P
...
+>|U" , "<b>example: </b><div align=left>this is a test</div>" , $out , PREG_PATTERN_ORDER ); echo $out [ ...
ります。 <b>example: </b>, <div align=left>this is a test</div> example: , this is a test $out[0] はパターン ...
" , "<b>example: </b><div align=\"left\">this is a test</div>" , $out , PREG_SET_ORDER ); echo $out [ 0 ][ ...
xample: </b>, example: <div align="left">this is a test</div>, this is a test PREG_OFFSET_CAPTURE このフラ ...
-
https://man.plustar.jp/php/function.preg-match-all.html
- [similar]
- XMLファイルをパースし、オブジェクトに代入する 4687
- « simplexml_import_dom simplexml_load_string » PHP Manual SimpleXML 関数 XMLファイルをパースし、
...
例1 XMLドキュメントをパースする <?php // The file test.xml contains an XML document with a root element / ...
east an element /[root]/title. if ( file_exists ( 'test.xml' )) { $xml = simplexml_load_file ( 'test.xml' ...
; print_r ( $xml ); } else { exit( 'Failed to open test.xml.' ); } ?> このスクリプトは成功時に以下のように ...
-
https://man.plustar.jp/php/function.simplexml-load-file.html
- [similar]
- ストリームからフィルタを取り除く 4687
- « stream_filter_register stream_get_contents » PHP Manual ストリーム 関数 ストリームからフィルタ
...
み/書き込みモードでオープンします */ $fp = fopen ( "test.txt" , "rw" ); $rot13_filter = stream_filter_appen ...
filter_remove ( $rot13_filter ); fwrite ( $fp , "a test\n" ); rewind ( $fp ); fpassthru ( $fp ); fclose ( ...
$fp ); ?> 上の例の出力は以下となります。 Guvf vf a test 参考 stream_filter_register() - ユーザー定義のスト ...
-
https://man.plustar.jp/php/function.stream-filter-remove.html
- [similar]
- 名前を使ってエントリの変更時間を設定する 4687
- « ZipArchive::setMtimeIndex ZipArchive::setPassword » PHP Manual ZipArchive 名前を使ってエントリ
...
を、失敗した場合に false を返します。 例 この例は、 test.zip というファイル名の zipファイルを作成し、 test. ...
php $zip = new ZipArchive (); if ( $zip -> open ( 'test.zip' , ZipArchive :: CREATE ) === TRUE ) { $zip -> ...
-
https://man.plustar.jp/php/ziparchive.setmtimename.html
- [similar]
- 定数の値を返す 4643
- « connection_status define » PHP Manual その他の関数 定数の値を返す constant (PHP 4 >= 4.0.4, PH
...
/ ひとつ前の行と同じことです interface bar { const test = 'foobar!' ; } class foo { const test = 'foobar!' ...
; } $const = 'test' ; var_dump ( constant ( 'bar::' . $const )); // s ...
-
https://man.plustar.jp/php/function.constant.html
- [similar]