並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 43件

新着順 人気順

requireの検索結果1 - 40 件 / 43件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

requireに関するエントリは43件あります。 Node.jssecurityRuby などが関連タグです。 人気エントリには 『require(ESM)とECMAScript仕様』などがあります。
  • require(ESM)とECMAScript仕様

    Meguro.es #27 @ oRo

      require(ESM)とECMAScript仕様
    • Node.js コアモジュールの import/require には `node` schemeがつけられる - from scratch

      Node.js アドベントカレンダーの 3 日目の記事です。空きを埋める形で始めました。 qiita.com www.codegrid.net CodeGrid でも書かせていただきましたが、 Node.js で ES Module / CommonJS を使ってコアライブラリのロードをする際、 node から始まる scheme を付けることが可能になっています。 nodejs.org // ESM import fs from "node:fs/promises"; // CJS const http = require("node:http"); これにはいくつかのメリットがあります。基本的につけておくことが望ましいです。 今回はメリットをいくつか紹介します。まだこれがデファクト・スタンダードになっている訳ではありませんが、これから付けてもらうように推奨していきたいと思います。 メリ

        Node.js コアモジュールの import/require には `node` schemeがつけられる - from scratch
      • Node.js の --require/--import オプションについて - mizdra's blog

        Node.js には --require=module と --import=module というオプションがあります。このオプションを使うと、エントリポイントとなるプログラムよりも前に、任意のモジュールを実行できます。 例えば以下のようなコマンドを実行すると、Node.js ランタイムはまず最初に preload.cjs を実行し、それから main.mjs を実行できます。 node --require ./preload.cjs main.mjs エントリポイントよりも前に、何かしらの処理を実行したい時に使うことを想定しています。 --require と --import の違い --import も --require と同じように、モジュールをプリロードするためのオプションです。両者の違いはプリロードするモジュールの読み込み方です。 --require は require(...

          Node.js の --require/--import オプションについて - mizdra's blog
        • require(esm) in Node.js

          Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it did not happen sooner before this pull request in 2024. This post expands on that comment a bit more. The opinions in this post are my own and reflect my perception of the ESM development in Node.js as

          • jsのimportとrequireの違い - Qiita

            はじめに jsで外部ファイルを読み込む際に、 importと書いてある場合とrequireと書いてある場合があります。 この2つの違いがよくわからなかったので確認しました。 モジュールとは importとrequireの違いを確認する前に、 前提知識となる「モジュール」について簡単に説明します。 ある程度の規模のjsアプリを作ると、 1つの大きなjsファイルにすべてのコードを書くのではなく 機能ごとにjsファイルを分けて管理したくなります。 そして、その機能ごとに分割したjsファイルを メインとなるjsファイルで必要に応じて読み込んで利用するイメージです。 この分割した機能ごとのjsファイルを「モジュール」と呼びます。 モジュールの読み込み方法 モジュールを読み込むための方法、仕様は 何種類かあり、 それぞれ書き方が違い、動く環境も違います。 そのモジュール読み込みの仕様の主要なものとして

              jsのimportとrequireの違い - Qiita
            • Zeitwerkとrequire_dependency - Money Forward Developers Blog

              こんにちは、ぽっけです。マネーフォワード クラウド会計Plusでエンジニアをしています。 Rails 6.0から、新しいAutoloaderとしてZeitwerkが導入されました。Rails 7.0からは旧来のAutoloader (Classicと呼びます)は使えなくなり、Zeitwerkが必須となりました。 Railsでソースコードを読み込むメソッドにrequire_dependencyがあります。require_dependencyは、Zeitwerkでは使う必要がなくなりました。 この記事では、require_dependencyがなぜZeitwerkで必要ないのかを深堀りしようと思います。 require_dependencyとは そもそもrequire_dependencyとは何でしょうか? このメソッドは、Rubyデフォルトのrequireやloadの代わりにRailsが提供

                Zeitwerkとrequire_dependency - Money Forward Developers Blog
              • Ruby 2.7では require 'stringio' が必要になりそう - pockestrap

                github.com 今まではrubygemsがrequire 'stringio'をしていたけど、高速化のためにlazy loadingするようにして起動時に読み込まないようになった模様。 結構な数のプログラムが壊れそう(実際壊れた)。1 $ ruby -v -e 'p require "stringio"' ruby 2.7.0dev (2019-07-31T01:22:47Z master e315f3a134) [x86_64-linux] true $ ruby -v -e 'p require "stringio"' ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux] false 該当のruby/rubyのコミットはこれ https://github.com/ruby/ruby/commit/6c5170634af2

                  Ruby 2.7では require 'stringio' が必要になりそう - pockestrap
                • import、export、require | TypeScript入門『サバイバルTypeScript』

                  実務でアプリケーションを作る場合、複数のJavaScriptファイルを組み合わせて、ひとつのアプリケーションを成すことが多いです。いわゆるモジュール指向の開発です。ここではJavaScriptとTypeScriptでのモジュールと、モジュール同士を組み合わせるためのimport、export、requireについて説明します。 スクリプトとモジュール​JavaScriptのファイルは大きく分けて、スクリプトとモジュールに分類されます。スクリプトは普通のJavaScriptファイルです。

                    import、export、require | TypeScript入門『サバイバルTypeScript』
                  • Google Warns Developers that All New Android Apps Require Three Days for Approval

                    In conversation with Google Play Store developer support today, they confirmed to me that all new Android apps now require at least three days for approval. When releasing today’s newest game, Psy High 2: High Summer, our app was greeted with a warning banner, saying, “To help better protect our users, we’ll take more time to thoroughly review your app. Learn More” In a chat with Google support, t

                      Google Warns Developers that All New Android Apps Require Three Days for Approval
                    • 週刊Railsウォッチ(20200629前編)RSpecをメンテしやすくする9つのコツ、application.jsのrequireをimportに置き換え、HTTP 308 Permanent Redirectとはほか|TechRacho by BPS株式会社

                      2020.06.29 週刊Railsウォッチ(20200629前編)RSpecをメンテしやすくする9つのコツ、application.jsのrequireをimportに置き換え、HTTP 308 Permanent Redirectとはほか こんにちは、hachi8833です。ニュースウォッチ9で富嶽のニュース見ました。 富岳ってネーミングは要するに富岳100京という駄洒落なので目標性能がわかりやすいw — 岡田哲哉 (@t_okada) June 22, 2020 つっつきボイス:「富嶽、特別価格で買えるらしいっすよ↓」「マジで?」「おひとつ包んでくださいな、みたいに?」 参考: 【やじうまPC Watch】世界一の「富岳」と同じA64FX環境をお手元に! 4,155,300円で - PC Watch 「ご自宅に2ノード単位で置けるそうです」「いちじゅうひゃくせん...400万とか書い

                        週刊Railsウォッチ(20200629前編)RSpecをメンテしやすくする9つのコツ、application.jsのrequireをimportに置き換え、HTTP 308 Permanent Redirectとはほか|TechRacho by BPS株式会社
                      • GitHub - GoogleCloudPlatform/require-so-slow: `require`s taking too much time? Profile 'em.

                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                          GitHub - GoogleCloudPlatform/require-so-slow: `require`s taking too much time? Profile 'em.
                        • ruby.wasmでrequire_relativeを使えるようにしたい - Qiita

                          背景 ruby.wasmというRubyのランタイムをWebAsssemblyにコンパイルした実行環境があります。 これを使うとブラウザでRubyスクリプトを実行出来ます。 実際にいくつかのアプリケーションが作られ、次のページで公開されています。 具体的にブラウザでRubyスクリプトを動かすには、たとえば、次のようにscriptタグにインラインでRubyスクリプトを記述します。 <html> <script src="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.5.0/dist/browser.script.iife.js"></script> <script type="text/ruby"> puts "Hello, world!" </script> </html>

                            ruby.wasmでrequire_relativeを使えるようにしたい - Qiita
                          • Vite だと require() が使えないよ〜

                            Vite だと require() が使えないよ〜 2022.01.15 皆様はすでにプロジェクトに Vite は導入されていらっしゃいますでしょうか?私はできていません。 Vite はフロントエンドのビルディングツールであり、従来の Webpack 等と比較して高速に動作するといった特徴があります。Vue.js を開発した Evan You 氏によって開発ツールではありますが Vue.js に限らず React や Svelte にも対応しています。 皆様はすでにプロジェクトに Vite は導入されていらっしゃいますでしょうか?私はできていません。 Vite はフロントエンドのビルディングツールであり、従来の Webpack などと比較して高速に動作するといった特徴があります。Vue.js を開発した Evan You 氏によって開発ツールではありますが Vue.js に限らず Reac

                              Vite だと require() が使えないよ〜
                            • Laan Labs on Twitter: "Made a simple LIDAR 3d scanner for iPad Pro. Couldn't find any apps that don't require cloud / signup / $ to get a… https://t.co/TSHRzIrHRo"

                              Made a simple LIDAR 3d scanner for iPad Pro. Couldn't find any apps that don't require cloud / signup / $ to get a… https://t.co/TSHRzIrHRo

                                Laan Labs on Twitter: "Made a simple LIDAR 3d scanner for iPad Pro. Couldn't find any apps that don't require cloud / signup / $ to get a… https://t.co/TSHRzIrHRo"
                              • Steven Pemberton on Twitter: "CSS co-designer here. !important was added for one reason only: laws in the US that require certain text to be in… https://t.co/SolmYdXZJF"

                                CSS co-designer here. !important was added for one reason only: laws in the US that require certain text to be in… https://t.co/SolmYdXZJF

                                  Steven Pemberton on Twitter: "CSS co-designer here. !important was added for one reason only: laws in the US that require certain text to be in… https://t.co/SolmYdXZJF"
                                • lib: add require('🦕') by bnoordhuis · Pull Request #35478 · nodejs/node

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    lib: add require('🦕') by bnoordhuis · Pull Request #35478 · nodejs/node
                                  • pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

                                    I am using Python 3.6. When I try to install "modules" using pip3, I face this issue: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

                                      pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
                                    • online pharmacies that don t require a prescription. Buy cod pay - OTS News forum

                                      №1 US Reliable Pharmacy - Buy cod pay -- Click here formore info - online pharmacies that don t require a prescription - Quality and pharmaceutical dosage. - Fast delivery guaranteed. - 100% legal products. - Bonus pills and big discounts for every order - Various payment methods: MasterCard / Visa / AMEX / PayPal / BitCoin - Our prices are 70% less than your local pharmacy - Fast delivery and com

                                      • Node.js — OpenSSL security releases require Node.js security releases

                                        (Update 18-Mar-2022) Security releases available Updates are now available for v17.x, v16.x, v14.x, and v12.x Node.js release lines to incorporate upstream patches from OpenSSL. Update to OpenSSL 3.0.2n and 1.1.1n, (High) (CVE-2022-0778) Infinite loop in BN_mod_sqrt() reachable when parsing certificates. More details are available at https://www.openssl.org/news/secadv/20220315.txt Impacts: All ve

                                          Node.js — OpenSSL security releases require Node.js security releases
                                        • node.js の require と import について調べなおす - Qiita

                                          node.js の require(CommonJS) と import(ESModule) について、理解が曖昧だったため、調べ直してみました。 ※2022年2月の 最新バージョン v17.6.0 のドキュメントをもとに記述しています。あらかじめご了承ください。 require と import の違い 簡単にいうと、nodeモジュールの読み込み形式の違い。 require は 「CommonJS」 形式によるモジュールの読み込み方法。 import は 「ECMAScript」 形式によるモジュールの読み込み方法。 requireを定めたCommonJSは 2009年に始まったプロジェクト で、歴史が長い。nodeの公式ドキュメントを見ると、2011年の記事に利用方法の記載が行われている。 importによるモジュール読み込みが定義されたのは ES2015(ES6) から。 このため、

                                            node.js の require と import について調べなおす - Qiita
                                          • 必要な PHP拡張/パッケージをCIで検出し、インストール漏れエラーを防ぐ。 GitHub Actions と composer-require-checker で - OTOBANK Engineering Blog

                                            composer での require と require-dev キー PHPで広く使われている依存性マネージャの composer には、昨今の他の言語で用いられているツール同様に、依存性を設定するキーとして require と require-dev が存在します。 このキー欄にはそれぞれプロジェクトが依存する、PHPのバージョン・個々のPHP拡張・ベンダーパッケージとそのバージョン が指定できます。 普段PHPを利用する開発者のみなさんは、以下の通り依存性の追加コマンドを追加されてるかと思います。 composer require monolog/monolog # ロガーとしてmonologが必要 composer require --dev phpunit/phpunit # 開発時にテイスティングツールとしてPHPUnitが必要 require-dev の特徴として、 com

                                              必要な PHP拡張/パッケージをCIで検出し、インストール漏れエラーを防ぐ。 GitHub Actions と composer-require-checker で - OTOBANK Engineering Blog
                                            • Running an eBPF program may require lifting the kernel lockdown

                                              Running an eBPF program may require lifting the kernel lockdown Update Sep 28: discussion on Hacker News Update Sep 30: kernel lockdown merged into mainline kernel A couple of days ago I wanted to try out the hot eBPF things using the BPF Compiler Collection (BCC) on my Fedora 30 desktop system, with Linux kernel 5.2.15. I could not load eBPF programs into the kernel: strace revealed that the bpf(

                                                Running an eBPF program may require lifting the kernel lockdown
                                              • The difference between "require(x)" and "import x"

                                                I've just started working on a small node project that will interface with a MongoDB. However, I cannot seem to get the relevant node modules to import correctly, even though I have installed them correctly via npm. For example, the following code throws an error, telling me that "express has no default export": import express from "express"; However, this code works: const express = require("expr

                                                  The difference between "require(x)" and "import x"
                                                • pp は require 無しで使える - Qiita

                                                  pp とは pen-pineapple のことではない。 Ruby のメソッドで,ややこしいオブジェクト1もいい感じに表示してくれるもの。 用途は p メソッドと同じだが,それよりもっと分かりやすくきれいに表示してくれることになっている。メソッド名は pretty print から。 p と pp でどう違うかはよく知らないけど,たとえば要素数が多いハッシュを表示させると,後者では改行を入れてくれるようだ(小さいハッシュだと変わらない)。 p "A".upto("K").with_index.to_h # => {"A"=>0, "B"=>1, "C"=>2, "D"=>3, "E"=>4, "F"=>5, "G"=>6, "H"=>7, "I"=>8, "J"=>9, "K"=>10} pp "A".upto("K").with_index.to_h # => {"A"=>0, # "B

                                                    pp は require 無しで使える - Qiita
                                                  • online pharmacies that don t require a prescription. Pharmacy Brand ) - Furums

                                                    It is currently December 21st, 2020, 7:27 pm All times are UTC-05:00 №1 US Reliable Pharmacy - Pharmacy Brand -- Click here for more info - online pharmacies that don t require a prescription - Quality and pharmaceutical dosage. - Fast delivery guaranteed. - 100% legal products. - Bonus pills and big discounts for every order - Various payment methods: MasterCard / Visa / AMEX / PayPal / BitCoin -

                                                    • Node.js — OpenSSL security releases do not require Node.js security releases

                                                      OpenSSL security releases do not require Node.js security releases Update The OpenSSL project has released a description of the issue fixed in the OpenSSL 1.1.1g update. It only affects a function which is not called by Node.js (or its dependencies), and as such, does not affect Node.js. No Node.js security releases are required. For more information, see the OpenSSL announcement. The previous Nod

                                                        Node.js — OpenSSL security releases do not require Node.js security releases
                                                      • ts-nodeを使ってnode –requireする方法 | DevelopersIO

                                                        吉川@広島です。 アプリケーションの可変の設定値を環境変数で管理している場合、ローカル開発時に環境変数をセットする方法は 端末自体に環境変数をセットする アプリケーションをDockerコンテナ上で動かし、その中に環境変数をセットする direnvを利用する dotenvライブラリを利用する のような選択肢があります。個人的にはdotenvを利用するのが楽と感じており、こちらを採用することが多いです。 ただ、開発時にしか利用しないdotenvを本番ソースに含みたくないという場合があるかと思います。このような場合は、nodeコマンドの--requireオプションを利用することでスマートに実現できるようです。 プログラム内でdotenvを読み込むのをやめた話 | WEB EGG # dotenvロードを実行してからmain.jsを実行 node --require dotenv/config m

                                                          ts-nodeを使ってnode –requireする方法 | DevelopersIO
                                                        • India to require cybersecurity incident reporting within six hours

                                                          HomeNewsSecurityIndia to require cybersecurity incident reporting within six hours The Indian government has issued new directives requiring organizations to report cybersecurity incidents to CERT-IN within six hours, even if those incidents are port or vulnerability scans of computer systems. This requirement was promoted by India's Computer Emergency Response Team (CERT-In), who states it has id

                                                            India to require cybersecurity incident reporting within six hours
                                                          • Node.js が require() で検索するパスのまとめ | まくまくNode.jsノート

                                                            require() によって Node.js がどのようにロードするモジュールを検索するかは、Node.js の Modules のドキュメント に詳しく説明されていますが、若干複雑なのでここでまとめておきます。 require の使い分け require でモジュールをロードするとき、多くは下記の 3 パターンのロード方法に分類できます。 // コアモジュール、あるいは node_modules にインストールしたパッケージのロード const crypto = require('crypto'); // ローカルモジュールのロード const myLocalModule = require('./path/to/myLocalModule'); // JSON ファイルのロード const jsonData = require('./path/to/data.json'); 簡単にまと

                                                              Node.js が require() で検索するパスのまとめ | まくまくNode.jsノート
                                                            • GitHub - argilla-io/argilla: Argilla is a collaboration platform for AI engineers and domain experts that require high-quality outputs, full data ownership, and overall efficiency.

                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                GitHub - argilla-io/argilla: Argilla is a collaboration platform for AI engineers and domain experts that require high-quality outputs, full data ownership, and overall efficiency.
                                                              • Require PRs be in a repo with hacktoberfest topic and be accepted by MattIPv4 · Pull Request #596 · Hacktoberfest/hacktoberfest-2020

                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                  Require PRs be in a repo with hacktoberfest topic and be accepted by MattIPv4 · Pull Request #596 · Hacktoberfest/hacktoberfest-2020
                                                                • does propecia require a prescription. Order First Class Shipping Online. ) - Field and Stream Questions and Answers

                                                                  №1 US Reliable Pharmacy - Order First Class Shipping Online -- Click here for more info - does propecia require a prescription - Quality and pharmaceutical dosage. - Fast delivery guaranteed. - 100% legal products. - Bonus pills and big discounts for every order - Our prices are 70% less than your local pharmacy - Various payment methods: MasterCard / Visa / AMEX / PayPal / BitCoin - Fast delivery

                                                                  • Top-500 npm package maintainers now require 2FA

                                                                    May 31, 2022 Two-Factored Authentication (2FA) is now enforced for maintainers of the top-500 packages, by dependents, on the npm registry. To learn more about configuring 2FA, see Configuring two-factor authentication. To learn more about 2FA in general, see About two-factor authentication. For questions and comments, open a discussion in our feedback repository. GitHub will now verify Git commit

                                                                      Top-500 npm package maintainers now require 2FA
                                                                    • GitHub - fiatjaf/awesome-loginless: an awesome list of internet services that don't require logins or registrations

                                                                      patchbay.pub - An elegant kind of pubsub platform that enables you to do notifications from one machine to another, execute custom services when a notification is received, receiving webhooks on a local machine, making a chat app, a job queue, hosting webpages, sharing files. dfeed - An accountless feed reader. JSONBIN.io and jsonbox.io are places to save, update and query any kind of JSON data, t

                                                                        GitHub - fiatjaf/awesome-loginless: an awesome list of internet services that don't require logins or registrations
                                                                      • Patrick Wardle on Twitter: "In Big Sur Apple decided to exempt many of its apps from being routed thru the frameworks they now require 3rd-part… https://t.co/SWsifPIlzU"

                                                                        In Big Sur Apple decided to exempt many of its apps from being routed thru the frameworks they now require 3rd-part… https://t.co/SWsifPIlzU

                                                                          Patrick Wardle on Twitter: "In Big Sur Apple decided to exempt many of its apps from being routed thru the frameworks they now require 3rd-part… https://t.co/SWsifPIlzU"
                                                                        • 【JavaScript入門】初心者がrequireの使い方で迷った時に読むまとめ! | 侍エンジニアブログ

                                                                          こんにちは、ライターのマサトです! 今回は、JavaScriptファイルを読み込むことができる「require」について学習をしていきます! サーバー側とフロント側で利用方法が異なるので混乱しがちですが、基本的な考え方は同じなのでしっかりと理解しておきましょう。この記事では、 「require」とは? まずは、「require」について基本的な知識から見ていきましょう!「require」は、一般的にモジュール化されたJavaScriptファイルを読み込むために用いられます。 通常、JavaScriptのライブラリを読み込む場合は「scriptタグ」を使ってHTMLに記述しますよね? しかし、例えばNode.jsのようにサーバーサイドでJavaScript単体を実行する場合はscriptタグが使えません。 そこで、JavaScriptファイルをモジュール化しておいてrequireから読み込ん

                                                                            【JavaScript入門】初心者がrequireの使い方で迷った時に読むまとめ! | 侍エンジニアブログ
                                                                          • Apache2.4 のRequireディレクティブでアクセス制御を行う - 闘うITエンジニアの覚え書き

                                                                            2024-02-04 Goでリフレクション 他のdocker-compose へのネットワーク接続 2024-01-09 Grafanaパネルプラグイン開発(create-plugin版) Grafanaプラグイン開発(grafana/toolkit版) 2023-09-23 Jupyter Lab に他言語カーネルインストール 2023-09-19 Rustの基礎 Rustのインストール Rust 2022-11-01 MacBook(M1チップ) でOracleのdockerイメージ作成 2022-02-04 Grafanaバックエンドデータソースプラグイン開発 2021-02-11 dockerのnginxのSSL証明書の自動更新 2021-01-17 GoでExcelを読む 2021-01-05 GoでAzure AAD認証 2020-12-16 FrontPage 2020-12

                                                                            • Require pull requests without requiring reviews

                                                                              November 10, 2021 You can now require that all changes to a protected branch are made using a pull request, but without requiring reviews. This can be useful when you want to use pull requests for tracking purposes or to simplify your continuous integration (CI) configuration, but don't want to gate merging on review. Previously, you could create a branch protection rule that required pull request

                                                                                Require pull requests without requiring reviews
                                                                              • 解決!dockerでイメージをpullしたらdocker: Error response from daemon: pull access denied for repository does not exist or may require ‘docker login’

                                                                                HOME覚えたこと解決!dockerでイメージをpullしたらdocker: Error response from daemon: pull access denied for repository does not exist or may require 'docker login' dockerのお勉強中です。 docker hubからイメージを取得しようとしたところ下記エラーがでました。 docker: Error response from daemon: pull access denied for dcker/whalesay, repository does not exist or may require ‘docker login’. See ‘docker run –help’. docker for macではログインできているし、なんでだろー?と思っていたら ど

                                                                                  解決!dockerでイメージをpullしたらdocker: Error response from daemon: pull access denied for repository does not exist or may require ‘docker login’
                                                                                • PHPのinclude文とrequire文の違い

                                                                                  ファイル読み込み失敗時の挙動が異なる include文とrequire文の違いは、「ファイル読み込み失敗したときにエラーで終了するか警告で継続するか」という点です。 どちらも対象ファイルを読み込みますが、この時ファイルが存在しない、関数で構文エラーなどが起こった場合、それぞれ以下のような挙動となります。 require:致命的なエラー(Fatal)となり処理を停止 include:警告(Warning)となり処理は継続 includeとrequireどちらのが良いか どちらが良いかは、実装する内容によって適切な対応が異なると思います。以下に使い分けの例を挙げてみます。 例:コア部分や後の処理に影響する場合はrequire 例えば、バッチ処理など致命傷なエラーにより後続処理の影響が発生する場合には、処理を中断させたいのでrequireを使用します。 例:画面処理などの場合はinclude 画

                                                                                  新着記事