Bug #16023 [Opn->Ana]: Parser.php:190 does assignment instead of equality

From: Date: Sun, 22 Mar 2009 01:24:19 +0000
Subject: Bug #16023 [Opn->Ana]: Parser.php:190 does assignment instead of equality
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-216@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=16023&edit=1 ID: 16023 Updated by: daniel.oconnor@gmail.com Reported By: luke at cronworks dot net Summary: Parser.php:190 does assignment instead of equality -Status: Open +Status: Analyzed Type: Bug Package: SQL_Parser Operating System: Ubuntu 8.10 Package Version: 0.5 PHP Version: 5.2.5 Roadmap Versions: New Comment: -Status: Open +Status: Analyzed Previous Comments: ------------------------------------------------------------------------ [2009-03-12 23:15:39] dufuz You can view the CVS code through http://cvs.php.net/viewvc.cgi/pear/SQL_Parser/Parser.php?view=log or do a anonymous checkout Looks like that line is no longer in the code because there seems to be some big refactoring going on. ------------------------------------------------------------------------ [2009-03-11 23:44:31] jlukescott Description: ------------ On Parser.php:190, the line: if ($this->token = 'ident') { should be: if ($this->token == 'ident') { I'm not sure what the effects are; I just noticed the bug when I was reading code. this might be a duplicate of 9553; I don't have CVS access though. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=16023&edit=1

« previous php.pear.bugs (#216) next »