请教内存共享的问题!
程序员文章站
2022-05-21 19:39:48
...
代码如下:
这段代码报错,请问是怎么回事?
艾玛,又犯低级错误,非常感谢!
这段代码报错,请问是怎么回事?
PHP Warning: shmop_read(): no shared memory segment with an id of [1946257823] in /home/admin/codes/php/shmop/client.php on line 8Warning: shmop_read(): no shared memory segment with an id of [1946257823] in /home/admin/codes/php/shmop/client.php on line 8
回复讨论(解决方案)
$cont = shmop_read($shmid, 0, "Hello");
$cont = shmop_read($shmid, 0, "Hello");
艾玛,又犯低级错误,非常感谢!