Socket Resources

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kaoskorruption
Forum Commoner
Posts: 28
Joined: Tue Jul 18, 2006 2:09 pm

Socket Resources

Post by kaoskorruption »

I have an array, where each key is a socket resource. Is it possible for me to do something like:

Code: Select all

echo $array["Resource id #12"];
Where I would know the ID of the resource, but I wouldn't have the variable that holds the actual resource itself.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

technically yes, but why?
Post Reply