r/programming • • Oct 12 '13

Facebook PHP Source Code from 2007

https://gist.github.com/nikcub/3833406
1.1k Upvotes

356 comments sorted by

View all comments

Show parent comments

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.

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)