Bug #70785 [Opn->Csd]: Infinite loop due to exception during identical comparison

From: Date: Mon, 26 Oct 2015 03:16:10 +0000
Subject: Bug #70785 [Opn->Csd]: Infinite loop due to exception during identical comparison
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196806@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70785&edit=1 ID: 70785 Updated by: laruence@php.net Reported by: nikic@php.net Summary: Infinite loop due to exception during identical comparison -Status: Open +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 7.0.0RC5 Block user comment: N Private report: N New Comment: Automatic comment on behalf of laruence@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=5767f2b64852fbf64fd5cf8ad3a017aa5057261a Log: Fixed bug #70785 (Infinite loop due to exception during identical comparison) Previous Comments: ------------------------------------------------------------------------ [2015-10-25 16:05:16] nikic@php.net Description: ------------ The condition for whether === can generate an exception doesn't account for undef variable warning during CV fetch. <?php set_error_handler(function($no, $msg) { throw new Exception($msg); }); if ($a === null) { throw Exception('Null'); } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70785&edit=1

« previous php.bugs (#196806) next »