« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for getStub (0.003 sec.)
Phar アーカイブの PHP ローダーあるいは起動スタブを返す 13124
« Phar::getSignature Phar::getSupportedCompression » PHP Manual Phar Phar アーカイブの PHP ローダーあるいは起動スタブを返す 検索 Phar::getStub (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::getStub — Phar アーカイブの PHP ローダー ... あるいは起動スタブを返す 説明 public function Phar::getStub (): string Phar アーカイブには、ブートストラップローダー (あるいは スタブ ) というものが含まれています。これは PHP で書かれ ... 字列で返します。 エラー / 例外 スタブを Phar アーカイブから読み込めない場合に RuntimeException をスローします。 例 例1 Phar::getStub() の例 <?php $p = new Phar ( '/path/to/my.phar' , 0 , 'my.phar' ); echo $p -> getStub (); echo "==NEXT==\n" ; $p -> setStu ... , $class ); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?>" ); echo $p -> getStub (); ?> 上の例の出力は以下となります。 <?php __HALT_COMPILER(); ?> ==NEXT== <?php function __autoload($class) { include 'ph ...
https://man.mtool.work/php/8.3/phar.getstub.html
Phar アーカイブの PHP ローダーあるいは起動スタブを返す 13023
« Phar::getSignature Phar::getSupportedCompression » PHP Manual Phar Phar アーカイブの PHP ローダーあるいは起動スタブを返す 検索 Phar::getStub (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::getStub — Phar アーカイブの PHP ローダー ... あるいは起動スタブを返す 説明 public function Phar::getStub (): string Phar アーカイブには、ブートストラップローダー (あるいは スタブ ) というものが含まれています。これは PHP で書かれ ... 字列で返します。 エラー / 例外 スタブを Phar アーカイブから読み込めない場合に RuntimeException をスローします。 例 例1 Phar::getStub() の例 <?php $p = new Phar ( '/path/to/my.phar' , 0 , 'my.phar' ); echo $p -> getStub (); echo "==NEXT==\n" ; $p -> setStu ... , $class ); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?>" ); echo $p -> getStub (); ?> 上の例の出力は以下となります。 <?php __HALT_COMPILER(); ?> ==NEXT== <?php function __autoload($class) { include 'ph ...
https://man.mtool.work/php/8.3/phar.getstub.html
Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 9589
« Phar::setSignatureAlgorithm Phar::startBuffering » PHP Manual Phar Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 検索 Phar::setStub (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::setStub — Phar アーカイブの PHP ロ ... Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/a.php' ; var_dump ( $p -> getStub ()); $p [ 'b.php' ] = '<?php var_dump("World");' ; $p -> setStub ( '<?php var_dump("Second"); Phar::mapPhar("brandnewphar. ... phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/b.php' ; var_dump ( $p -> getStub ()); } catch ( Exception $e ) { echo 'brandnewphar.phar での書き込み操作に失敗しました: ' , $e ; } ?> 上の例の出力は以下と ... ing(5) "World" string(83) "<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" 参考 Phar::getStub() - Phar アーカイブの PHP ローダーあるいは起動スタブを返す Phar::createDefaultStub() - phar ファイルフォーマット用のスタブ ...
https://man.mtool.work/php/8.3/phar.setstub.html
Phar アーカイブの MD5/SHA1/SHA256/SHA512/OpenSSL シグネチャを返す 9014
« Phar::getPath Phar::getStub » PHP Manual Phar Phar アーカイブの MD5/SHA1/SHA256/SHA512/OpenSSL シグネチャを返す 検索 Phar::getSignature (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::getSignature — Phar アーカイブの MD5/SHA1/SHA ... alse を返します。 関連キーワード: Phar シグネチャ アーカイブ phar OpenSSL getSignature hash false キー 場合 getPath Search getStub function array 検証用 パラメータ 戻り値 配列 自体 ...
https://man.mtool.work/php/8.3/phar.getsignature.html
Phar アーカイブの MD5/SHA1/SHA256/SHA512/OpenSSL シグネチャを返す 9014
« Phar::getPath Phar::getStub » PHP Manual Phar Phar アーカイブの MD5/SHA1/SHA256/SHA512/OpenSSL シグネチャを返す 検索 Phar::getSignature (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::getSignature — Phar アーカイブの MD5/SHA1/SHA ... い場合、この関数は false を返します。 関連キーワード: Phar シグネチャ アーカイブ phar OpenSSL getSignature hash キー getPath getStub 検証用 自体 type 格納 中身 全体 計算 ハッシュ 整合性 検証 require ...
https://man.mtool.work/php/8.3/phar.getsignature.html
Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディス... 9014
« Phar::startBuffering Phar::unlinkArchive » PHP Manual Phar Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディスクに書き込む 検索 Phar::stopBuffering (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::stopB ... . '/brandnewphar.phar' , 0 , 'brandnewphar.phar' ); $p [ 'file1.txt' ] = 'hi' ; $p -> startBuffering (); var_dump ( $p -> getStub ()); $p -> setStub ( "<?php function __autoload(\$class) { include 'phar://brandnewphar.phar/' . str_replace('_', '/', \$c ... ar.phar'); include 'phar://brandnewphar.phar/startup.php'; __HALT_COMPILER();" ); $p -> stopBuffering (); var_dump ( $p -> getStub ()); ?> 上の例の出力は以下となります。 string(24) "<?php __HALT_COMPILER();" string(195) "<?php function __autoload($class ... phar アーカイブ バッファ リング ディスク stopBuffering brandnewphar 書き込み startBuffering リクエスト 変更内容 全体 dump getStub autoload replace mapPhar startup 操作 unlinkArchive 大量 高速 通常 最新 ...
https://man.mtool.work/php/8.3/phar.stopbuffering.html
Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 8913
« Phar::setSignatureAlgorithm Phar::startBuffering » PHP Manual Phar Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 検索 Phar::setStub (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::setStub — Phar アーカイブの PHP ロ ... Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/a.php' ; var_dump ( $p -> getStub ()); $p [ 'b.php' ] = '<?php var_dump("World");' ; $p -> setStub ( '<?php var_dump("Second"); Phar::mapPhar("brandnewphar. ... phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/b.php' ; var_dump ( $p -> getStub ()); } catch ( Exception $e ) { echo 'brandnewphar.phar での書き込み操作に失敗しました: ' , $e ; } ?> 上の例の出力は以下と ... ing(5) "World" string(83) "<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" 参考 Phar::getStub() - Phar アーカイブの PHP ローダーあるいは起動スタブを返す Phar::createDefaultStub() - phar ファイルフォーマット用のスタブ ...
https://man.mtool.work/php/8.3/phar.setstub.html
サポートする圧縮アルゴリズムの配列を返す 8727
« Phar::getStub Phar::getSupportedSignatures » PHP Manual Phar サポートする圧縮アルゴリズムの配列を返す 検索 Phar::getSupportedCompression (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0) Phar::getSupportedCompression — サポートする圧縮ア ... phar PharFileInfo アルゴリズム getSupportedCompression zlib 拡張 エントリ 解除 全体 isCompressed compress bzip decompress getStub getSupportedSignatures final static 参考 getCompressedSize 実際 Gzip ...
https://man.mtool.work/php/8.3/phar.getsupportedcompression.html
Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディス... 8355
« Phar::startBuffering Phar::unlinkArchive » PHP Manual Phar Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディスクに書き込む 検索 Phar::stopBuffering (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::stopB ... . '/brandnewphar.phar' , 0 , 'brandnewphar.phar' ); $p [ 'file1.txt' ] = 'hi' ; $p -> startBuffering (); var_dump ( $p -> getStub ()); $p -> setStub ( "<?php function __autoload(\$class) { include 'phar://brandnewphar.phar/' . str_replace('_', '/', \$c ... ar.phar'); include 'phar://brandnewphar.phar/startup.php'; __HALT_COMPILER();" ); $p -> stopBuffering (); var_dump ( $p -> getStub ()); ?> 上の例の出力は以下となります。 string(24) "<?php __HALT_COMPILER();" string(195) "<?php function __autoload($class ...
https://man.mtool.work/php/8.3/phar.stopbuffering.html
サポートする圧縮アルゴリズムの配列を返す 7780
« Phar::getStub Phar::getSupportedSignatures » PHP Manual Phar サポートする圧縮アルゴリズムの配列を返す 検索 Phar::getSupportedCompression (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0) Phar::getSupportedCompression — サポートする圧縮ア ...
https://man.mtool.work/php/8.3/phar.getsupportedcompression.html
PREV 1 2 3 NEXT