You are here

public function ParagonIE_Sodium_Core32_Int32::__toString in Automatic Updates 8

Same name and namespace in other branches
  1. 7 vendor/paragonie/sodium_compat/src/Core32/Int32.php \ParagonIE_Sodium_Core32_Int32::__toString()

Return value

string

File

vendor/paragonie/sodium_compat/src/Core32/Int32.php, line 862

Class

ParagonIE_Sodium_Core32_Int32
Class ParagonIE_Sodium_Core32_Int32

Code

public function __toString() {
  try {
    return $this
      ->toString();
  } catch (TypeError $ex) {

    // PHP engine can't handle exceptions from __toString()
    return '';
  }
}