1--TEST-- 2Test function posix_errno() by calling it with its expected arguments 3--CREDITS-- 4Morten Amundsen mor10am@gmail.com 5Francesco Fullone ff@ideato.it 6#PHPTestFest Cesena Italia on 2009-06-20 7--SKIPIF-- 8<?php 9if(!extension_loaded("posix")) print "skip posix extension not loaded"; 10if(!extension_loaded("pcntl")) print "skip pcntl extension not loaded"; 11?> 12--FILE-- 13<?php 14echo "*** Test by calling function with pid error ***\n"; 15 16posix_kill((2 ** 22) + 1, SIGKILL); 17 18var_dump(posix_errno()); 19?> 20--EXPECT-- 21*** Test by calling function with pid error *** 22int(3) 23