Been doing some farting around with Kixtart literal (constant) strings ... been trying to embed some very large base64 encoded data into my scripts, for a scripted resource experiment over at kixforms.org - anyways, I remember we chatted about maximum string lengths some time ago - we even ran some benchmarks and tests and we made some very big strings indeed, but in terms of literal strings, like this ...

$x = "This is a string..."

It seems the maximum size is exactly 32000 bytes - the interesting thing is that one can append maxed-out strings together, to create the bigger strings ... like this:

$reallyBigString = $maxedOutString1 + $maxedOutString2

The length (as reported by Len()), will be exactly 64000 bytes. Just some fyi.