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:
-
$arA = new array();
-
$arA['one'] = 1;
-
$arA['two'] = array('one','two');
-
$arA['three'] = 'three';





Recent Comments