diff options
Diffstat (limited to 'ext/sysvshm/tests/003.phpt')
-rw-r--r-- | ext/sysvshm/tests/003.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sysvshm/tests/003.phpt b/ext/sysvshm/tests/003.phpt index 010ac83cd3..e141353dec 100644 --- a/ext/sysvshm/tests/003.phpt +++ b/ext/sysvshm/tests/003.phpt @@ -8,7 +8,7 @@ if (!function_exists('ftok')){ print 'skip'; } --FILE-- <?php -$key = ftok(dirname(__FILE__)."/003.phpt", 'q'); +$key = ftok(__DIR__."/003.phpt", 'q'); var_dump(shm_detach()); var_dump(shm_detach(1,1)); @@ -28,7 +28,7 @@ echo "Done\n"; --CLEAN-- <?php -$key = ftok(dirname(__FILE__)."/003.phpt", 'q'); +$key = ftok(__DIR__."/003.phpt", 'q'); $s = shm_attach($key); shm_remove($s); |