Results of 1 - 10 of about 42 for halt (0.002 sec.)
- コンパイラの実行を中止する 13966
- « get_browser highlight_file » PHP Manual その他の関数 コンパイラの実行を中止する 検索 __halt_compiler (PHP 5 >= 5.1.0, PHP 7, PHP 8) __halt_compiler — コンパイラの実行を中止する 説明 function __halt_compiler (): void コンパイラの実行を中止
... ル用ファイルのようなデータを PHP スクリプトに埋め込んでいる場合に便利です。 データの開始位置(バイト値)は、定数 __COMPILER_HALT_OFFSET__ で定義されています。 これはファイル内で __halt_compiler() が使用されている場合にのみ存在します。 パラメータ この関 ... 数にはパラメータはありません。 戻り値 値を返しません。 例 例1 __halt_compiler() の例 <?php // このファイルをオープンします $fp = fopen ( __FILE__ , 'r' ); // データのある位置までファイルポイン ... タを移動します fseek ( $fp , __COMPILER_HALT_OFFSET__ ); // それを出力します var_dump ( stream_get_contents ( $fp )); // ここでスクリプトの実行を終了します __halt_comp ...
-
https://man.mtool.work/php/8.3/function.halt-compiler.html
- コンパイラの実行を中止する 13966
- « get_browser highlight_file » PHP Manual その他の関数 コンパイラの実行を中止する 検索 __halt_compiler (PHP 5 >= 5.1.0, PHP 7, PHP 8) __halt_compiler — コンパイラの実行を中止する 説明 function __halt_compiler (): void コンパイラの実行を中止
... ル用ファイルのようなデータを PHP スクリプトに埋め込んでいる場合に便利です。 データの開始位置(バイト値)は、定数 __COMPILER_HALT_OFFSET__ で定義されています。 これはファイル内で __halt_compiler() が使用されている場合にのみ存在します。 パラメータ この関 ... 数にはパラメータはありません。 戻り値 値を返しません。 例 例1 __halt_compiler() の例 <?php // このファイルをオープンします $fp = fopen ( __FILE__ , 'r' ); // データのある位置までファイルポイン ... タを移動します fseek ( $fp , __COMPILER_HALT_OFFSET__ ); // それを出力します var_dump ( stream_get_contents ( $fp )); // ここでスクリプトの実行を終了します __halt_comp ...
-
https://man.mtool.work/php/8.3/function.halt-compiler.html
- Phar ファイルのスタブ 9228
- « Phar アーカイブの原料のうち、ファイル形式に依存しないもの Phar 形式と Tar 形式、Zip 形式の徹底比較 » PHP Manual phar って、tar や zip とは何が違うの? Phar ファイルのスタブ 検索 Phar ファイルのスタブ Phar のスタブは、単純な PHP ファイルです
... 。必要最小限のスタブは、次のようになります。 <?php __HALT_COMPILER(); スタブには、少なくとも __HALT_COMPILER(); トークンが必要です。 典型的なスタブは、次のように読み込み機能を含んで ... います。 <?php Phar :: mapPhar (); include 'phar://myphar.phar/index.php' ; __HALT_COMPILER(); Phar スタブの内容には特に制限はありません。唯一の制約は、最後が __HALT_COMPILER(); でなければならないということ ...
-
https://man.mtool.work/php/8.3/phar.fileformat.stub.html
- Phar ファイルのスタブ 9150
- « Phar アーカイブの原料のうち、ファイル形式に依存しないもの Phar 形式と Tar 形式、Zip 形式の徹底比較 » PHP Manual phar って、tar や zip とは何が違うの? Phar ファイルのスタブ 検索 Phar ファイルのスタブ Phar のスタブは、単純な PHP ファイルです
... 。必要最小限のスタブは、次のようになります。 <?php __HALT_COMPILER(); スタブには、少なくとも __HALT_COMPILER(); トークンが必要です。 典型的なスタブは、次のように読み込み機能を含んで ... います。 <?php Phar :: mapPhar (); include 'phar://myphar.phar/index.php' ; __HALT_COMPILER(); Phar スタブの内容には特に制限はありません。唯一の制約は、最後が __HALT_COMPILER(); でなければならないということ ...
-
https://man.mtool.work/php/8.3/phar.fileformat.stub.html
- Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 8578
- « 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 ロ
... [ 'a.php' ] = '<?php var_dump("Hello");' ; $p -> setStub ( '<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/a.php' ; var_dump ( $p -> getStub ()); $p [ 'b.php' ] = '<?php var_du ... mp("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 ) { ech ... 上の例の出力は以下となります。 string(5) "Hello" string(82) "<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" string(5) "World" string(83) "<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILE ...
-
https://man.mtool.work/php/8.3/phar.setstub.html
- Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する 8516
- « 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 ロ
... [ 'a.php' ] = '<?php var_dump("Hello");' ; $p -> setStub ( '<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>' ); include 'phar://brandnewphar.phar/a.php' ; var_dump ( $p -> getStub ()); $p [ 'b.php' ] = '<?php var_du ... mp("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 ) { ech ... 上の例の出力は以下となります。 string(5) "Hello" string(82) "<?php var_dump("First"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILER(); ?>" string(5) "World" string(83) "<?php var_dump("Second"); Phar::mapPhar("brandnewphar.phar"); __HALT_COMPILE ...
-
https://man.mtool.work/php/8.3/phar.setstub.html
- Phar アーカイブの PHP ローダーあるいは起動スタブを返す 8438
- « 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 ローダー
... de 'phar://' . str_replace('_', '/', $class ); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?>" ); echo $p -> getStub (); ?> 上の例の出力は以下となります。 <?php __HALT_COMPILER(); ?> ==NEXT== <?php fun ... ude 'phar://' . str_replace('_', '/', $class); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?> 参考 Phar::setStub() - Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する Phar::createDefaultStub ...
-
https://man.mtool.work/php/8.3/phar.getstub.html
- Phar アーカイブの PHP ローダーあるいは起動スタブを返す 8438
- « 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 ローダー
... de 'phar://' . str_replace('_', '/', $class ); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?>" ); echo $p -> getStub (); ?> 上の例の出力は以下となります。 <?php __HALT_COMPILER(); ?> ==NEXT== <?php fun ... ude 'phar://' . str_replace('_', '/', $class); } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); ?> 参考 Phar::setStub() - Phar アーカイブの PHP ローダ (あるいは起動スタブ) を設定する Phar::createDefaultStub ...
-
https://man.mtool.work/php/8.3/phar.getstub.html
- Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディス... 8082
- « 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
... place('_', '/', \$class) . '.php'; } Phar::mapPhar('brandnewphar.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) { include 'phar://' . str_replace('_', '/', $class); } Phar::m ... apPhar('brandnewphar.phar'); include 'phar://brandnewphar.phar/startup.php'; __HALT_COMPILER();" 参考 Phar::startBuffering() - Phar の書き込み操作のバッファリングを開始するが、ディスク上の Phar オブジェクト ...
-
https://man.mtool.work/php/8.3/phar.stopbuffering.html
- Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディス... 8082
- « 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
... place('_', '/', \$class) . '.php'; } Phar::mapPhar('brandnewphar.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) { include 'phar://' . str_replace('_', '/', $class); } Phar::m ... apPhar('brandnewphar.phar'); include 'phar://brandnewphar.phar/startup.php'; __HALT_COMPILER();" 参考 Phar::startBuffering() - Phar の書き込み操作のバッファリングを開始するが、ディスク上の Phar オブジェクト ...
-
https://man.mtool.work/php/8.3/phar.stopbuffering.html