The PHP Interpreter
Go to file
Gustavo Lopes af1b90d62b Fix bug and hopefully build on WinSDK 6.1
There build was failing on rmtools on the sockets extension for two reasons:

  1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These are probably
  recent additions to SDK. Windows 7 doesn't event seem to have complete
  support for IPV6_TCLASS, not accepting in WSASendMsg(). The parts that
  needed this constant were not guarded by #ifdefs. They are now.

  2. The constants EWOULDBLOCK and EINPROGRESS not being defined. These
  were only defined in php_network.h, outside of the extension, and not
  all source files included this header. Nevertheless, a macro defined in
  php_sockets.h needed these constants. When this macro was used in files
  that did not include php_network.h, the compilation would fail.
  Surprisingly, the build did not fail when using the 7.1 Windows SDK
  (more likely, the CRT headers used in VC10), as somehow errno.h was
  being included through some other standard header. This would make the
  constant EWOULDBLOCK defined; however, it would be defined to the wrong
  value. In the winsock context, WSAEWOULDBLOCK should be used instead.
  Because we have difficulty using Windows-only constants in the code, we
  (re)define EWOULDBLOCK to WSAEWOULDBLOCK. This has the obvious
  disavantage we may miss problems like this again in the future.
2013-02-03 01:36:14 +01:00
build Fix building of pure C++ extensions as static 2011-08-09 18:12:06 +00:00
ext Fix bug and hopefully build on WinSDK 6.1 2013-02-03 01:36:14 +01:00
main Fix non-Windows build 2013-02-02 16:38:09 +01:00
netware Happy New Year 2013-01-01 16:37:09 +08:00
pear Removed safe_mode 2010-04-26 23:53:30 +00:00
sapi Merge branch 'PHP-5.4' into PHP-5.5 2013-02-01 19:26:11 +01:00
scripts Relax autoconf support from 2.60 to 2.59. This is the version available on Centos/RHEL/Oracle Linux 5.6 2011-06-08 01:25:35 +00:00
tests Implemented Feature #60524 (sys_temp_dir) 2013-01-28 22:37:43 -08:00
travis Travis: Silence configure and make 2012-08-26 17:46:01 +02:00
TSRM Happy New Year 2013-01-01 16:37:09 +08:00
win32 Remove some pre-vista code 2013-02-02 16:38:09 +01:00
Zend Fix bug #63830: Segfault on undefined function call in nested generator 2013-02-01 19:53:04 +01:00
.gdbinit Now we can set the tsrm_ls manually 2012-10-02 00:02:08 +08:00
.gitattributes Merge branch 'PHP-5.3' into PHP-5.4 2012-08-11 16:00:00 +08:00
.gitignore Ignore Zend/zend_dtrace_gen.h and Zend/zend_dtrace_gen.hbak 2012-12-16 09:07:55 +01:00
.travis.yml Make travis silent 2012-06-10 18:17:37 +04:00
acinclude.m4 Fixed bug #63706: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17 2012-12-16 08:51:17 +01:00
buildconf Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization. 2012-03-06 21:30:59 +00:00
buildconf.bat MFH: Check if configure script was copied, and output an error if it wasn't 2009-01-02 12:18:21 +00:00
CODING_STANDARDS Fix doc bug #63032 (Number of release in documentation). 2012-09-10 10:05:15 +08:00
config.guess - Fixed bug #63451 (config.guess file does not have AIX 7 defined, shared objects are not created) 2012-11-09 21:22:27 -02:00
config.sub - Upgraded bundled libtool to 1.5.26 2009-11-23 21:53:30 +00:00
configure.in This will be PHP 5.3.23 2013-01-31 00:57:29 +01:00
CREDITS
EXTENSIONS Added myself as curl maintainer 2011-12-04 16:46:45 +00:00
footer
genfiles - Give Marcus good old warm and fuzzy feeling.. :) 2008-03-26 15:04:57 +00:00
header Happy New Year 2013-01-01 16:37:09 +08:00
INSTALL Updated INSTALL. Generated from the XML Docs. 2012-08-22 23:40:48 -07:00
LICENSE Bump copyright year. 2012-03-20 11:14:59 +01:00
ltmain.sh - Upgraded bundled libtool to 1.5.26 2009-11-23 21:53:30 +00:00
makedist Build .xz archive during makedist 2012-11-13 17:09:29 +01:00
Makefile.frag Invoke re2c with --no-generation-date to prevent unintentional / unnecessary changes in generated files. 2012-12-06 09:28:35 +01:00
Makefile.gcov fix race condition in find (it was finding the copied files over and over again, and recursing forever) 2012-02-20 16:01:34 +00:00
Makefile.global let make test report the run-test result 2012-11-25 12:03:54 +08:00
makerpm
NEWS Fix bug #63830: Segfault on undefined function call in nested generator 2013-02-01 19:53:04 +01:00
php5.spec.in
php.gif
php.ini-development Implemented Feature #60524 (sys_temp_dir) 2013-01-28 22:37:43 -08:00
php.ini-production Implemented Feature #60524 (sys_temp_dir) 2013-01-28 22:37:43 -08:00
README.EXT_SKEL update the docs 2008-06-19 17:59:35 +00:00
README.EXTENSIONS
README.GIT-RULES PHP-5.5 is open 2012-11-13 17:08:49 +01:00
README.input_filter Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
README.MAILINGLIST_RULES MFH 2008-01-17 14:38:16 +00:00
README.md Add preliminary README.md for github 2012-06-03 18:49:47 +02:00
README.namespaces - MFH: Changed namespace separator 2009-04-03 14:37:02 +00:00
README.NEW-OUTPUT-API fix protos, and unintential double-patched content 2010-05-31 13:54:13 +00:00
README.PARAMETER_PARSING_API Update README.PARAMETER_PARSING_API 2013-01-09 17:16:40 +01:00
README.PHP4-TO-PHP5-THIN-CHANGES
README.REDIST.BINS - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
README.RELEASE_PROCESS having xz makes it three. thanks Mike Ford for spotting it 2013-01-30 17:39:13 +01:00
README.SELF-CONTAINED-EXTENSIONS
README.STREAMS
README.SUBMITTING_PATCH Restructure into PHP/PECL/PEAR component areas (at the expense of duplication) 2010-05-11 18:25:44 +00:00
README.TESTING clarification of wwwhether 'make test' needs the PHP xecutable to be set 2009-03-20 15:43:40 +00:00
README.TESTING2 Fixed bug#46445 (run-tests2.php is missing or README.TESTING2 is unneeded) 2008-11-05 17:15:50 +00:00
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM - if they are outdated/wrong, no need to confuse the users 2010-02-04 08:24:29 +00:00
run-tests.php count($test_files) already be checked above : if ($test_cnt) 2012-11-25 16:18:20 +08:00
server-tests-config.php
server-tests.php server-tests.php improvements: 2012-10-29 10:44:13 +11:00
snapshot
stamp-h.in
stub.c
svnclean.bat - rename to svn 2009-07-13 16:10:29 +00:00
UPGRADING Add news for bug #60524 2013-01-28 22:55:55 -08:00
UPGRADING.INTERNALS UPGRADING.INTERNALS: document zend_qsort_r 2013-01-14 17:27:20 +01:00
vcsclean MFH: dropped some more mime types, svnclean -> clean for multiple VCS 2009-07-16 04:50:06 +00: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 mailinglist 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 http://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.