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--EXTENSIONS-- 8posix 9pcntl 10--FILE-- 11<?php 12echo "*** Test by calling function with pid error ***\n"; 13 14// Don't rely on PCNTL extension being around 15$SIGKILL = 9; 16 17posix_kill((2 ** 22) + 1, $SIGKILL); 18 19var_dump(posix_errno()); 20?> 21--EXPECT-- 22*** Test by calling function with pid error *** 23int(3) 24