title: What happens to a class in PHP once its been instantiated?
body: <p>I'm just playing around with some PHP and was wondering what happens when an object from a class is created within another PHP script?</p>
  
  <p>I assume once its created and been processed their is no way of then going back and 'playing' around with it from another script?</p>
  
  <p>The idea is i'm trying to create a kind of deck of cards using a card class, each card has specific data that is added to each individual object to make it unique, suit, value etc. Once its created i need to be able to go back to specific cards to use them. In java i'd have an arraylist of card objects, i'm not sure how to approach the same area in PHP.</p>
  
  <p>Thanks.</p>