Function | Time (s) | Memory (b) | ||
---|---|---|---|---|
32Kb File | 1Mb File | 32Kb File | 1Mb File | |
file_get_contents | 0.00152 | 0.00564 | 52480 | 1067856 |
fpassthru | 0.00117 | 0.00184 | 20016 | 20032 |
fgets | 0.00195 | 0.07190 | 30760 | 30768 |
file | 0.00157 | 0.06464 | 87344 | 2185624 |
require_once | 0.00225 | 0.08065 | 67992 | 2067696 |
include | 0.00222 | 0.08202 | 67928 | 2067624 |
readfile | 0.00117 | 0.00191 | 19192 | 19208 |