Yeah,

When we first switched to E_ALL error mode, I thought "Cool, I'll just put an @ in front of these expressions"

Not cool. It was taking FOREVER (like seconds) to load a simple page that had been taking ~ 20ms. After that we switched to the ternary operator, and hence began the ifsetor() discussion...

~Jason




At 4/17/2004 02:44 AM +0200, Marcus Boerger wrote:
Hello Alan,

Saturday, April 17, 2004, 2:36:55 AM, you wrote:

> Jason Garber wrote:

>> In our code, you will find many blocks looking like
>>
>> $CUST_ID = (integer) (isset($_POST['CUST_ID']) ? $_POST['CUST_ID'] : 0);

> so how is that different from
> $CUST_ID = (integer) @$_POST['CUST_ID'];

@ is damn slow


-- Best regards, Marcus mailto:[EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to