1--TEST--
2pcntl_getpriority() - Basic behaviour
3--CREDITS--
4Er Galvão Abbott galvao@galvao.eti.br
5# TestFest 2017 PHPRS PHP UG 2017-10-29
6--SKIPIF--
7<?php
8if (!extension_loaded('pcntl')) {
9    die('skip - ext/pcntl not loaded');
10} else if (!function_exists('pcntl_getpriority')) {
11    die('skip - pcntl_getpriority doesn\'t exist');
12}
13?>
14--FILE--
15<?php
16var_dump(pcntl_getpriority());
17?>
18--EXPECTF--
19int(%d)
20