Forum Moderators: coopster

Message Too Old, No Replies

The function new...

What does it do?

         

TecWizz

11:25 am on Sep 22, 2003 (gmt 0)

10+ Year Member



Hello coders...

What does this function do in the a great aspect?

$phpfile = new classfile($dif_values);

And is there any place I can get any dokumentation on php.net about this? I have searched for 2 hours by now.

Best regards Tecwizz

dmorison

11:37 am on Sep 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Tecwizz,

new creates a new instance of a PHP class or object. It's all explained here:

[php.net...]