--TEST-- pcntl_getpriority() - Wrong mode passed and also for non existing process id provided --EXTENSIONS-- pcntl posix --SKIPIF-- --FILE-- getMessage() . "\n"; } // Different behavior in MacOS than rest of operating systems pcntl_getpriority(-1, PRIO_PROCESS); ?> --EXPECTF-- pcntl_getpriority(): Argument #2 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS Warning: pcntl_getpriority(): Error %d: No process was located using the given parameters in %s