1--TEST--
2Test function posix_errno() by calling it with its expected arguments
3--SKIPIF--
4<?php
5        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
6?>
7--CREDITS--
8Morten Amundsen mor10am@gmail.com
9Francesco Fullone ff@ideato.it
10#PHPTestFest Cesena Italia on 2009-06-20
11--FILE--
12<?php
13
14echo "*** Test by calling method or function with more than expected arguments ***\n";
15
16// test without any error
17var_dump(posix_errno('bar'));
18
19?>
20--EXPECTF--
21*** Test by calling method or function with more than expected arguments ***
22
23Warning: posix_errno() expects exactly 0 parameters, 1 given in %s on line %d
24NULL
25