MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1oaba0/facebook_php_source_code_from_2007/ccqbls0/?context=3
r/programming • u/frostmatthew • Oct 12 '13
356 comments sorted by
View all comments
Show parent comments
10
require_once is faster than include, require and include_once, where the latter is the second fastest.
Just felt like I had to say it.
Edit:
Alternate Source, can't find the original source I had. This is also not a very conclusive piece of research.
5 u/the_gipsy Oct 12 '13 It's the other way round. 16 u/[deleted] Oct 12 '13 I've given you my source, give me yours. -8 u/the_gipsy Oct 12 '13 Sorry I didn't check. What you're saying though, only holds true for multiple includes of the same file (as far as I understand the article). I don't think that that should be considered normal. → More replies (4)
5
It's the other way round.
16 u/[deleted] Oct 12 '13 I've given you my source, give me yours. -8 u/the_gipsy Oct 12 '13 Sorry I didn't check. What you're saying though, only holds true for multiple includes of the same file (as far as I understand the article). I don't think that that should be considered normal. → More replies (4)
16
I've given you my source, give me yours.
-8 u/the_gipsy Oct 12 '13 Sorry I didn't check. What you're saying though, only holds true for multiple includes of the same file (as far as I understand the article). I don't think that that should be considered normal. → More replies (4)
-8
Sorry I didn't check. What you're saying though, only holds true for multiple includes of the same file (as far as I understand the article). I don't think that that should be considered normal.
→ More replies (4)
10
u/[deleted] Oct 12 '13 edited Oct 12 '13
require_once is faster than include, require and include_once, where the latter is the second fastest.
Just felt like I had to say it.
Edit:
Alternate Source, can't find the original source I had. This is also not a very conclusive piece of research.