{"adoption": {"forks": 179, "observed_at": "2026-08-28T04:04:43.638702+00:00", "stars": 1436}, "canonical_url": "https://ross.abutalabs.com/products/php-internals-book", "card": {"archived": false, "artifact_type": "learning-resource", "description": "PHP Internals Book", "domain": ["programming-languages", "tutorials", "developer-tools"], "enriched": true, "function": ["documentation"], "health_score": 75, "homepage": "http://www.phpinternalsbook.com/", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["phpinternalsbook/PHP-Internals-Book"], "name": "phpinternalsbook/PHP-Internals-Book", "platform": ["cross-platform"], "pushed_at": "2026-07-09T18:55:08+00:00", "repo": "phpinternalsbook/PHP-Internals-Book", "stars": 1436, "tags": ["php", "php-internals", "sphinx", "book", "c-extensions", "zend-engine"], "topics": [], "urls": [], "use_cases": ["learn how the PHP engine works internally", "learn how to write PHP extensions in C", "understand zval and memory management in PHP", "build PHP from source for development", "debug PHP memory issues with valgrind", "understand PHP arrays and Hashtables implementation"], "what_it_is": "An open-source online book explaining the internals of PHP 7 and PHP 8, covering the build system, zvals, memory management, and C extension development. It is written in ReStructured Text and built with Sphinx, published at phpinternalsbook.com.", "when_to_avoid": ["you want to learn PHP application programming rather than internals", "you need a quick reference rather than in-depth tutorial material"], "when_to_choose": ["you are developing or maintaining PHP extensions in C", "you want deep understanding of the Zend engine, zvals, and memory management", "you need to compile PHP from source for core development"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-internals-book", "repo": "phpinternalsbook/PHP-Internals-Book", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.638702+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:48.768545+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4efb0ba6e64655a26d6526e36e9633bb814cda1066f4e014fd442ebe85e61a5", "fetched_at": "2026-08-28T04:04:43.638702+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpinternalsbook/PHP-Internals-Book"}, {"content_hash": "4b76a1f5a321c60a375fdc6c90b3fae6e430d3bdef83e91c13856955e86276ca", "fetched_at": "2026-08-29T11:47:50.540590+00:00", "kind": "homepage", "missing": false, "url": "http://www.phpinternalsbook.com/"}, {"content_hash": "d55a7536436c065a58be46ce216cb8d0ce0d965b6a92cea4f7558c3c155dc2c4", "fetched_at": "2026-08-29T11:47:50.543412+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_php.html"}, {"content_hash": "39b4b9ebf7221e6cb38aa81973f97baf28c6d043e075d1cf0afec371fa9be184", "fetched_at": "2026-08-29T11:47:50.545912+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/build_system/building_extensions.html"}, {"content_hash": "345ce65cffce76ceca8a75ae26e5414fb85a2ab890bd3f7c0a3ce961995e2b59", "fetched_at": "2026-08-29T11:47:50.547899+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/extensions_design/extension_infos.html"}, {"content_hash": "85f11b9db368f4d294a74fe7d712534a9343abfd2b07517f15fa079e39fb36a1", "fetched_at": "2026-08-29T11:47:50.549728+00:00", "kind": "site_page", "missing": false, "url": "https://www.phpinternalsbook.com/php7/memory_management/memory_debugging.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5119, "days_push": 55, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}