Bug #76899 [NEW]: pcntl_async_signals not available in phpdbg
| From: | kaplun at protonmail dot com | Date: | Tue, 18 Sep 2018 09:04:35 +0000 |
| Subject: | Bug #76899 [NEW]: pcntl_async_signals not available in phpdbg | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-217106@lists.php.net to get a copy of this message | ||
From: kaplun at protonmail dot com
Operating system: CentOS 7
PHP version: 7.2.10
Package: phpdbg
Bug Type: Bug
Bug description:pcntl_async_signals not available in phpdbg
Description:
------------
pcntl_async_signals(), although available in the PHP interpreter is not
available under phpdbg.
Test script:
---------------
<?php
echo pcntl_async_signals($on=1);
echo pcntl_async_signals();
Expected result:
----------------
Running: phpdbg -qrr test.php
I expect it to output "1".
Actual result:
--------------
[Uncaught Error in /tmp/test.php on line 2]
Error: Call to undefined function pcntl_async_signals() in
/tmp/test.php:2
Stack trace:
#0 {main}
--
Edit bug report at https://bugs.php.net/bug.php?id=76899&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76899&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76899&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76899&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76899&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76899&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76899&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76899&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76899&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76899&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76899&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76899&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76899&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76899&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76899&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76899&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76899&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76899&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76899&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76899&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76899&r=mysqlcfg