From:
Operating system:
PHP version: 5.3.3
Package: Semaphore related
Bug Type: Feature/Change Request
Bug description:Add function to list available vars
Description:
------------
It's not possible to get a list of available vars.
Test script:
---------------
shm_put_var($shm, 123, 'one');
ahm_put_var($shm, 456, 'two');
var_dump(shm_list_vars($shm));
Expected result:
----------------
array(2) {
[0]=>
int(123)
[1]=>
int(456)
}
*or*
array(2) {
[123]=>
string(3)"one"
[456]=>
string(3)"two"
}
Actual result:
--------------
PHP Fatal error: Call to undefined function shm_list_vars() in ...
--
Edit bug report at http://bugs.php.net/bug.php?id=53100&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53100&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53100&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=53100&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53100&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=53100&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53100&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=53100&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=53100&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=53100&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=53100&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=53100&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=53100&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=53100&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53100&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53100&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53100&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=53100&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=53100&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=53100&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=53100&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=53100&r=mysqlcfg