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
  • 184,866
  • 48
  • 414
  • 792
mirza
  • 5,389
  • 10
  • 41
  • 72

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,360
  • 14
  • 14