Stefan, I agree. Everything should be E_STRICT, suppression of errors is not in the ZF dictionary :-).

Regards,

Andries Seutens
Belgium
http://andries.systray.be

Stefan Koopmanschap schreef:
Should that not be prevented with an is_array() check instead of using an @? Using the @ sounds quite dirty to me. ;)

On 10/4/06, *Simon Mundy* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    AFAICR this was done because Zend_Input_ has the potential to
    operate on multidimensional arrays - this is a simple (but not
    very graceful) way of handling instances where the value is an
    array rather than a string value.

    @ should be avoided unless there is clearly a very good reason.
    Otherwise we'll not receive those informative errors, and be
    waylaid in a debugger trying to figure it out. Using @ with
    preg_* seems odd. Suppression of missing param errors for some
    reason, maybe?

    --

    Simon Mundy | Director | PEPTOLAB

    """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
    202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
    Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3
    9654 4124
    http://www.peptolab.com





--
Stefan Koopmanschap
http://www.stefankoopmanschap.nl/
http://www.leftontheweb.com/ <http://www.leftontheweb.com/>
------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/462 - Release Date: 3/10/2006

Reply via email to