public function open($path, $name) { ++$this->i; echo 'Open ', session_id(), "\n"; // This test was written for broken return value handling // Mimmick what was actually being tested by returning true here return null === parent::open(); }
<?php ini_set('session.save_handler', 'files'); $x = new SessionHandler(); $x->open('', ''); $x->open('', ''); $x->open('', ''); $x->open('', ''); print "Done!\n";
public function open($path, $name) { ++$this->i; echo 'Open ', session_id(), "\n"; return parent::open($path, $name); }
/** * Open Session - retrieve resources * * @param string $savePath * @param string $name * @return bool */ public function open($savePath, $name) { return $this->saveHandlerAdapter->open($savePath, $name); }
public function open($save_path, $session_name) { echo "Open\n"; return parent::open($save_path, $session_name); }
/** * {@inheritdoc } */ public function open($savePath, $sessionName) { $this->active = (bool) $this->handler->open($savePath, $sessionName); return $this->active; }
public function open($save_path, $session_id) { parent::open($save_path, $session_id); $this->session_start = time(); }
public function open($save_path, $session_id) { return parent::open(session_save_path(), $session_id); }
public function open($save_path, $session_id) { parent::open($save_path, $session_id); $this->counter++; }
public function open($path, $name) { return parent::open($path, $name); }
public function open($path, $name) { ++$this->i; return parent::open($path, $name); }