200, 'Dustbunnies' => 250)); $acb = new Account(array('Snakes' => 500, 'Iguanas' => 220, 'Lizards' => 110)); echo "Initially, account a has:
"; $aca->pr(); echo "
And account b has:
"; $acb->pr(); echo "

"; $aca->xfer('Dustbunnies', 'Jellybeans', 55); $acb->xfer('Iguanas', 'Lizards', 50); $acb->xfer('Snakes', 'Lizards', 80); echo "Now, account a has:
"; $aca->pr(); echo "
And account b has:
"; $acb->pr(); echo "

"; ?>