diff options
Diffstat (limited to 'ext/shmop/tests/002.phpt')
-rw-r--r-- | ext/shmop/tests/002.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/shmop/tests/002.phpt b/ext/shmop/tests/002.phpt index 2cd9db6187..41f2ce5783 100644 --- a/ext/shmop/tests/002.phpt +++ b/ext/shmop/tests/002.phpt @@ -27,11 +27,11 @@ try { } // Warning outputs: Unable to attach or create shared memory segment -var_dump(shmop_open(null, 'a', 0644, 1024)); +var_dump(shmop_open(0, 'a', 0644, 1024)); // Shared memory segment size must be greater than zero try { - shmop_open(null, 'a', 0644, 1024); + shmop_open(0, 'a', 0644, 1024); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } |