FraFu: Versteh die Welt nicht mehr: Konstanten in if

Beitrag lesen

Hallo!

Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in ... on line 57

In Zeile 57 ist die empty()-Funktion.

Das sagt die Doku zu empty():

Note:
empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

mfg
  frafu