PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php echo dechex(741427361).PHP_EOL; echo md5(741427361).PHP_EOL; echo hexdec('2c3148a1').PHP_EOL; $strings = array('1000000000', '3b9aca00', 'a4bcaee7d57e19735590b480feaebddb'); foreach ($strings as $testcase) { if (ctype_xdigit($testcase)) { echo "The string $testcase consists of all hexadecimal digits.\n"; } else { echo "The string $testcase does not consist of all hexadecimal digits.\n"; } }
Show:  
Copy Clear