{"id":15142720,"url":"https://github.com/pmmp/ext-recursionguard","last_synced_at":"2026-03-02T00:35:34.082Z","repository":{"id":55860895,"uuid":"160585668","full_name":"pmmp/ext-recursionguard","owner":"pmmp","description":"Lightweight PHP extension to hard-cap function call depth.","archived":false,"fork":false,"pushed_at":"2025-01-03T16:28:30.000Z","size":30,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-12T12:33:28.061Z","etag":null,"topics":["github-actions-enabled","php","php-extension","php80","php81","php82"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmmp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-05T22:18:00.000Z","updated_at":"2025-01-03T16:28:34.000Z","dependencies_parsed_at":"2023-11-24T14:24:42.040Z","dependency_job_id":"7bf7efeb-5e02-4b80-98cc-fccb4780dc71","html_url":"https://github.com/pmmp/ext-recursionguard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pmmp/ext-recursionguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmmp%2Fext-recursionguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmmp%2Fext-recursionguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmmp%2Fext-recursionguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmmp%2Fext-recursionguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmmp","download_url":"https://codeload.github.com/pmmp/ext-recursionguard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmmp%2Fext-recursionguard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29988055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions-enabled","php","php-extension","php80","php81","php82"],"created_at":"2024-09-26T10:00:22.535Z","updated_at":"2026-03-02T00:35:34.040Z","avatar_url":"https://github.com/pmmp.png","language":"C","readme":"# ext-recursionguard\n![CI](https://github.com/pmmp/ext-recursionguard/workflows/CI/badge.svg)\n\nLightweight PHP extension to hard-cap function call depth.\n\n## Features\nThis extension will throw an `Error` if the function call stack reaches a depth of `256` calls. This is currently non-configurable, but usable for most cases.\n\n## Configuration\n- `recursionguard.enabled` (default `1`): Controls whether the extension will guard for recursions even when loaded (useful for static builds).\n\n## Motivation\nRecursion errors can be difficult to debug because they cause PHP to crash without any stack trace when something overrides `zend_execute_ex`. Therefore, it's desirable to have this barf at a hard limit instead of segfaulting without apparent reason.\n\nHowever, the only way to do this before now was the `xdebug` extension, which causes huge performance degradation and as such is unsuitable for production. This extension keeps to the point, causing a hit of only 10% extra function call overhead, versus `xdebug`'s 2000+% overhead. This additional overhead becomes insignificant outside of synthetic benchmarks.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmmp%2Fext-recursionguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmmp%2Fext-recursionguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmmp%2Fext-recursionguard/lists"}