Preview: compat.php
Size: 248 B
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/wordfence/modules/login-security/classes/model/compat.php
<?php
namespace WordfenceLS;
class Model_Compat {
public static function hex2bin($string) { //Polyfill for PHP < 5.4
if (!is_string($string)) { return false; }
if (strlen($string) % 2 == 1) { return false; }
return pack('H*', $string);
}
}
Directory Contents
Dirs: 4 × Files: 12