2008/4/15, Felipe Pena <[EMAIL PROTECTED]>: > > Em Ter, 2008-04-15 às 01:05 -0400, Sam Barrow escreveu: > > > If somebody does have a patch for this or is working on one let me know. > Whether this will be implemented or not I would like to assist with this > patch so I can use it for personal use at the very least. > > > I already made two separated patches for param. and return value type > hints. I'll create a new thread and start discussion ASAP. > > -- > Regards, > > Felipe Pena.
That's a simple function given. What if you need to use id many times. Then your function will start with $id = (int)$id; or settype('int', $id);