#19064 [Bgs]: syntax error with '('s
ID: 19064
Updated by: derick@php.net
Reported By: nery@astalavista.com
Status: Bogus
Bug Type: Compile Failure
Operating System: -
PHP Version: 4.2.1
New Comment:
From www.php.net/empty :
Note that this is meaningless when used on anything which isn't a
variable; i.e. empty (addslashes ($name)) has no meaning since it would
be checking whether something which isn't a variable is a variable with
a FALSE value.
$db->f("bla") is NOT a variable.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-08-23 05:36:08] nery@astalavista.com
it comes this error
Parse error: parse error, unexpected '(', expecting ')'
where as you can see there is no error!
ITS NOT A SUPPORT QUESTION! ITS A PARSE ERROR OF PHP!! DID YOU SEE
THAT!?
I am just trying to help
------------------------------------------------------------------------
[2002-08-23 05:32:41] cynic@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-08-23 05:25:16] nery@astalavista.com
if you try something like this
if(!empty($db->f("bla")))
php says there is an error of syntax
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19064&edit=1
Thread (6 messages)