php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /proc/self/root/var/www/html/sub/images/Rm19_symconf/root/opt/php-7.0.1/ext/shmop/tests/ |
| files >> //proc/self/root/var/www/html/sub/images/Rm19_symconf/root/opt/php-7.0.1/ext/shmop/tests/003.phpt |
--TEST--
shmop extension error messages (non-root)
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) == "WIN") {
die('skip not for Windows');
}
if (!extension_loaded("shmop")) {
die("skip shmop extension not available");
}
if (!extension_loaded("posix")) {
die("skip posix extension not available");
}
if (!posix_geteuid()) {
die("skip cannot run test as root");
}
?>
--FILE--
<?php
$hex_shm_id = function(){
return mt_rand(1338, 9999);
};
echo '## shmop_open function tests ##', PHP_EOL;
// warning outputs: unable to get shared memory segment information
var_dump(shmop_open($hex_shm_id(), 'n', 0, 1024));
?>
--EXPECTF--
## shmop_open function tests ##
Warning: shmop_open(): unable to get shared memory segment information 'Permission denied' in %s on line %d
bool(false)
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`