- print_r: documentation ( source)
<?php
class helloWorld {
const ONE = 1;
public $array = [
self::ONE => 'Eclipse',
'Sublime',
'PHPStrome',
];
}
$hello = new helloWorld();
print_r($hello);