Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Post Timeline

replaced http://ca1.php.net with https://www.php.net
Source Link

According to PHP empty() doc (http://ca1.php.net/empty https://www.php.net/empty):

Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

Instead, use trim($name) == false.

According to PHP empty() doc (http://ca1.php.net/empty):

Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

Instead, use trim($name) == false.

According to PHP empty() doc (https://www.php.net/empty):

Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

Instead, use trim($name) == false.

Source Link

According to PHP empty() doc (http://ca1.php.net/empty):

Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

Instead, use trim($name) == false.

lang-php

AltStyle によって変換されたページ (->オリジナル) /