#18590 [Ver->Fbk]: Fatal error: Cannot redeclare upon reload

From: Date: Sat, 29 Nov 2003 06:34:32 +0000
Subject: #18590 [Ver->Fbk]: Fatal error: Cannot redeclare upon reload
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51306@lists.php.net to get a copy of this message
 ID:               18590
 Updated by:       sniper@php.net
 Reported By:      armageddon at raydan dot de
-Status:           Verified
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: WinXP Pro
 PHP Version:      5.0.0-dev
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2002-07-26 07:35:22] armageddon at raydan dot de

When I run the icq_main.php script, after some seconds I get following
two errors:

Fatal error: Maximum execution time of 5 seconds exceeded in
j:\www\public\phpicq\icq\icq_main.php on line 48

Fatal error: Maximum execution time of 5 seconds exceeded in
j:\www\public\phpicq\icq\icq_debug.php on line 121

Ok, thats the excepted behaviour, but when I reload the page I get this
strange error:

Fatal error: Cannot redeclare hexdump() (previously declared in :67) in
j:\www\public\phpicq\icq\icq_debug.php on line 71

When I reload it again I get the first two error-messages again and so
on...

The following code is from icq_debug, Line 67-71:

  function HexDump($in) {
      static $hex;
      if (!$hex) $hex = new Hex();
      return $hex->Dump($in);
  }

I have loaded the following modules:
php_bz2.dll, php_cpdf.dll, php_crack.dll, php_db.dll, php_dba.dll,
php_dbase.dll, php_exif.dll, php_filepro.dll, php_gd.dll,
php_gettext.dll, php_hyperwave.dll, php_ldap.dll, php_mhash.dll,
php_pdf.dll, php_pgsql.dll, php_shmop.dll, php_snmp.dll,
php_sockets.dll, php_w32api.dll, php_zlib.dll


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=18590&edit=1


Thread (30 messages)

« previous php.bugs (#51306) next »