Hi,
When you run :
$module = phpgo_load("/path/to/example.so", "example");
$module = phpgo_load("/path/to/example.so", "example");
$module->toUpper("foo");
twice and try to call a function you'll get an error :
Uncaught Error: Call to undefined method PHPGo\Module\��Ә��_1_426c601a::toUpper..
initializing it once will work ..
I have PHP running "fpm" context so it can happen that a worker gets reused and thus calls phpgo_load again.
Haven't looked to it in detail but think it's something with the cache key of the loaded module in the php extension that goes wrong.
Hi,
When you run :
twice and try to call a function you'll get an error :
initializing it once will work ..
I have PHP running "fpm" context so it can happen that a worker gets reused and thus calls phpgo_load again.
Haven't looked to it in detail but think it's something with the cache key of the loaded module in the php extension that goes wrong.