Constant CURRENCY_SYMBOL = 262145 predefined

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Constant CURRENCY_SYMBOL = 262145 predefined

Postby sholahan » 24. July 2008 01:11

I just installed xampp 1.6.7 for linux. Now in my site I defined CURRENCY_SYMBOL as
define(CURRENCY_SYMBOL, "$");

But when I display the value it is 262145. I made a test page that just did a display of CURRENCY_SYMBOL, with defining it and it still displayed 262145. So it looks like xamp is defining this value but I can not find it.

I also have xamp 1.6.7 for windows installed on another machine which works fine.

Any one have any idea?

thank you.
sholahan
 
Posts: 3
Joined: 24. July 2008 00:59

Postby Wiedmann » 24. July 2008 01:22

CURRENCY_SYMBOL is a predefined PHP constant.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby sholahan » 24. July 2008 01:28

That is what I thought, but I did not understand why it is predefined in linux and not in windows xampp. Would you know why it is set to 262145.
sholahan
 
Posts: 3
Joined: 24. July 2008 00:59

Postby Wiedmann » 24. July 2008 01:47

but I did not understand why it is predefined in linux and not in windows xampp.

Not all PHP functions are availible on all OS.

Would you know why it is set to 262145.

Why not?
--> if you need the the value 262145 as parameter for a function, it's easier to rember e.g. the constant name "CURRENCY_SYMBOL" then the integer "262145".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby sholahan » 24. July 2008 01:58

Thank you for the info.
sholahan
 
Posts: 3
Joined: 24. July 2008 00:59


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 85 guests