1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 18:11:47 +02:00

[ticket/10103] Inline assignment is bad?

PHPBB3-10103
This commit is contained in:
Oleg Pudeyev
2012-12-04 13:46:01 -05:00
parent 3924676f2b
commit a553cfbc30

View File

@@ -65,7 +65,8 @@ class phpbb_lock_flock_test extends phpbb_test_case
$path = __DIR__ . '/../tmp/precious';
if ($pid = pcntl_fork())
$pid = pcntl_fork();
if ($pid)
{
// parent
// wait 0.5 s, acquire the lock, note how long it took