- var_export: documentation ( source)
<?php
class Test
{
const FIRST = 1;
protected static $array = array(
self::FIRST => 'first',
'second',
'third'
);
public function __construct()
{
var_export(self::$array);
}
}
$test = new Test();