faqts : Computers : Programming : Languages : PHP : kms : General

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

23 of 37 people (62%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Is there a maximum length for a string?

Jun 29th, 2002 18:15
Marti, Gael Marziou,


The manual doesn't say anything about length limits, but the actual 
limit is probably defined by memory_limit attribute in php.ini (aside 
with the other variables).
Also, as far as I've used PHP I haven't had any problems with string 
lengths.