Home > Backend Development > PHP Tutorial > php-php Advanced - Is there a limit to the length of php strings?

php-php Advanced - Is there a limit to the length of php strings?

WBOY
Release: 2016-10-11 14:23:40
Original
1147 people have browsed it

Is there a limit to the string length of PHP? I want to put 1 million pieces of data with each length of about 30 characters into a string variable. I don’t know if it is feasible

Reply content:

Is there a limit to the string length of PHP? I want to put 1 million pieces of data with each length of about 30 characters into a string variable. I don’t know if it is feasible

http://php.net/manual/en/lang...
There is no limit in 64-bit php7, other versions are 2GB

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template