Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this expo
Hello Justin,
Tuesday, August 2, 2005, 8:43:09 PM, you wrote:
JB> Does suppressing the error only suppress it from the screen, or
JB> does it ignore the error?
JB> ie: is the error still logged?
It will ignore it totally, it doesn't even make it as far as the log
files - which is why in most cas
Example:
I was working on a HORRIBLE piece of code for a cart app. The original
programmer had a line like this:
$result = mysql_query( "SELECT * FROM user_logins WHERE
cookie='".$cookie."'" );
Where $cookie is a session id stored in a cookie (what else? ;). The
problem was, he had some
Does suppressing the error only suppress it from the screen, or does
it ignore the error?
ie: is the error still logged?
On Aug 2, 2005, at 12:18 PM, John Nichel wrote:
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning
and he
menti
Justin Burger wrote:
Does suppressing the error only suppress it from the screen, or does it
ignore the error?
ie: is the error still logged?
Please reply to the list.
I don't know if it still logs the error (assuming you have error logging
turned on).
--
John C. Nichel
ÜberGeek
KegWorks
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this expo
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this exp
On 8/2/05, Justin Burger <[EMAIL PROTECTED]> wrote:
> Good Morning,
> I was having a discussion with a fellow PHP Developer this morning and he
> mentioned that he put's an '@' sign in front of all function calls, and
> every time he accesses an array;
Any chance of revealing his identity - so tha
Hello Justin,
I would guess that this is mostly performance and memory related. When,
for instance, trying to iterate an array, or a directory with files,
using @ on all function calls, it will attempt to go through the array,
attempting to allocate memory for each item, but when finding it
empty/
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this exposes him to, can any one
10 matches
Mail list logo