Go to file
Peter Kokot d3ca28f569 Remove HAVE_STRING_H
The C89 standard and later defines the `<string.h>` header as part of
the standard headers [1] and on current systems it is always present.

Code included also `<strings.h>` header as an alterinative in some
files. This kind of check was relevant on some older systems where the
`<strings.h>` file included definitions for the C89 compliant
`<string.h>`. Today such alternative check is not required anymore. The
`<strings.h>` file is part of the POSIX definition these days.

Also Autoconf suggests doing this and relying on C89 or above [2] and [3].

This patch also cleans few unused `<strings.h>` inclusions in the libmbfl.

[1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
2018-09-18 05:32:08 +02:00
appveyor Merge branch 'PHP-7.2' into PHP-7.3 2018-09-13 11:06:47 +02:00
build Make PHP development tools files and scripts executable 2018-08-29 20:58:17 +02:00
ext Remove HAVE_STRING_H 2018-09-18 05:32:08 +02:00
main Remove HAVE_STRING_H 2018-09-18 05:32:08 +02:00
pear pear 1.10 was released and the go-pear and install pear phars are now php7 compatible 2015-10-07 13:56:47 +02:00
sapi Fix localized error messages and memory leaks 2018-09-17 10:56:50 +02:00
scripts Make PHP development tools files and scripts executable 2018-08-29 20:58:17 +02:00
tests Use EXPECT instead of EXPECTF when possible 2018-09-16 15:39:18 -03:00
travis Use system libzip by default 2017-09-11 09:23:01 +02:00
TSRM Remove unused buildsystem files in TSRM 2018-09-04 12:04:11 +02:00
win32 Remove HAVE_STRING_H 2018-09-18 05:32:08 +02:00
Zend Remove HAVE_STRING_H 2018-09-18 05:32:08 +02:00
.appveyor.yml Merge branch 'PHP-7.2' into PHP-7.3 2018-09-12 12:11:47 +02:00
.editorconfig Update .editorconfig with some more configs 2017-10-19 11:53:37 +01:00
.gdbinit Adds print_global_vars to gdbinit 2018-05-26 22:05:06 +02:00
.gitattributes Remove Git ident attribute from the iconv extension 2018-06-16 12:49:55 +02:00
.gitignore Fix config.guess and config.sub files in .gitignore 2018-09-18 05:21:19 +02:00
.travis.yml Switch Travis build to Xenial 2018-09-17 17:10:49 +02:00
acinclude.m4 Remove unused HAVE_BROKEN_GLIBC_FOPEN_APPEND 2018-09-17 20:59:16 +02:00
buildconf Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
buildconf.bat
CODING_STANDARDS [ci skip] Extended class naming rule 2018-08-06 13:31:02 +02:00
config.guess Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
config.sub Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
configure.ac Remove HAVE_STRING_H 2018-09-18 05:32:08 +02:00
CONTRIBUTING.md PHP 7.1 is the new hotness 2018-01-06 21:12:12 +01:00
CREDITS Update http to https 2018-06-25 08:31:32 +02:00
EXTENSIONS [ci skip] Fix EXTENSIONS 2018-08-13 16:24:29 +02:00
footer
genfiles make it possible to set the re2c and yacc paths via environment variables for genfiles 2015-06-11 00:13:08 +02:00
header Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
INSTALL Update http to https 2018-06-25 08:31:32 +02:00
LICENSE Happy new year (Update copyright to 2018) 2018-01-02 23:42:29 +02:00
ltmain.sh
makedist Remove unused PHP_PROG_LEX macro 2018-07-29 10:53:21 +02:00
Makefile.frag Drop zend_indent() as it was never used, complete or working 2015-03-27 20:04:46 +01:00
Makefile.gcov Fix PCRE2 exclusion and remove dead libs in Makefile.gcov 2018-09-08 10:04:10 -03:00
Makefile.global Merge branch 'PHP-7.2' into PHP-7.3 2018-08-04 06:37:15 +02:00
NEWS Merge branch 'PHP-7.3' 2018-09-17 20:31:36 -04:00
php7.spec.in
php.gif
php.ini-development Update grammar and clarify wording in couple places 2018-09-03 22:04:37 +02:00
php.ini-production Update grammar and clarify wording in couple places 2018-09-03 22:04:37 +02:00
README.EXT_SKEL Update README.EXT_SKEL 2017-11-10 05:34:13 +00:00
README.GIT-RULES [ci skip] Typo 2018-07-31 22:41:11 -07:00
README.input_filter Normalize filter phpinfo() output 2018-06-02 13:35:22 +02:00
README.MAILINGLIST_RULES
README.md Update http to https 2018-06-25 08:31:32 +02:00
README.NEW-OUTPUT-API Remove old SVN keywords substitutions 2018-06-16 13:04:30 +02:00
README.PARAMETER_PARSING_API [ci skip] Document zend_parse_parameters_none() 2018-07-03 18:58:37 +02:00
README.REDIST.BINS Update README.REDIST.BINS 2018-06-02 18:58:46 +02:00
README.RELEASE_PROCESS UPDATE README.GIT-RULES wrt. PHP-7.3 2018-07-31 17:06:44 +02:00
README.SELF-CONTAINED-EXTENSIONS Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
README.STREAMS Fix some misspellings 2018-08-12 16:15:45 +02:00
README.SUBMITTING_PATCH
README.TESTING Fix SKIPIF section 2018-02-08 17:18:26 +01:00
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM [ci skip] Update link 2018-03-10 09:40:50 +01:00
run-tests.php Use combined assignment contanation operator 2018-09-07 23:33:17 -03:00
server-tests-config.php
server-tests.php Fix some misspellings 2018-08-12 16:15:45 +02:00
snapshot
stamp-h.in
UPGRADING Revert "Implement #67331: Have parse_ini_file add empty entries" 2018-09-15 17:08:58 +02:00
UPGRADING.INTERNALS Make ext/xml API private 2018-09-16 11:07:40 +02:00
vcsclean Support "git worktree" 2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://git.php.net.

Build Status Build status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through https://git.php.net.

Guidelines for contributors