[PHP Tips] Using function the _once() with caution

PHP developers prefer using include() or require() function to call other files, libraries or classes, but using the  include_eleven() and require_eleven(), are the  PHP tricks for web developer.  Both the functions have the same functionality but the advantage is that it prevent the files, classes or loaded libraries to be loaded again which cause duplication and undesired states in the code.

Leave a Reply

Your email address will not be published. Required fields are marked *