I have around 60 php pages application.I want to use php class, but i'm worried about the overhead it is gonna cost me as i have to include this class in all of my pages.
e.g
// In class_xyz.php
class xyz{
function my_exmple_func( ){
return abc;
}
}
//In page1.php
include "class_xyz.php";
$a= new xyz()
$b=$a->my_example_func();
is there any other way to aviod include files to all of the 60 php pages?what is the overhead of include files?