Ticket #282 (closed defect: duplicate)

Opened 10 months ago

Last modified 10 months ago

winxp, try_catch does not work with optimizer=1

Reported by: someone Assigned to: somebody
Priority: major Milestone: 1.0
Component: eAccelerator Version: 0.9.5
Keywords: optimizer catch try windows Cc:

Description

Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 ,eAccelerator v0.9.5.1,

extension=eAccelerator.dll
eaccelerator.enable = 1
eaccelerator.cache_dir = c:\somenotexistingdir
eaccelerator.check_mtime = 1
eaccelerator.compress = 1
eaccelerator.compress_level = 4
eaccelerator.content = shm_only
eaccelerator.debug = 0
eaccelerator.keys = shm_only
eaccelerator.optimizer = 1
eaccelerator.sessions = shm_only
eaccelerator.shm_max = 0
eaccelerator.shm_only = 1
eaccelerator.shm_prune_period = 0
eaccelerator.shm_size = 16
;eaccelerator.shm_ttl = 0
;eaccelerator.filter =
;eaccelerator.log_file =
;eaccelerator.name_space =

<?phpcode

  try
  {
   throw new NoFileException('testblah');
  }
  catch(TraceException $hl)
  {

  }
  catch(NoFileException $hl)
  {

  }
  catch(Exception $hl)
  {

  }
>>

<?phpcode exception
class NoFileException extends Exception
{
 public function __construct($message, $code = 0)
 {
  parent::__construct($msg, $code);
 }
}

?>

set_exception_handler('personal_exception_handler');


Change History

08/30/07 10:35:38 changed by hans

This is a known problem in 0.9.5.1. This problem is fixed in a new version which we currently have up for testing, so please give it a try and let us hear about it.

You can find it at http://bart.eaccelerator.net/source/eaccelerator-0.9.5.2-test.tar.bz2

09/03/07 14:18:05 changed by bart

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of #242