1--TEST--
2getprotobynumber function errors test
3--CREDITS--
4edgarsandi - <edgar.r.sandi@gmail.com>
5--FILE--
6<?php
7	// empty protocol number
8	var_dump(getprotobynumber());
9
10	// invalid protocol number
11	var_dump(getprotobynumber(999));
12?>
13--EXPECTF--
14Warning: getprotobynumber() expects exactly 1 parameter, 0 given in %s on line %d
15NULL
16bool(false)
17