Advertisement
Guest User

Untitled

a guest
Aug 13th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2.  
  3. class Capitalsource {
  4. private $id;
  5. private $user;
  6. private $type;
  7. private $state;
  8. private $accountNumber;
  9. private $bankCode;
  10. private $comment;
  11. private $validTil;
  12. private $validFrom;
  13. private $groupUse;
  14.  
  15. public function __construct($id,$user) {
  16. $this->id = $id;
  17. $this->user = $user;
  18. }
  19.  
  20. }
  21.  
  22.  
  23. $user=new Capitalsource(-1,NULL);
  24. for($i=0;$i < 1024 ; $i++ ) {
  25. if(!apc_fetch('hugo'.$i)) {
  26. $user = new Capitalsource($i,$user);
  27. apc_store(('hugo'.$i),$user);
  28. }
  29. }
  30. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement