Php on windows and blocks

Posted by zerkms on Stack Overflow See other posts from Stack Overflow or by zerkms
Published on 2011-01-11T02:46:36Z Indexed on 2011/01/11 2:54 UTC
Read the original article Hit count: 134

Filed under:
|

My development PC has windows installed. And I've experienced weird php behaviour:

<?php

file_put_contents('c:/q', microtime(1) . "\r\n", FILE_APPEND);

sleep(10);

When I run this script in browser simultaneously in two different tabs I get such results

1294713622.125
1294713632.2188

which obviously is not what I expected, although in CLI everything is fine.

So the question: what can block execution? (session.auto_start is Off)

© Stack Overflow or respective owner

Related posts about php

Related posts about Windows