From: [EMAIL PROTECTED]
Operating system: Windows NT 5
PHP version: 4.2.3
PHP Bug Type: Variables related
Bug description: isset(eval("\$var".$n.";")) ===>> CRASH!!!
In this example, i�m triying to recover an indeterminate number of vars
from a form with the code below. The type of vars is like this: $var1,
$var2, $var3, ... but the succesion can be incomplete like this $var1,
$var5, $var6, ...
for ($n=0; n<=10; $n++) {
if (isset(eval("\$var".$n.";")) {
[...]
}
}
and the error message is:
Parse error: parse error, unexpected T_EVAL, expecting T_VARIABLE or '$'
in d:\inetpub\wwwroot\administracion\val_empextdb.php on line 14
Thanks.
--
Edit bug report at http://bugs.php.net/?id=20454&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20454&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20454&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20454&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20454&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20454&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20454&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20454&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20454&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20454&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20454&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20454&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20454&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20454&r=isapi