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:
@@ -65,7 +65,8 @@ class phpbb_lock_flock_test extends phpbb_test_case
|
|||||||
|
|
||||||
$path = __DIR__ . '/../tmp/precious';
|
$path = __DIR__ . '/../tmp/precious';
|
||||||
|
|
||||||
if ($pid = pcntl_fork())
|
$pid = pcntl_fork();
|
||||||
|
if ($pid)
|
||||||
{
|
{
|
||||||
// parent
|
// parent
|
||||||
// wait 0.5 s, acquire the lock, note how long it took
|
// wait 0.5 s, acquire the lock, note how long it took
|
||||||
|
Reference in New Issue
Block a user