php/php-src SLOC report

As of 2026-07-22 (commit 83eea8793043), php/php-src contains 2,135,531 total lines: 1,785,546 code, 167,514 comments, 182,471 blank, across 2,795 files in 27 languages (top: C 62.9%). Counted with tokei via OctoCounts.

As of 2026-07-22 (commit 83eea8793043), php/php-src contains 2,135,531 total lines: 1,785,546 code, 167,514 comments, 182,471 blank, across 2,795 files in 27 languages (top: C 62.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving php/php-src to commit 83eea8793043, 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 639 code lines per file. C accounts for 62.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C10891321213112282879457118928
C Header11256766785933113604847319
PHP1905591522996251607759
C++70192481341825913239
Lua889647234945785
M48076716198635838
Lex341743077423674
Autoconf2032852868165252
Happy4298626170369
GNU Style Assembly44546126082266587
Bitbake827832457124202
Module-Definition51842183561

Top language (C 62.9%). Generated at 2026-07-22T16:33:21.515987478+00:00.

Report FAQ

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

php/php-src has 2,135,531 total lines, including 1,785,546 code lines, 167,514 comment lines, and 182,471 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 83eea8793043, 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 83eea8793043 on 2026-07-22T16:33:21.515987478+00:00.

Similar repository reports

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