getprotobynumber_basic.phpt 174 B

12345678910
  1. --TEST--
  2. getprotobynumber function basic test
  3. --CREDITS--
  4. edgarsandi - <edgar.r.sandi@gmail.com>
  5. --FILE--
  6. <?php
  7. var_dump(getprotobynumber(6));
  8. ?>
  9. --EXPECT--
  10. string(3) "tcp"