C:\devphp\reactphp_sqlite_test>php sqlite.php
PHP Fatal error: Uncaught Error: React\EventLoop\Factory::create() has been overridden by amphp/react-adapter to prevent you from accidentally creating two event loop instances. Use Amp\ReactAdapter\ReactAdapter::get() instead of React\EventLoop\Factory::create() to ensure everything is running on the same event loop. You may set a constant or environment variable named AMP_REACT_ADAPTER_DISABLE_FACTORY_OVERRIDE to disable this protection or open an issue at https://github.com/amphp/react-adapter if you're unsure on the right way forward. in C:\devphp\reactphp_sqlite_test\vendor\amphp\react-adapter\etc\Factory.php:24
Stack trace:
#0 C:\devphp\reactphp_sqlite_test\vendor\clue\reactphp-sqlite\res\sqlite-worker.php(30): React\EventLoop\Factory::create()
#1 {main}
thrown in C:\devphp\reactphp_sqlite_test\vendor\amphp\react-adapter\etc\Factory.php on line 24
Hi. How can I prevent ReactPHP from instantiating the React\EventLoop\Factory.
I have no const/envVar AMP_REACT_ADAPTER_DISABLE_FACTORY_OVERRIDE
PHP 7.4 Win10 & Linux
===
===
===