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

 ID:                 54626
 User updated by:    kjakobi at goodgamestudios dot com
 Reported by:        kjakobi at goodgamestudios dot com
 Summary:            Access to undeclared static property - But it exists
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   Debian
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Just found out it happens only when using namespaces. Without the
namespace I didn't get the error. Also I can say the error occurs ones
on ~1000 calls on the file. Really strange.


Previous Comments:
------------------------------------------------------------------------
[2011-04-28 21:31:40] kjakobi at goodgamestudios dot com

Yes, tomorrow. But the same code ran fine on 5.3.5 on the same machine.

------------------------------------------------------------------------
[2011-04-28 21:23:57] ras...@php.net

Could you check if you can reproduce the problem with suhosin disabled?

------------------------------------------------------------------------
[2011-04-28 21:18:58] kjakobi at goodgamestudios dot com

$php -r "print_r(get_loaded_extensions());"

Array

(

    [0] => Core

    [1] => date

    [2] => ereg

    [3] => libxml

    [4] => openssl

    [5] => pcre

    [6] => zlib

    [7] => bcmath

    [8] => bz2

    [9] => calendar

    [10] => ctype

    [11] => dba

    [12] => dom

    [13] => hash

    [14] => fileinfo

    [15] => filter

    [16] => ftp

    [17] => gettext

    [18] => SPL

    [19] => iconv

    [20] => json

    [21] => mbstring

    [22] => pcntl

    [23] => session

    [24] => posix

    [25] => Reflection

    [26] => standard

    [27] => shmop

    [28] => SimpleXML

    [29] => soap

    [30] => sockets

    [31] => Phar

    [32] => exif

    [33] => sysvmsg

    [34] => sysvsem

    [35] => sysvshm

    [36] => tokenizer

    [37] => wddx

    [38] => xml

    [39] => xmlreader

    [40] => xmlwriter

    [41] => zip

    [42] => curl

    [43] => gd

    [44] => imap

    [45] => mcrypt

    [46] => mysql

    [47] => mysqli

    [48] => PDO

    [49] => pdo_mysql

    [50] => suhosin

    [51] => mhash

)

------------------------------------------------------------------------
[2011-04-28 17:52:48] ras...@php.net

Could you add the output of print_r(get_loaded_extensions()) to this
report?

------------------------------------------------------------------------
[2011-04-28 17:39:51] kjakobi at goodgamestudios dot com

Description:
------------
I get the following randomly:



PHP Fatal error:  Access to undeclared static property:
Ggs\Sns\Uri::$inst



Ggs\Sns\Uri::$inst exists. The error only occurs sometimes. Is there a
memory problem or something like that?



Exact Version ist 3.5.6-8 (unstable on debian)

Test script:
---------------
Thats not possible



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



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

Reply via email to