Go to file
Kalle Sommer Nielsen 36b050c2c5 Get rid of these slow calls to LoadLibrary()/GetProcAddress() calls on Windows, we require Windows Vista as bare minimum for PHP anyway, so it does not make any sense to do this slow emulation anyway.
GD:
 - PrintWindow() is available as of Windows XP, it requires linking to User32.lib, which config.w32 for ext/gd already.

CLI:
 - The borrowed functions from PostgreSQL to set the titles of the console window uses SetConsoleTitle() and GetConsoleTitle(), both are available as of Windows 2000 from Kernel32.lib which we already are linking against.

Standard:
 - The disk space utility functions uses GetDiskFreeSpaceExA() which is available as of Windows XP, again links to Kernel32.lib.
 - The symlink() PHP function uses CreateSymbolicLinkA() which is available from Windows Vista, again from Kernel32.lib.
 - php_get_windows_name() in info.c uses GetNativeSystemInfo() which is available as of Windows XP and GetProductInfo() which is available as of Windows Vista, both are again from Kernel32.lib.

Notes:
 - ext/interbase & ext/pdo_firebird uses GetProcAddress(), I'm not entirely sure how to handle this one.
 - ext/sqlite3, this is apart of the bundled libsqlite3, I don't really wanna play around with our bundled libs and make it a bigger issue for those who maintain and upgrade them.
 - ext/readline, the call to GetProcAddress() here does not do any system calls, so it is left as is.
 - win32/ioutil.c uses GetProcAddress(), but the function it attempts to load (PathCchCanonicalizeEx()) is only available from Windows 8 and greater (Pathcch.lib linkage).
 - win32/time.c uses GetSystemTimePreciseAsFileTime() which is available from Windows 8 and greater to get the current system date and time which the highest possible precision and falls back to GetSystemTimeAsFileTime() (available as of Windows 2000), again Kernel32.lib, the GetSystemTimePreciseAsFileTime() is left in a GetProcAddress().
2016-08-11 02:09:50 +02:00
build
ext Get rid of these slow calls to LoadLibrary()/GetProcAddress() calls on Windows, we require Windows Vista as bare minimum for PHP anyway, so it does not make any sense to do this slow emulation anyway. 2016-08-11 02:09:50 +02:00
main Update php_version.h 2016-08-07 17:52:37 +02:00
netware
pear
sapi Get rid of these slow calls to LoadLibrary()/GetProcAddress() calls on Windows, we require Windows Vista as bare minimum for PHP anyway, so it does not make any sense to do this slow emulation anyway. 2016-08-11 02:09:50 +02:00
scripts
tests Merge branch 'PHP-7.0' 2016-07-14 23:22:41 +02:00
travis
TSRM Also fix TSRM on Windows 2016-07-30 17:32:53 +02:00
win32 Get rid of these slow calls to LoadLibrary()/GetProcAddress() calls on Windows, we require Windows Vista as bare minimum for PHP anyway, so it does not make any sense to do this slow emulation anyway. 2016-08-11 02:09:50 +02:00
Zend Merge branch 'PHP-7.1' 2016-08-08 21:01:28 +01:00
.gdbinit
.gitattributes
.gitignore
.travis.yml
acinclude.m4 Bump minimal OpenSSL version to 1.0.1 2016-07-17 17:21:07 +01:00
buildconf
buildconf.bat
CODING_STANDARDS Update CODING_STANDARDS 2016-05-18 17:45:12 +02:00
config.guess
config.sub
configure.in 5.6.26 will be next 2016-08-04 01:39:37 +02:00
CONTRIBUTING.md
CREDITS
EXTENSIONS
footer
genfiles
header
INSTALL
LICENSE
ltmain.sh
makedist
Makefile.frag
Makefile.gcov
Makefile.global
makerpm
NEWS Update to SQLite 3.14.0 2016-08-10 18:09:38 +02:00
php7.spec.in
php.gif
php.ini-development Merge branch 'PHP-7.0' into PHP-7.1 2016-07-29 13:07:43 +02:00
php.ini-production Merge branch 'PHP-7.0' into PHP-7.1 2016-07-29 13:07:43 +02:00
README.EXT_SKEL
README.GIT-RULES
README.input_filter
README.MAILINGLIST_RULES
README.md Fix typo 2016-06-04 19:06:59 +02:00
README.namespaces
README.NEW-OUTPUT-API
README.PARAMETER_PARSING_API
README.REDIST.BINS
README.RELEASE_PROCESS
README.SELF-CONTAINED-EXTENSIONS
README.STREAMS
README.SUBMITTING_PATCH
README.TESTING
README.TESTING2
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php Fix phpdbg ZTS watchpoint+shutdown sequences & opcache+watchpoints 2016-07-12 20:50:51 +02:00
server-tests-config.php
server-tests.php
snapshot
stamp-h.in
stub.c
UPGRADING Update NEWS and UPGRADING 2016-08-10 14:53:27 +09:00
UPGRADING.INTERNALS move the internal only info into UPGRADING.INTERNALS 2016-07-11 11:22:00 +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 http://git.php.net.

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 http://git.php.net.

Guidelines for contributors