Re: [PHP] suppressing errors with "@"

2002-07-06 Thread Uri Even-Chen
Thanks! I also think it might be a bug. I reported it as a bug report. Uri. Miguel Cruz wrote: > > On Sat, 6 Jul 2002, Uri Even-Chen wrote: > > I tried to suppress warnings in isset expressions (Uninitialized string > > offset warnings).

Re: [PHP] suppressing errors with "@"

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, Uri Even-Chen wrote: > I tried to suppress warnings in isset expressions (Uninitialized string > offset warnings). The original line was something like this: > > if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) > > When I added the "@" sign like this: > > if (!(is

[PHP] suppressing errors with "@"

2002-07-05 Thread Uri Even-Chen
Hi, I tried to suppress warnings in isset expressions (Uninitialized string offset warnings). The original line was something like this: if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) When I added the "@" sign like this: if (!(isset(@$GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME'])))