- print_r: documentation ( source)
<?php
/*
class helloWorld {
const ONE = 1;
public $array = array(
self::ONE => 'VALUE FIRST',
'VALUE SECOND',
'VALUE THIRD',
);
}
$hello = new helloWorld();
*/
$hello = array(
'ola',
'ole',
);
$hello[] = 'hugo';
print_r($hello);