Bug #78239 [Ver->Csd]: Deprecation notice during string conversion converted to exception hangs

From: Date: Wed, 03 Jul 2019 09:00:31 +0000
Subject: Bug #78239 [Ver->Csd]: Deprecation notice during string conversion converted to exception hangs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221605@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78239&edit=1 ID: 78239 Updated by: nikic@php.net Reported by: cxlblm at gmail dot com Summary: Deprecation notice during string conversion converted to exception hangs -Status: Verified +Status: Closed Type: Bug Package: Reflection related Operating System: Linux 788f0b0a7ad1 4.9.125-linux PHP Version: 7.4.0alpha2 Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=2bf880db2c624a32f130e0da309b22dcf782609d Log: Fixed bug #78239 Previous Comments: ------------------------------------------------------------------------ [2019-07-03 08:42:51] nikic@php.net Confirming hang with the ?: "" at the end. ------------------------------------------------------------------------ [2019-07-03 08:35:27] cmb@php.net Thanks! This is indeed unexpected. I cannot reproduce, though. ------------------------------------------------------------------------ [2019-07-03 08:13:03] cxlblm at gmail dot com Please see this url: https://3v4l.org/7UK9C error: Process exited with code 137. ------------------------------------------------------------------------ [2019-07-03 07:54:15] cmb@php.net As of PHP 7.4.0, ReflectionType::__toString() generates a deprecation notice[1], which is caught by your error handler. This is expected behavior. If you do not get a similar output as posted by nikic@php.net, please re-open this ticket, and post the output you have got. Thanks. [1] <https://github.com/php/php-src/blob/6ab04a6eef0750ea2d4365be7f9bcfd9caa33449/UPGRADING#L345-L349> ------------------------------------------------------------------------ [2019-07-02 13:17:02] cxlblm at gmail dot com Sorry, My english is terrible. Above code will worked with Exception, but now blocked! ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78239 -- Edit this bug report at https://bugs.php.net/bug.php?id=78239&edit=1

« previous php.bugs (#221605) next »