Results of 1 - 1 of about 1 for dude (0.001 sec.)
- PharFileInfo::__construct — Phar エントリオブジェクトを作成する | PHP 8.3 9414
- PharFileInfo::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) PharFileInfo::__construct — Phar エントリオブジェクトを作成する 説明 public function PharFileInfo::__construct ( string $filename ) これは直接コールしてはいけません
... ::__construct() の例 <?php try { $p = new Phar ( '/path/to/my.phar' , 0 , 'my.phar' ); $p [ 'testfile.txt' ] = "hi\nthere\ndude" ; $file = $p [ 'testfile.txt' ]; foreach ( $file as $line => $text ) { echo "行番号 $line : $text " ; } // これも動作しま ... $e ) { echo 'Phar 操作に失敗しました: ' , $e ; } ?> 上の例の出力は以下となります。 行番号 1: hi 行番号 2: there 行番号 3: dude 行番号 1: hi 行番号 2: there 行番号 3: dude 他のマニュアルの関連ページ Linux JM cmp(1) Linux JM nl(1) Python doctest Pytho ...
-
https://man.mtool.work/php/8.3/pharfileinfo.construct.html
PREV
1
NEXT