1--TEST--
2pcntl_signal() - If handler is an int value different than SIG_DFL or SIG_IGN
3--EXTENSIONS--
4pcntl
5--FILE--
6<?php
7
8try {
9    pcntl_signal(SIGTERM, -1);
10} catch (Error $error) {
11    echo $error->getMessage();
12}
13
14?>
15--EXPECT--
16pcntl_signal(): Argument #2 ($handler) must be either SIG_DFL or SIG_IGN when an integer value is given
17