Collect method call only once?

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, php
Domain
devtools

Research direction

Start by comparing the referenced zend_tombs.c lines 247-258 with how funcmap currently handles repeated method calls. Determine how to retain per-call execution state without zend_get_resource_handle, which is intended for extensions rather than a module. Done means the same method call is collected only once without relying on that API.

Written by the indexing model from the issue text.

Description

See how Joe did it: https://github.com/krakjoe/tombs/blob/1164fb2a5113503c43db49344e861a44974768b1/zend_tombs.c#L247:L258

He just saves some flag at execute data method meta and don't do same again on next method call.

But he uses zend_get_resource_handle which is for extensions and you are -- module.

Dominant language
C
Stars
38
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from badoo/funcmap

All issues in badoo/funcmap

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.