public function dump($name, &$value, bool $scalarReferences = false): void
  {
    $this->seen             = [];
    $this->scalarReferences = $scalarReferences;
    $this->gid              = uniqid((string)mt_rand(), true);

    $this->writer->start();

    $this->recursiveDump($value, $name);

    $this->writer->stop();
  }
public function dump($name, &$value, bool $scalarReferences = false): void
  {
    $this->seen             = [];
    $this->scalarReferences = $scalarReferences;
    $this->gid              = uniqid((string)mt_rand(), true);

    $this->writer->start();

    $this->recursiveDump($value, $name);

    $this->writer->stop();
  }
public function dump ( $ name , & $ value , bool $ scalarReferences = false ) : void { $ this -> seen = [ ] ; $ this -> scalarReferences = $ scalarReferences ; $ this -> gid = uniqid ( ( string ) mt_rand ( ) , true ) ; $ this -> writer -> start ( ) ; $ this -> recursiveDump ( $ value , $ name ) ; $ this -> writer -> stop ( ) ; }
Main function for dumping.

@param string|int|null $name             The name of the variable.
@param mixed           $value            Value to be dumped.
@param bool            $scalarReferences If true scalar references to values must be traced.

@api
@since 1.0.0
Main function for dumping .