Re: question regarding type hinting parameters of php functions (array_slice)

From: Date: Mon, 10 Dec 2007 19:35:25 +0000
Subject: Re: question regarding type hinting parameters of php functions (array_slice)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-33911@lists.php.net to get a copy of this message
It builds without complaint and works as expected - what am I missing?
IS_NULL is variable type. length is variable value.
So it's better to check for == 0? What's the difference? Is an IS_NULL check slower? - Steph
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com


« previous php.internals (#33911) next »