3 ms·
> The second thing Octane does differently is the use of concurrent models, a concept that isn't custom to the language itself If this is similar to Java and m
by chiefalchemist 3y ago
> The second thing Octane does differently is the use of concurrent models, a concept that isn't custom to the language itself
If this is similar to Java and multi-treading, then this is likely what causes the buggy-ness with statics and singletons. See (book) "Head First: Design Patterns" by Freeman and Robson for more details. The section on the singleton pattern discusses the issue (and I believe the solution / work around). Perhaps it can be appplied to PHP / Laravel / Octane?