Preface: SHOPNC with limit 1000 when stitching SQL by default
Then the problem is, if you're using a system-encapsulated approach, but if you don't take->limit (false), you're screwed.
Then the question came, in the judgment time, the database has more than 1900 data, printed on the page only 1000, I thought it is var_dump can not fully display
Echo ' <pre> ';
Var_export ($number);
Echo ' </pre> ';
So I'm going to show that with the sizeof function found only 1000, I initially thought it was more than the size of the array storage array, the result is that the above mentioned problem
So the question is, what is the maximum number of PHP variable arrays to store?
Is the limit size of the Memory_limit
$number Range (1,20000000); // Var_dump ($number); Echo ' <pre> '; Var_export ($number); Echo ' </pre> ';
Run, you find the above error, bar 134217728 divided by 1024 divided by 1024 is 128, if you currently run the code needs more than 128M variables to handle, modify the size of the memory_limit, do not forget to restart
PHP variables and array size limits