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