0

Recently i was researching that topic, some of the article writers claimed that because of the php's oop and class systems are actually hacks and hooks and therefore php is a scripting language.

I was wondering how that reflects on performance side.

Is there any significant performance differences between arrays and objects ?

hakre
  • 193,403
  • 52
  • 435
  • 836
mirza
  • 5,685
  • 10
  • 43
  • 73

1 Answers1

1

If using php5 an object is slightly faster than an array but in most cases the difference is negligible

Here is a link to a performance test: http://aggregation.novaak.net/?q=node/227

Darwayne
  • 1,400
  • 14
  • 14