{"id":20163407,"url":"https://github.com/sjinks/php_nestinglevel","last_synced_at":"2025-04-10T00:40:58.733Z","repository":{"id":14521407,"uuid":"76674057","full_name":"sjinks/php_nestinglevel","owner":"sjinks","description":"PHP extension to control maximum function nesting level","archived":false,"fork":false,"pushed_at":"2025-01-20T13:47:28.000Z","size":139,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T02:22:44.264Z","etag":null,"topics":["php","php-extension","stack-overflow"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjinks.png","metadata":{"funding":{"custom":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-12-16T17:52:32.000Z","updated_at":"2024-12-30T17:22:41.000Z","dependencies_parsed_at":"2023-02-15T06:01:12.032Z","dependency_job_id":"650a9ba9-0c86-4fbf-823e-a14e7832f08e","html_url":"https://github.com/sjinks/php_nestinglevel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fphp_nestinglevel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fphp_nestinglevel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fphp_nestinglevel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fphp_nestinglevel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjinks","download_url":"https://codeload.github.com/sjinks/php_nestinglevel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137997,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["php","php-extension","stack-overflow"],"created_at":"2024-11-14T00:29:30.280Z","updated_at":"2025-04-10T00:40:58.728Z","avatar_url":"https://github.com/sjinks.png","language":"C","funding_links":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"],"categories":[],"sub_categories":[],"readme":"# php-nestinglimit\n\n[![Build and Test](https://github.com/sjinks/php_nestinglevel/actions/workflows/test.yml/badge.svg)](https://github.com/sjinks/php_nestinglevel/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/sjinks/php_nestinglevel/branch/master/graph/badge.svg)](https://codecov.io/gh/sjinks/php_nestinglevel) [![Coverity Scan Build Status](https://img.shields.io/coverity/scan/11203.svg)](https://scan.coverity.com/projects/sjinks-php_nestinglevel)\n\nPHP extension to control maximum function nesting level, and not let PHP crash with segmentation fault due to infinite recursion.\n\nTested with PHP 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 nightly (currently, it's 8.5)\n\n## Installing/Configuring\n\n```bash\nphpize\n./configure\nmake\nsudo make install\n```\n\nThen you will need to add a line like this to your `php.ini`:\n\n```\nextension=nl.so\n```\n\nor, for Windows,\n\n```\nextension=nl.dll\n```\n\n## INI settings\n\n  * `nl.max_level`: maximum nesting level. Negative value or zero turns the extension off.\n    * integer, defaults to -1 (disabled)\n    * PHP_INI_ALL\n\n### More Information\n\nPlease see [tests](https://github.com/sjinks/php_nestinglevel/tree/master/tests) for usage examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fphp_nestinglevel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjinks%2Fphp_nestinglevel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fphp_nestinglevel/lists"}