Пример #1
0
 /**
  * Creates a variable with given type and no value
  * 
  * @param string $file the file of the def
  * @param int $line the line of the def
  * @param int $type the type
  * @param string $varname optionally, the variable-name
  * @return PC_Obj_Variable the variable
  */
 public static function create_type($file, $line, $type, $varname = '')
 {
     return new self($file, $line, $varname, PC_Obj_MultiType::create_type($type));
 }