ID:               42438
 User updated by:  perching_eagle at yahoo dot com
 Reported By:      perching_eagle at yahoo dot com
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: windows xp
 PHP Version:      5.2.3
 New Comment:

one more thing i went to google translate to check what language was
being dumped on my screen, and it was only the "chinese to english"
translator that was able to decipher it, the words were meaningless but
i wonder why.

i hope someone can get to the bottom of this, the only solution i have
right now is to manually copy all the files i would have included with
the include or require directives, into one file for each class
definition.

the include,require,require_once,include_once all worked for non-object
oriented programs. whenever it encountered the $this-> operator in my
code, especially in the constructor (just like the code in my first
post), it dumps everything else after the $this-> operator on my screen.


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

[2007-08-30 02:17:15] perching_eagle at yahoo dot com

not loading mbstrings didn't change anything, versions prior to 5.2.3
work well with no problem at all. 

i guess anyone that still uses a microsoft os like xp, can comfirm my
complaint. well thanks jani for your help. if you have access to windows
xp with php 5.2.3 installed on it, you may be able to figure out what
the problem is. till then bye......

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

[2007-08-28 21:42:01] [EMAIL PROTECTED]

Well, do you get readable error messages when you don't load mbstring?
(this is getting quite boring..)

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

[2007-08-28 18:57:35] perching_eagle at yahoo dot com

i followed your advice, set display_errors to On and error_reporting to
E_ALL, it didn't do much help but when i set the error_reporting to
E_ALL & E_STRICT the japanese characters disappeared from the output of
my code when using a php editor (i use php designer), however nothing
changed when i tried display my output on a browser window using apache
httpd. i also noticed some comments or non-directives in the php ini
file, that were not properly "commented" with ";" and correcting them
still didn't help. 

i also think that in the window edition of php 5.2.3 download, 
mb_string language was set to japanese by default, even for english
language speakers, and those japanese characters dumped on the output
screen from my code, could be error messages automatically translated
into japanese.

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

[2007-08-28 11:19:54] [EMAIL PROTECTED]

Try rewriting those files of yours from scratch and set error_reporting
to E_ALL and display_errors=On in your php.ini..

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

[2007-08-28 11:18:33] [EMAIL PROTECTED]

Perhaps the reason it works for me is that I don't bother using Windows
but a working OS instead. Linux. :)

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42438

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

Reply via email to