PHP/Variables: Difference between revisions

No edit summary
Line 37: Line 37:
* ''double'' - Abbreviation of double precision floating point. Same as above except with far more precision - however, a double value also takes up twice as much memory (generally 8 bytes - obviously insignificant on modern servers)
* ''double'' - Abbreviation of double precision floating point. Same as above except with far more precision - however, a double value also takes up twice as much memory (generally 8 bytes - obviously insignificant on modern servers)
* ''string'' - Holds any array of characters, i.e. a sentence (or two). Generally has an infinite length; however, for compatibility with older servers, limit the size of strings to 32768 characters.
* ''string'' - Holds any array of characters, i.e. a sentence (or two). Generally has an infinite length; however, for compatibility with older servers, limit the size of strings to 32768 characters.
* ''boolean'' - Can either be true or false, many functions return true ot false
* ''boolean'' - Can either be true or false, many functions return true or false


== Declaration ==
== Declaration ==