Re: Re: [RFC] ifsetor operator

From: Date: Sat, 17 Apr 2004 01:42:35 +0000
Subject: Re: Re: [RFC] ifsetor operator
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-9309@lists.php.net to get a copy of this message
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:helly@php.net
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#9309) next »