private function dumpFloat(float &$value, $name): void
  {
    if ($this->scalarReferences)
    {
      list($id, $ref) = $this->isReference($value);
    }
    else
    {
      $id  = null;
      $ref = null;
    }

    $this->writer->writeFloat($id, $ref, $value, $name);
  }
private function dumpFloat(float &$value, $name): void
  {
    if ($this->scalarReferences)
    {
      list($id, $ref) = $this->isReference($value);
    }
    else
    {
      $id  = null;
      $ref = null;
    }

    $this->writer->writeFloat($id, $ref, $value, $name);
  }
private function dumpFloat ( float & $ value , $ name ) : void { if ( $ this -> scalarReferences ) { list ( $ id , $ ref ) = $ this -> isReference ( $ value ) ; } else { $ id = null ; $ ref = null ; } $ this -> writer -> writeFloat ( $ id , $ ref , $ value , $ name ) ; }
Dumps a float.

@param float           $value The float.
@param string|int|null $name  The name of the variable.
Dumps a float .