Hi,

Suddenly have a quesiton came a cross in mind. Will the page performance slow if i include a lot of classes?

In my point of view, when we include a class, it will become reference file to that particular page. Even the class is unuse, shouldn't be much different in performance.

Any idea?

    If it is included its still part of the actual file it. So PHP will still go over the code however it just wont execute it.

      5 days later

      So, can i conclude as, it is not a performance issue, no matter how many include files(like 10-20) in 1 php page?

      Thanks
      Louis

        Write a Reply...