About the exception-breaking error when you read the entire file using file ()! I am now using PHP 4.03pl1 to read the entire file using file () when manipulating the text data file, and then display the code as follows: On my machine is completely normal, but I uploaded to the server found that the original row of data is displayed as 2 rows, originally a total of 10 rows of data, the results are displayed as 15 rows! It turns out that in some versions of PHP (less than php4.0.0), the string of this method cannot exceed 8,190 characters, and I found the same explanation in the feedback for php.net about file () in the English text as follows: in PHP 4.0.0 and lower, Array elements is never longer than 8190 characters. Longer lines is split. This limitation is removed in PHP 4.0.1
http://www.bkjia.com/PHPjc/531785.html www.bkjia.com true http://www.bkjia.com/PHPjc/531785.html techarticle about the exception-breaking error when you read the entire file using file ()! I am now using PHP 4.03pl1 to read the entire file using file () When working with text data files, and then ...