Results of 1 - 10 of about 68 for require (0.003 sec.)
- get_included_files — include または require で読み込まれたファイルの名前を配列... 15175
- get_included_files (PHP 4, PHP 5, PHP 7, PHP 8) get_included_files — include または require で読み込まれたファイルの名前を配列として返す 説明 function get_included_files (): array この関数は、 include 、 include_once 、 require あるいは require
... ん。 例 例1 get_included_files() の例 <?php // このファイルは abc.php です include 'test1.php' ; include_once 'test2.php' ; require 'test3.php' ; require_once 'test4.php' ; $included_files = get_included_files (); foreach ( $included_files as $filename ) ... h/to/test1.php /path/to/test2.php /path/to/test3.php /path/to/test4.php 参考 include - include include_once - include_once require - require require_once - require_once get_required_files() - get_included_files のエイリアス 他のマニュアルの関連ページ Du ...
-
https://man.mtool.work/php/8.3/function.get-included-files.html
- Using the PHP Library for MongoDB (PHPLIB) | PHP 8.3 10935
- Using the PHP Library for MongoDB (PHPLIB) After the initial extension set-up, we will continue explaining how to get started with the corresponding userland library to write our first project. Installing the PHP Library with Composer The l
... tions for installing Composer on various platforms may be found on its website. Install the library by running: $ composer require mongodb/mongodb It will output something akin to: ./composer.json has been created Loading composer repositories with pack ... age information Updating dependencies (including require-dev) - Installing mongodb/mongodb (1.0.0) Downloading: 100% Writing lock file Generating autoload files Composer will crea ... .json , composer.lock , and a vendor directory that will contain the library and any other dependencies your project might require. Using the PHP Library In addition to managing your dependencies, Composer will also provide you with an autoloader (for t ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.library.html
- 実行時設定 | PHP 8.3 10311
- 実行時設定 php.ini の設定により動作が変化します。 ファイルシステムおよびストリームの設定オプション 名前 デフォルト 変更可能 変更履歴 phar.readonly "1" INI_ALL phar.require_hash "1" INI_ALL phar.cache_list "" INI_SYSTEM 以下に設定ディレクティ
... を php.ini で有効にした場合は、 スクリプト内でこれを "再度有効にする" ことはできますが、無効にすることはできません。 phar.require_hash bool このオプションを使用すると、署名つき (現在サポートしているのは MD5、SHA1、SHA256、SHA512、および OpenSSL) の Pha ... まない Phar アーカイブの処理はできません。 注意 : この設定は、セキュリティ上の理由により php.ini でしか解除できません。 phar.require_hash を php.ini で無効にした場合は、 ユーザーがスクリプト内で phar.require_hash の有効/無効を切りかえることができます。 ph ... ar.require_hash を php.ini で有効にした場合は、 スクリプト内でこれを "再度有効にする" ことはできますが、無効にすることはできません。 ...
-
https://man.mtool.work/php/8.3/phar.configuration.html
- require_once | PHP 8.3 9999
- require_once (PHP 4, PHP 5, PHP 7, PHP 8) require_once 式は require とほぼ同じ意味ですが、 ファイルがすでに読み込まれているかどうかを PHP がチェックするという点が異なります。 すでに読み込まれている場合はそのファイルを読み込みません。 _once
...
-
https://man.mtool.work/php/8.3/function.require-once.html
- 制御構造 | PHP 8.3 9176
- 制御構造 目次 はじめに if else elseif/else if 制御構造に関する別の構文 while do-while for foreach break continue switch match declare return require include require_once include_once goto throw try...catch finally 他のマニュアルの関連ページ
...
-
https://man.mtool.work/php/8.3/language.control-structures.html
- require | PHP 8.3 8665
- require (PHP 4, PHP 5, PHP 7, PHP 8) require は include とほぼ同じですが、失敗した場合に Error も発生する点が異なります(PHP 8.0.0 より前のバージョンでは、 E_COMPILE_ERROR が発生していました)。 一方 include の場合は、警告 ( E_WARNING ) を発す
...
-
https://man.mtool.work/php/8.3/function.require.html
- include | PHP 8.3 8453
- include (PHP 4, PHP 5, PHP 7, PHP 8) include 式は指定されたファイルを読み込み、評価します。 以下の記述内容は require にも当てはまります。 ファイルのインクルードは、指定されたパスから行います。パスを指定しない場合は、 include_path の設定を利
... トのディレクトリと現在の作業ディレクトリも探します。 include は、ファイルを見つけられない場合に E_WARNING を発行します。一方 require の場合は、同じ場合に E_ERROR を発行する点が異なります。 include と require は、 ファイルがアクセスできない場合、 最終的に ... 詳細は include_path のドキュメントを参照ください。 ファイルが読み込まれるとそのファイルに含まれるコードは、 include もしくは require が実行された 行の 変数スコープ を継承します。 呼び出し側の行で利用可能である全ての変数は、読み込まれたファイル内で利用可能 ... も参照ください。 注意 : これは、関数ではなく 言語構造のため、 可変関数 や 名前付き引数 を用いてコールすることはできません。 require , require_once , include_once , get_included_files() , readfile() , virtual() および include_path も参照ください。 他のマニ ...
-
https://man.mtool.work/php/8.3/function.include.html
- パーサートークンの一覧 | PHP 8.3 8353
- パーサートークンの一覧 PHP 言語の種々の部分は、内部的に トークン で表現されています。 不正なトークンのシーケンスが含まれるコードスニペットの場合、 Parse error: syntax error, unexpected token "==", expecting "(" in script.php on line 10." の
... プロパティフック (PHP 8.4.0 以降で利用可能) T_READONLY ( int ) readonly クラスとオブジェクト (PHP 8.1.0 以降で利用可能) T_REQUIRE ( int ) require require T_REQUIRE_ONCE ( int ) require_once require_once T_RETURN ( int ) return 値を返す T_SL ( int ) << ...
-
https://man.mtool.work/php/8.3/tokens.html
- 汚染された文字列をチェックする関数や文 | PHP 8.3 8141
- 汚染された文字列をチェックする関数や文 関数 / 文 対応するようになったバージョン 基本構文 eval 0.1.0 include/include_once 0.1.0 require/require_once 0.1.0 出力関数 echo 0.1.0 print 0.1.0 printf 0.1.0 file_put_contents 0.1.0 ファイルシステム関
...
-
https://man.mtool.work/php/8.3/taint.detail.taint.html
- 一般的なフィルタフラグ | PHP 8.3 7942
- 一般的なフィルタフラグ 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 FILTER_FLAG_NONE ( int ) フィルタしない。 FILTER_REQUIRE_SCALAR ( i
... nt ) フィルタの入力値がスカラーであることを要求するフラグ。 FILTER_REQUIRE_ARRAY ( int ) フィルタの入力値が配列であることを要求するフラグ。 FILTER_FORCE_ARRAY ( int ) 配列を操作するフィルタのために ...
-
https://man.mtool.work/php/8.3/filter.constants.flags.generic.html