mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/10103] Inline assignment is bad?
PHPBB3-10103
This commit is contained in:
parent
3924676f2b
commit
a553cfbc30
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue