Пример #1
0
 function __construct()
 {
     parent::__construct();
     $added = array('abstract' => true, 'boolean' => true, 'byte' => true, 'try' => true, 'catch' => true, 'class' => true, 'extends' => true, 'final' => true, 'finally' => true, 'implements' => true, 'import' => true, 'instanceof' => true, 'interface' => true, 'native' => true, 'package' => true, 'strctfp' => true, 'super' => true, 'synchronized' => true, 'new' => true, 'private' => true, 'protected' => true, 'public' => true, 'this' => true, 'throw' => true, 'transient' => true, 'true' => true, 'false' => true, 'null' => true);
     $this->reserved = array_merge($this->reserved, $added);
 }
Пример #2
0
 function __construct()
 {
     parent::__construct();
     $added = array('and' => true, 'and_eq' => true, 'bitand' => true, 'bitor' => true, 'bool' => true, 'catch' => true, 'class' => true, 'compl' => true, 'const_cast' => true, 'delete' => true, 'dynamic_cast' => true, 'explicit' => true, 'export' => true, 'false' => true, 'friend' => true, 'inline' => true, 'namespace' => true, 'new' => true, 'not' => true, 'not_eq' => true, 'operator' => true, 'or' => true, 'or_eq' => true, 'private' => true, 'protected' => true, 'public' => true, 'reinterpret_cast' => true, 'static_cast' => true, 'template' => true, 'this' => true, 'throw' => true, 'true' => true, 'try' => true, 'typeid' => true, 'typename' => true, 'using' => true, 'virtual' => true, 'xor' => true, 'xor_eq' => true);
     $this->reserved = array_merge($this->reserved, $added);
 }