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

Given a class called emptyClass( ),how would you create an object that is an instance of it?

Mar 22nd, 2008 21:33
ha mo, Himanshu Jain,


You should use the new operator to instantiate an object:
$obj = new emptyClass( );
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