Home > Backend Development > PHP Tutorial > require_once() 和require() 效率大吗?

require_once() 和require() 效率大吗?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:30:05
Original
1221 people have browsed it

require_once() 和require() 效率大吗?

回复内容:

require_once() 和require() 效率大吗?

require_once 和 require 的性能在各种条件下会有些许区别。
详情参照 再一次, 不要使用(include/require)_once

效率问题可参考文章评论。

无差别,只是require_one不会重复载入而已

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template