Answer by Mik for PHP: strange behavior of foreach
This was an opcache problem. I edited and saved some files but the bug appeared here and there on site pages. So I got that the reason is the cache and just executed opcache_reset().Hope this solution...
View ArticleAnswer by Inazo for PHP: strange behavior of foreach
The problem that you allways reload all your module each times ou execute the foreach.Add a variable before to store your modules list, and that's ok.The corrected code : $listOfModules =...
View ArticlePHP: strange behavior of foreach
Below the code which works as expected before I try to usekey while iteration.As I do it, I see an error: "Allowed memory size of 1073741824 bytes exhausted (tried to allocate 9223372043239833600...
View Article
More Pages to Explore .....