Results of 1 - 1 of about 1 for secondfile (0.001 sec.)
- Phar::offsetExists — ファイルが phar 内に存在するかどうかを調べる | PHP 8.3 9414
- Phar::offsetExists (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::offsetExists — ファイルが phar 内に存在するかどうかを調べる 説明 public function Phar::offsetExists ( string $localName ): bool これは ArrayAccess インターフェイスを
... 例 <?php $p = new Phar ( dirname ( __FILE__ ) . '/my.phar' , 0 , 'my.phar' ); $p [ 'firstfile.txt' ] = 'first file' ; $p [ 'secondfile.txt' ] = 'second file' ; // 以下の行では、offsetExists() が間接的にコールされます var_dump (isset( $p [ 'firstfile.txt' ]) ...
-
https://man.mtool.work/php/8.3/phar.offsetexists.html
PREV
1
NEXT