Starium XCV
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PHP array ... possible problem?

2 posters

Go down

PHP array ... possible problem? Empty PHP array ... possible problem?

Post  Jim Wed Jun 20, 2012 4:06 am

I was glancing at PHP today and found this article, albeit an old article, but it raises a possible issue with our battle routines.

http://www.php.net/manual/en/language.types.array.php

While PHP handles arrays, it apparently does so as INT, which has ramifications for those single precision numbers we use in array form.. ie.. keeping track of fractions of ships destroyed.

Any workarounds or perhaps this is just an old article?

Best,

Jim
Jim
Jim
Admin

Posts : 71
Join date : 2010-07-08

Back to top Go down

PHP array ... possible problem? Empty PHP array ... possible problem?

Post  trainort Wed Jun 20, 2012 12:05 pm

Should be something we can track down with an Internet search. -- Tim
trainort
trainort
Explorer
Explorer

Posts : 27
Join date : 2010-07-09
Location : Muskegon, Michigan USA

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum