Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying objects

Status
Not open for further replies.

LaundroMat

Programmer
Joined
Dec 2, 2003
Messages
67
Location
BE
Is it possible to copy object properties to another object?

For instance, I'm trying to copy the contents of (object) $_REQUEST into an appriopriate object, but the problem is ofcourse that a simple copy (ie $obj = (object) $_REQUEST)annihilates the methods...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top