what is the need of 'require' when all one ever needs is 'require_once' in php? -



what is the need of 'require' when all one ever needs is 'require_once' in php? -

hi quite new php ,so pls forgive naive question. why 1 ever need utilize require when need require_once.it great if point me out examples need utilize require , not require_once

you may want include code more once.

navigation, multiple times (top , bottom of page). analytics code, once.

require faster since require 1 time has check file has not been included.

php

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -