php5: arrays, stdClass and best practice

php5.2+ is all about objects and a maturing OOP language. Up until now the reliable method to structure an associative list of items is by using an array

CODE:
  1. $arA = new array();
  2. $arA['one'] = 1;
  3. $arA['two'] = array('one','two');
  4. $arA['three'] = 'three';