ID:               28243
 Updated by:       [EMAIL PROTECTED]
 Reported By:      esflightsim at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      5.0.0RC2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

>From the manual:

isset�--�Determine whether a variable is set



Previous Comments:
------------------------------------------------------------------------

[2004-05-01 16:39:35] esflightsim at hotmail dot com

Description:
------------
When I use isset() with a constant, it returns a strange
parse error

Reproduce code:
---------------
<?php
// No direct access
if(isset(MAIN_PAGE))
{


Expected result:
----------------
Parse error: parse error, unexpected 'T_CONSTANT' expecting T_VAR in
/home/eirik/public_html/fspage/include1.php on line 3

Actual result:
--------------
Parse error: parse error, unexpected ')', expecting
T_PAAMAYIM_NEKUDOTAYIM in /home/eirik/public_html/fspage/include1.php
on line 3


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28243&edit=1

Reply via email to