NYCPHP Meetup

NYPHP.org

[nycphp-talk] Casting and list

Hans Zaunere hans at newyorkphp.com
Mon Dec 22 16:17:29 EST 2003


> to do this type of thing.  It's a type-sensitive mysql_fetch_row()
> (which is really what I'd like):
> 
> http://pcomd.net/mysql_get_row
> 
> but it's a little heavy and annoying in some ways.  Alas, the yin-yang
> of a type-less language.

In case anyone is interested, I ended up just revising the above PCOM to
be more robust.  After the revision, I dropped the function into our
development intranet site and it's running smoothly without any
performance change - of course, it is an intranet :)  The actual
castings done by mysql_get_row() are documented in the source - it's
just a type cast mysql_fetch_row().

H




More information about the talk mailing list