PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/2.0/Tests/Math/hexdec.php

#
PHP | 11 lines | 8 code | 2 blank | 1 comment | 0 complexity | 341aebfe9c01130f96d1a9722cfa2381 MD5 | raw file
Possible License(s): CPL-1.0, GPL-2.0, CC-BY-SA-3.0, MPL-2.0-no-copyleft-exception, Apache-2.0
  1. [expect php]
  2. [file]
  3. <?php
  4. print(hexdec("See"));
  5. print(hexdec("ee"));
  6. // both print "int(238)"
  7. print(hexdec("that")); // print "int(10)"
  8. print(hexdec("a0")); // print "int(160)"
  9. ?>