require_once في PHP
< PHP(بالتحويل من PHP/Control Structures/require-once)
اذهب إلى التنقل
اذهب إلى البحث
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
(PHP 4, PHP 5, PHP 7)
عبارة require_once
مطابقة للعبارة require
باستثناء أن PHP ستتحقق مما إذا كان الملف مضمّنًا أم لا، وذلك لتجنّب تضمينه (require) مرة أخرى.
راجع توثيق include_once
للمزيد من المعلومات حول طريقة عمل _once، والفرق بينها وبين الدوال التي لا تلحق بها هذه اللاحقة.