Right, that's what "l" parameter spec is doing, doesn't it? Why convert it manually?
Because it doesn't know the difference between NULL and 0 if it's a long.
And why this difference is important in array_slice()? I don't see anything in manual that says anything about NULLs. Could you explain?
One that doesn't break every script that didn't strictly stay with int over the last 8 years or so.
Errm... I still don't understand. Could you give code example?
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com