1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/pcntl: Remove bool type coercions in tests

This commit is contained in:
Gina Peter Banyard
2025-06-23 14:16:28 +02:00
parent b068bef45d
commit 8cd4f95ea3
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ pcntl
posix
--FILE--
<?php
pcntl_async_signals(1);
pcntl_async_signals(true);
pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });

View File

@@ -9,7 +9,7 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
--FILE--
<?php
pcntl_async_signals(1);
pcntl_async_signals(true);
pcntl_signal(SIGALRM, function($signo) {
throw new Exception("Alarm!");
});