3 ms·
I'm a little confused and am seeing conflicting information everywhere. How can I use async queries in PHP right now? It looks like the code the author wrote is
by dustball64 9y ago
I'm a little confused and am seeing conflicting information everywhere. How can I use async queries in PHP right now? It looks like the code the author wrote is in Hack. Can Hack code be injected like that into the PHP file, or does it require me to write a separate file and somehow link it to PHP?
- verelo 9y agoThat that I know of, but [after a brief stint using Hack] I wrote up a custom module that supports this functionality using curl in PHP 7 to spawn up multiple threads. It's a touch messy to implement, but totally possible if you want it.