php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&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?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/opt/php-7.0.1/ext/shmop/tests/
upload
files >> //var/www/html/sub/images/sym/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\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`