public function __construct($name, $byRef, $scope = self::SCOPE_GLOBAL, $extra = null) { parent::__construct($name); $this->byRef = (bool) $byRef; $this->scope = $scope; $this->extra = $extra; }