In '$b=$a=5 ;', $a=5 is a valid expression, but it's not a statement by itself. '$b=$a=5;' however is a valid statement.
V '$b=$a=5 ;', $a=5 je veljaven izraz, ampak ni stavek sam po sebi. '$b=$a=5;' pa je veljaven stavek.