Marek Kilimajer wrote:
Gerard Samuel wrote:
Im trying to simulate conditions, to see how flock works.
Can anyone verify with the example code below,
that data, never gets written to the file.
//1 & //2 are supposed to be processes???
For me, the var_dump() reports ->
int(7) bool(false)
Thanks
$fp =
Gerard Samuel wrote:
Im trying to simulate conditions, to see how flock works.
Can anyone verify with the example code below,
that data, never gets written to the file.
//1 & //2 are supposed to be processes???
For me, the var_dump() reports ->
int(7) bool(false)
Thanks
$fp = fopen('foo.txt', 'w');
Im trying to simulate conditions, to see how flock works.
Can anyone verify with the example code below,
that data, never gets written to the file.
//1 & //2 are supposed to be processes???
For me, the var_dump() reports ->
int(7) bool(false)
Thanks
$fp = fopen('foo.txt', 'w'); //1
flock($fp, LOCK_
3 matches
Mail list logo