projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
deduct variable names from implementation
[m6w6/ext-psi]
/
tests
/
ndbm
/
ndbm001.phpt
diff --git
a/tests/ndbm/ndbm001.phpt
b/tests/ndbm/ndbm001.phpt
index 2914bac606c4493939a49c645a87944281d95695..403bdc33965810403a47e580ce1eafd01ba1ca8e 100644
(file)
--- a/
tests/ndbm/ndbm001.phpt
+++ b/
tests/ndbm/ndbm001.phpt
@@
-24,13
+24,7
@@
class db {
}
function __set($k, $v) {
}
function __set($k, $v) {
- return psi\dbm_store($this->db, [
- "dptr" => $k,
- "dsize" => strlen($k)
- ], [
- "dptr" => $v,
- "dsize" => strlen($v)
- ], psi\DBM_REPLACE);
+ return psi\dbm_store($this->db, $k, $v, psi\DBM_REPLACE);
}
function __get($k) {
}
function __get($k) {