Bug #68185 [Csd->Fbk]: 'PHP Fatal error: Inconsistent insteadof definition.' - incorrectly triggered

From: Date: Fri, 21 Nov 2014 15:22:24 +0000
Subject: Bug #68185 [Csd->Fbk]: 'PHP Fatal error: Inconsistent insteadof definition.' - incorrectly triggered
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188731@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68185&edit=1 ID: 68185 Updated by: jpauli@php.net Reported by: marc at dotfive dot co dot uk Summary: 'PHP Fatal error: Inconsistent insteadof definition.' - incorrectly triggered -Status: Closed +Status: Feedback Type: Bug Package: Class/Object related Operating System: Debian Wheezy/Jessie PHP Version: 5.6.1 Assigned To: aharvey Block user comment: N Private report: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.5-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2014-11-21 15:07:57] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=cd3b46f28af49e5eaaa687d5d186e641ce147853 Log: Fix #68185 - Inconsistent insteadof definition ------------------------------------------------------------------------ [2014-11-21 15:07:55] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=af3a42022b34cd595d3231a845a7d8562f4a3523 Log: Fix #68185 - Inconsistent insteadof definition ------------------------------------------------------------------------ [2014-11-21 15:07:28] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=cd3b46f28af49e5eaaa687d5d186e641ce147853 Log: Fix #68185 - Inconsistent insteadof definition ------------------------------------------------------------------------ [2014-11-21 15:06:56] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=cd3b46f28af49e5eaaa687d5d186e641ce147853 Log: Fix #68185 - Inconsistent insteadof definition ------------------------------------------------------------------------ [2014-10-29 13:43:52] jpauli@php.net This effectively fixes it. The fact that it got random part is true. Having i instead of j in the loop does add a very different meaning to the code. Depending on random, you effectively can hit this bug, this is why having a test case for it is very hard. Anyway, this patch fixes the behavior : https://github.com/jpauli/php-src/compare/68185 ------------------------------------------------------------------------ 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=68185 -- Edit this bug report at https://bugs.php.net/bug.php?id=68185&edit=1

« previous php.bugs (#188731) next »