Jump to content

and3k

New Members
  • Posts

    3
  • Joined

Profile Information

  • Gender
    Not Telling

and3k's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i'm loading every class via the __autoload()-feature of php, but sometimes i need a lot
  2. yeah i know thats a lot. till now i had no problems, but none of my projects have really high pageviews (not yet anyway). i wouldn't attempt to do this in php4, according to the php hp, php5 has highly increased speed due to the new zend core (or something like that) aren't there any benchmarks?
  3. Hi there, since PHP5 is out, i'm using oop very extensivly, so in some of my bigger projects i have more than 50 classes and i'm loading over 200 instances of them every pageview, so here my question: Is this making PHP very slow? For example, what is faster: <?php $instance=new DataManipulation("Data"); $instance->ManipulateValue(); $instance->echoValue(); ?> or <?php $value="Data"; $value=ManipulateValue($wert); echo $value; ?> As I understand it, in C++ making an instance of a class is nearly as fast as assigning a value to a variable? Is PHP as efficent als C++ oder not? greets, and3k
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.