- print_r: documentation ( source)
<?php
class helloWorld {
public $array = array(
'VALUE FIRST',
'VALUE SECOND',
'VALUE THIRD',
);
}
$hello = new helloWorld();
print_r($hello->array);