Guest User

Untitled

a guest
Aug 13th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2.  
  3. session_start();
  4.  
  5. $apc_key = 'abc';
  6.  
  7. if (!isset($_SESSION['created'])) {
  8.     $_SESSION['created'] = true;
  9.     $apc_data = array(
  10.         'test'=>'123',
  11.         'data'=>'test123456');
  12.     apc_store($apc_key, $apc_data);
  13. }
  14.  
  15. var_dump(apc_fetch($apc_key));
Advertisement
Add Comment
Please, Sign In to add comment