プリミティブ型のポイントを取得できません===:!==
$a === $b TRUE if $a is equal to $b, and they are of the same type.
$a !== $b TRUE if $a is not equal to $b, or they are not of the same type.
$request->getMethod()がGETor POST(as string) を$form->isValid()返し、ブール値のtrueorを返すと仮定するとfalse、次のコード:
if('POST' === $request->getMethod() || (false === $form->isValid())) :
endif;
この短いものに関しては意味があります:
if('POST' == $request->getMethod() || !$form->isValid()) :
endif;