- var_dump: documentation ( source)
<?php
class T {
const STATUS_ACTIVE = 1;
const STATUS_INACTIVE = 2;
public $statuses = array(
self::STATUS_ACTIVE => 'Active',
self::STATUS_INACTIVE => 'Inactive',
);
}
var_dump(new T());