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

From: Date: Thu, 12 Mar 2009 23:15:39 +0000
Subject: Bug #16023 [Opn]: Parser.php:190 does assignment instead of equality
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-170@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: helgith@gmail.com Reported By: luke at cronworks dot net Summary: Parser.php:190 does assignment instead of equality Status: Open Type: Bug Package: SQL_Parser Operating System: Ubuntu 8.10 Package Version: 0.5 PHP Version: 5.2.5 Roadmap Versions: New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#170) next »