|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53100 Add function to list available vars
Submitted: 2010-10-18 21:53 UTC Modified: 2018-03-11 22:30 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: marc-bennewitz at arcor dot de Assigned:
Status: Open Package: Semaphore related
PHP Version: 5.3.3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: marc-bennewitz at arcor dot de
New email:
PHP Version: OS:


 [2010-10-18 21:53 UTC] marc-bennewitz at arcor dot de
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');

Expected result:
array(2) {
array(2) {

Actual result:
PHP Fatal error:  Call to undefined function shm_list_vars() in ...


sysvshm.diff (last revision 2010-10-27 21:09 UTC by marc-bennewitz at arcor dot de)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-27 23:12 UTC] marc-bennewitz at arcor dot de
- added function shm_get_vars(resource $id) to get an associative array of all variable keys and values
- added function shm_list_vars(resource $id) to get an indexed array of all keys
 [2011-08-03 06:15 UTC] marc-bennewitz at arcor dot de
what is the state of this issue ?
The patch exists for 9 month !
 [2018-03-11 22:30 UTC]
> what is the state of this issue ?

This feature request might get more attention, if you submit a
pull request for <>.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Mar 04 12:01:27 2024 UTC