Why php7 use more memory to store objects? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why php7 use more memory to store objects?

php scripts star to failā€‹ with a memory limit after update to php7

27th May 2017, 12:13 PM
Sergey Nikolaev
Sergey Nikolaev - avatar
1 Resposta
+ 1
PHP5 allocating memory (By Request) assuming by it's Zend Engine structure. In PHP7 it's some optimizations made at this side, so on memory allocating (by the chunks) PHP7 saves memory very much on large programs.
9th Jun 2017, 11:40 AM
Amjad
Amjad - avatar