I created a file containing patterns that are used on my system. I would like to know what is the difference in performance between calling the code by a include
or a constante
like this:
//código do incluir.php: <a href=""></a>
include "incluir.php";
define('_CONSTANT','<a href=""></a>');
Do you have any advantage in using both of them?
I ask this because I am in doubt if I use one or the other can affect the performance of my system, since I use this a lot to get standard codes