PHP 4.0 Bug #4586 Updated: if (!empty($class_a->get('aa'))) { produces parse error
| From: | Bug Database | Date: | Tue, 30 May 2000 17:12:25 +0000 |
| Subject: | PHP 4.0 Bug #4586 Updated: if (!empty($class_a->get('aa'))) { produces parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19777@lists.php.net to get a copy of this message | ||
ID: 4586
Updated by: stas
Reported By: wints@hot.ee
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
You cannot use empty() on non-variable.
Use or $t_dtd->get('group_field') != 0
Full Bug description available at: http://bugs.php.net/version4/?id=4586