Menu

#518 PHP Parser throws error with "if ($baz && $foo = bar())"

closed-fixed
nobody
None
5
2006-01-29
2005-11-28
scragz
No

if ($foo = bar()) {
// ...
}

I realize that it's kind of funky code, but it's
technically correct and can be useful.

Discussion

  • scragz

    scragz - 2005-11-28

    Logged In: YES
    user_id=775029

    Wait, that wasn't quite right. I was tryng to distill my
    real code sample but the sample above does work. It only
    seems to mess up when there's an && like this:

    if ($baz && $foo = bar())

     
  • scragz

    scragz - 2006-01-16
    • summary: PHP Parser throws error with "if ($foo = bar())" --> PHP Parser throws error with "if ($baz && $foo = bar())"
     
  • Matthieu Casanova

    • status: open --> closed-fixed
     
  • Matthieu Casanova

    Logged In: YES
    user_id=285591

    fixed in CVS

     

Log in to post a comment.