php/php-src

php/php-src has 1,798,608 source lines of code out of 2,152,033 total lines across 2,812 files, counted from the master ref at commit b9ea38ef639f by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-20 (commit b9ea38ef639f), php/php-src contains 2,152,033 total lines: 1,798,608 code, 168,841 comments, 184,584 blank, across 2,812 files in 27 languages (top: C 62.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-20 (commit b9ea38ef639f), php/php-src contains 2,152,033 total lines: 1,798,608 code, 168,841 comments, 184,584 blank, across 2,812 files in 27 languages (top: C 62.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving php/php-src to commit b9ea38ef639f, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a very large codebase by counted code lines. Code represents 83.6% of all lines, comments represent 7.8%, and the repository averages 640 code lines per file. C accounts for 62.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C10921332268113171780235120316
C Header11326795215953303636247829
PHP1925673923518253397882
C++72197251381225993314
Lua889647234945785
M48177696267652850
Lex341533066416671
Module-Definition63046303961
Autoconf2032852868165252
GNU Style Assembly44546126082266587
Happy4297526070368
Bitbake827832457124202

Top language (C 62.9%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does php/php-src have?

php/php-src has 2,152,033 total lines, including 1,798,608 code lines, 168,841 comment lines, and 184,584 blank lines.

How was the php/php-src line count measured?

OctoCounts resolved the public GitHub repository to commit b9ea38ef639f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for php/php-src?

This OctoCounts report was generated from master at commit b9ea38ef639f on 2026-10-20T18:51:56.365304614+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for php/php-src on this page — 1,798,608 code lines across 12 languages, counted by tokei.