deduct variable names from implementation
[m6w6/ext-psi] / tests / ndbm / ndbm.psi
index fd132a99d8b5271e4afbae1a1d4c2efe4eb14fc9..92fa62b3c648f264386c272ffacb7abf253bad51 100644 (file)
@@ -26,8 +26,8 @@ function psi\dbm_fetch(object $db, array $key) : array {
                dsize = intval($dsize)
        );
        return to_array(dbm_fetch,
-               to_string(dptr, dsize),
-               to_int(dsize)
+               to_int(dsize),
+               to_string(dptr, dsize)
        );
 }