faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

How would you determine whether a variable contains an array?

Mar 24th, 2008 20:00
ha mo, Himanshu Jain,


To test whether a variable is an array, you could use the is_ array ( )
function. Alternatively, you could get the return value of gettype ( ).
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com