Jump to content

[SOLVED] whats the and equals operator do in a new instance creation?


sspoke

Recommended Posts

$val = & new val();

 

why do people use that?

 

when you could use

$val = new val();

 

I just want to know what  = &  means

 

I dont think anyone made a topic for this and its hard to search for symbols you get a billion topics nothing reliable.

 

 

 

My guess is that it makes it static?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.