1# These files are generated during building or development and are intentionally 2# untracked to ignore by Git. For other development environment specific files, 3# such as editor configuration, a good practice is to exclude them using the 4# .git/info/exclude in the cloned repository or a global .gitignore file. 5 6# ------------------------------------------------------------------------------ 7# Common files ignored across the repository 8# ------------------------------------------------------------------------------ 9 10# Backup copies created by various editors or development tools 11*~ 12 13# Patches downloaded to patch files or to apply open source contributions 14*.patch 15 16# Swap files created by editors and tools to indicate a locked file 17*.swp 18 19# Various temporary generated files 20*.tmp 21 22# ------------------------------------------------------------------------------ 23# Generated by the PHP build system 24# ------------------------------------------------------------------------------ 25 26# Archive library containing .o files, generated during build process 27*.a 28 29# Libtool library files generated during build process 30*.la 31 32# Directories created by Libtool for storing generated library files 33.libs/ 34 35# Library object files generated during build process 36*.lo 37 38# Temporary library object files generated by compiler and libtool due to failure 39*.loT 40 41# Standard object files generated during build process 42*.o 43 44# Dependency files generated during build process 45*.dep 46 47# Cache directories created by Autoconf tools 48autom4te.cache/ 49 50# Cache file(s) generated by Autoconf's configure when run as `configure -C` 51config.cache 52 53# A log file(s) generated by Autoconf during *nix build system 54config.log 55 56# Helper(s) generated by *nix build system to save the last configure command 57config.nice 58 59# Generated by Autoconf's configure script for instantiating templates 60config.status 61 62# Main *nix build system configuration script(s) generated by Autoconf 63configure 64 65# Generated by `./configure` when test programs create temporary files 66confdefs.h 67conftest* 68 69# Generated by configure scripts on all systems 70/main/internal_functions.c 71/main/internal_functions_cli.c 72 73# The Libtool script(s) generated by the *nix build system 74libtool 75 76# Makefile(s) generated from Makefile fragment templates by `./configure` 77Makefile 78Makefile.fragments 79Makefile.objects 80 81# Directories for shared object files and headers generated by `./configure` 82include/ 83libs/ 84modules/ 85 86# Used by build/gen_stub.php 87build/PHP-Parser-* 88 89# ------------------------------------------------------------------------------ 90# Configuration headers generated by the PHP build system 91# ------------------------------------------------------------------------------ 92config.h 93config.h.in 94/ext/date/lib/timelib_config.h 95/main/build-defs.h 96/main/php_config.h.in 97/main/php_config.h 98/Zend/zend_config.h 99 100# ------------------------------------------------------------------------------ 101# Manual (man 1 and 8) pages generated from templates for *nix alike systems 102# ------------------------------------------------------------------------------ 103/ext/phar/phar.1 104/ext/phar/phar.phar.1 105/sapi/cgi/php-cgi.1 106/sapi/cli/php.1 107/sapi/fpm/php-fpm.1 108/sapi/fpm/php-fpm.8 109/sapi/phpdbg/phpdbg.1 110/scripts/man1/*.1 111 112# ------------------------------------------------------------------------------ 113# SAPIs specific ignores 114# ------------------------------------------------------------------------------ 115/sapi/apache2handler/libphp.module 116/sapi/fpm/fpm/php-cgi 117/sapi/fpm/init.d.php-fpm 118/sapi/fpm/php-fpm.conf 119/sapi/fpm/php-fpm.service 120/sapi/fpm/status.html 121/sapi/fpm/www.conf 122 123# ------------------------------------------------------------------------------ 124# Executable binaries and scripts generated during the build process 125# ------------------------------------------------------------------------------ 126/ext/phar/phar.phar 127/ext/phar/phar.php 128/pear/install-pear-nozlib.phar 129/sapi/cgi/php-cgi 130/sapi/fpm/php-fpm 131/sapi/phpdbg/phpdbg 132/scripts/php-config 133/scripts/phpize 134php 135 136# ------------------------------------------------------------------------------ 137# Lexer files generated by re2c 138# ------------------------------------------------------------------------------ 139/ext/json/json_scanner.c 140/ext/json/php_json_scanner_defs.h 141/ext/pdo/pdo_sql_parser.c 142/ext/phar/phar_path_check.c 143/ext/standard/url_scanner_ex.c 144/ext/standard/var_unserializer.c 145/sapi/phpdbg/phpdbg_lexer.c 146/Zend/zend_ini_scanner.c 147/Zend/zend_ini_scanner_defs.h 148/Zend/zend_language_scanner.c 149/Zend/zend_language_scanner_defs.h 150 151# ------------------------------------------------------------------------------ 152# PHP parser files generated by bison during the build process 153# ------------------------------------------------------------------------------ 154/ext/json/json_parser.tab.h 155/ext/json/json_parser.tab.c 156/sapi/phpdbg/phpdbg_parser.c 157/sapi/phpdbg/phpdbg_parser.h 158/sapi/phpdbg/phpdbg_parser.output 159/Zend/zend_ini_parser.c 160/Zend/zend_ini_parser.h 161/Zend/zend_ini_parser.output 162/Zend/zend_language_parser.c 163/Zend/zend_language_parser.h 164/Zend/zend_language_parser.output 165 166# ------------------------------------------------------------------------------ 167# Extensions files 168# ------------------------------------------------------------------------------ 169 170# Miscellaneous extensions files 171/ext/opcache/jit/zend_jit_x86.c 172/ext/opcache/jit/zend_jit_arm64.c 173/ext/opcache/minilua 174 175# Generated by `cd ext/name && phpize && ./configure` 176/ext/*/build/ 177/ext/*/configure.ac 178/ext/*/run-tests.php 179 180# ------------------------------------------------------------------------------ 181# Generated by Windows build system 182# ------------------------------------------------------------------------------ 183 184# Generated by `/buildconf.bat` 185/configure.bat 186/configure.js 187 188# Generated by `/configure.(bat|js)` (architecture dependent) 189/config.nice.bat 190 191# NTS debug build x86 192/Debug/ 193 194# ZTS debug build x86 195/Debug_TS/ 196 197# NTS build x86 198/Release/ 199 200# ZTS build x86 201/Release_TS/ 202 203# Generated by x64 compiler, includes Debug, Debug_TS, Release, Release_TS 204/x64/ 205 206# Generated by arm64 compiler, includes Debug, Debug_TS, Release, Release_TS 207/arm64/ 208 209# Miscellaneous files generated by Windows build system 210/main/config.w32.h 211/win32/build/deplister.exe 212/win32/build/deplister.obj 213/win32/*.aps 214/win32/*.positions 215/win32/*.suo 216/win32/ext 217/win32/syslog.reg 218/win32/wsyslog.h 219 220# Standard object files generated by Visual Studio 221*.obj 222 223# ------------------------------------------------------------------------------ 224# Tests 225# ------------------------------------------------------------------------------ 226 227# Generated by `./run-tests.php` upon failure 228**/tests/**/*.diff 229**/tests/**/*.out* 230**/tests/**/*.php 231**/tests/**/*.exp 232**/tests/**/*.log 233**/tests/**/*.sh 234 235# Generated by some test cases 236**/tests/**/*.db 237 238# Microsoft Access database created for passing to tests 239/ext/pdo_odbc/tests/*.mdb 240 241# Files generated by `./run-tests.php -m` when checking for memory leaks 242**/tests/**/*.mem 243 244# Test results generated by `./run-tests.php` 245php_test_results_*.txt 246 247# Temporary test information generated by `./run-tests.php` 248/run-test-info.php 249 250# Temporary POST data placeholder files generated by `./run-tests.php` 251phpt.* 252 253# Temporary PHP INI configuration file(s) for tests, generated by `make test` 254tmp-php.ini 255 256# ------------------------------------------------------------------------------ 257# Generated by GCC's gcov and LCOV via build/Makefile.gcov and gcov.php.net 258# ------------------------------------------------------------------------------ 259*.gcda 260*.gcno 261/gcovr.xml 262/gcovr_html/ 263/lcov_html/ 264/php_lcov.info 265 266# ------------------------------------------------------------------------------ 267# Archives generated during the PHP release process 268# ------------------------------------------------------------------------------ 269/*.tar.gz 270/*.tar.bz2 271/*.tar.xz 272/*.tar.gz.asc 273/*.tar.bz2.asc 274/*.tar.xz.asc 275 276# ------------------------------------------------------------------------------ 277# Generated by `./configure --enable-dtrace` for using DTrace framework 278# ------------------------------------------------------------------------------ 279/ext/oci8/oci8_dtrace_gen.h 280/ext/oci8/oci8_dtrace_gen.h.bak 281/Zend/zend_dtrace_gen.h 282/Zend/zend_dtrace_gen.h.bak 283 284# ------------------------------------------------------------------------------ 285# GitHub actions cache 286# ------------------------------------------------------------------------------ 287/branch-commit-cache.json 288/junit.out.xml 289/.ccache/ 290 291# ------------------------------------------------------------------------------ 292# Special cases to invert previous ignore patterns 293# ------------------------------------------------------------------------------ 294!/ext/bcmath/libbcmath/src/config.h 295!/ext/fileinfo/libmagic/config.h 296!/ext/fileinfo/libmagic.patch 297!/ext/fileinfo/magicdata.patch 298!/ext/pcre/pcre2lib/config.h 299!/win32/build/Makefile 300