Doc #74676 [Nab]: Document unsupported extensions?

From: Date: Tue, 30 May 2017 21:44:42 +0000
Subject: Doc #74676 [Nab]: Document unsupported extensions?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14752@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74676&edit=1 ID: 74676 Updated by: requinix@php.net Reported by: ian at gumstix dot com Summary: Document unsupported extensions? Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Rule of thumb is that PHP shouldn't segfault due to a problem with userland code, but there are occasional exceptions (eg, some instances of infinite recursion). Your problem doesn't look like one that I recognize. Previous Comments: ------------------------------------------------------------------------ [2017-05-30 21:19:57] ian at gumstix dot com Thank you for replying so quickly! Is bug 74124 a bug in the PHP core, then? (Forgive my ignorance of PHP internals.) It seems to me that a segfault is a bug in PHP itself -- if there's a bug in my code, PHP should politely tell me. Is that true, or are there cases where a segfault is my (the PHP programmer's) responsibility? ------------------------------------------------------------------------ [2017-05-30 21:09:00] requinix@php.net 1. The ps changelog specifically mentions that 1.4.0 supports PHP 7 ("phpng") and no longer supports PHP 5. Even Linux distros are bundling ps-1.4.0 with their PHP 7 builds. 2. If ps didn't support PHP 7 at all then you wouldn't even be able to use the extension because PHP would have ignored it during startup. With a warning. I don't even see anything in your backtrace to suggest ps is at fault: the crash is happening while opcache is compiling a file during an autoload. ------------------------------------------------------------------------ [2017-05-30 20:29:22] ian at gumstix dot com Description: ------------ The Postscript (ps) extension does not work in PHP7 and never has: https://bugs.php.net/bug.php?id=74124 But you wouldn't know it from reading the manual: http://php.net/manual/en/book.ps.php As far as I can tell, this extension was never deprecated, but it clearly was not considered a blocking issue for the release of PHP7. How can I tell which PECL extensions are actually supported, and which (like ps) are effectively not? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74676&edit=1

« previous php.doc.bugs (#14752) next »