<?php class ERight extends SplEnum { const USER = 'user'; const STAFF = 'staff'; } var_dump( new ERight( ERight::User ) );
You have javascript disabled. You will not be able to edit any code.