public function supportedAlgorithms() { $a = MessageDigest::supportedAlgorithms(); $this->assertTrue(is_array($a), 'Expected an array but have ' . \xp::typeOf($a)); }
public function supported_algorithms() { $this->assertInstanceOf('string[]', MessageDigest::supportedAlgorithms()); }