The PHP Interpreter
Go to file
Anatol Belski 06332e6706 introduced DllMain for the main php DLL
The particular need on this is because of the current situation
with determining the background functionality for the
gettimeofday. DllMain allows to initialize stuff before the DLL
can be actually used. Thus, we use different time API on win7
and win8 and later, so the function pointer needs to be
initialized before anything in the DLL could even demand it.

The change also opens the door for the further optimizations,
as now we're able to do the very basic initializations for the
whole DLL before it could ever start to live. Fe on this way the
TLS initialization could be done, when utilizing the
DLL_THREAD_ATTACH/DETACH case. Whether it's really usable in
portable way should be synced with other platforms.

Be aware that it's dangerous as it possibly causes dead locks.
So to use with care. One willing to add items to DllMain should
better read the documentation twice and even then try to defer
the necessary action.
2015-06-02 15:56:32 +02:00
build Merge branch 'PHP-5.6' 2015-02-04 09:50:14 +01:00
ext introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
main move to 5.6.11-dev 2015-05-28 02:05:50 +02:00
netware bump year 2015-01-15 23:27:30 +08:00
pear reverting pear/install-pear-nozlib.phar as this mass php 5 -> php 7 string replace broke the file signature(phar files are binary) 2015-03-20 13:35:07 +01:00
sapi FIx darwin build 2015-05-31 14:52:08 -07:00
scripts Fix wrong display in ZTS checking 2015-05-12 17:32:01 +08:00
tests Merge context sensitive lexer RFC 2015-05-25 18:38:40 +02:00
travis Merge branch 'PHP-5.6' 2015-03-20 13:34:55 +01:00
TSRM backported patch for bug #69472 2015-04-28 15:31:47 +02:00
win32 introduced DllMain for the main php DLL 2015-06-02 15:56:32 +02:00
Zend Call zend_array_dup() instead of zval_copy_ctor(). 2015-06-02 12:03:34 +03:00
.gdbinit Fixed dump_bt and printzv 2015-02-09 22:43:22 +03:00
.gitattributes Remove set_magic_quotes_runtime 2015-01-17 18:26:45 +01:00
.gitignore add a custom built pear installer until we have an official release with php7 compat. see https://github.com/pear/pear-core/pull/33 for the details 2015-01-26 11:14:54 +01:00
.travis.yml Merge branch 'PHP-5.6' 2015-04-08 19:00:35 +02:00
acinclude.m4 Fixed PHP_CHECK_BUILTIN_EXPECT setting 2015-03-23 12:00:37 +03:00
buildconf
buildconf.bat
CODING_STANDARDS Small Spacing adjustments for better reading 2015-02-07 10:30:07 -06:00
config.guess Update config.guess and config.sub 2014-12-04 17:56:20 +00:00
config.sub Update config.guess and config.sub 2014-12-04 17:56:20 +00:00
configure.in move to 5.6.11-dev 2015-05-28 02:05:50 +02:00
CONTRIBUTING.md Add documentation contribution information. 2015-05-20 19:26:20 -05:00
CREDITS
EXTENSIONS JSON is now maintained 2015-02-17 20:44:40 +00:00
footer
genfiles
header Merge branch 'PHP-5.6' 2015-03-01 15:15:03 +08:00
INSTALL Fix typo in INSTALL 2015-05-12 09:58:08 +02:00
LICENSE Update copyright year to 2015 2015-01-17 12:58:00 +08:00
ltmain.sh
makedist
Makefile.frag Drop zend_indent() as it was never used, complete or working 2015-03-27 20:04:46 +01:00
Makefile.gcov
Makefile.global Add targets to simplify building PHP with FDO (Feedback Directed Optimisation) 2015-05-26 17:33:25 +03:00
makerpm fix the day of the week 2015-01-29 14:24:20 +08:00
NEWS Merge branch 'PHP-5.5' into PHP-5.6 2015-06-01 22:53:56 -07:00
php7.spec.in
php.gif
php.ini-development fix typo in php.ini 2015-05-01 12:38:07 +02:00
php.ini-production fix typo in php.ini 2015-05-01 12:38:07 +02:00
README.EXT_SKEL Fix the most obvious issues here. 2015-01-20 23:56:51 -08:00
README.GIT-RULES Formatting fixes for git rules file 2015-01-04 19:24:41 -08:00
README.input_filter
README.MAILINGLIST_RULES
README.md Use svg instead of png to get better image quality 2015-01-25 13:15:41 +08:00
README.namespaces
README.NEW-OUTPUT-API Fix typo php_end_ob_buffer 2015-02-02 18:01:50 +09:00
README.PARAMETER_PARSING_API improve zpp readme 2015-04-22 22:25:00 +02:00
README.REDIST.BINS
README.RELEASE_PROCESS Merge branch 'PHP-5.4' into PHP-5.5 2015-04-17 10:06:31 -07:00
README.SELF-CONTAINED-EXTENSIONS
README.STREAMS
README.SUBMITTING_PATCH
README.TESTING Update README.TESTING 2015-02-07 10:35:52 -06:00
README.TESTING2 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php Remove debug codes 2015-05-27 17:41:38 +08:00
server-tests-config.php
server-tests.php Remove set_magic_quotes_runtime 2015-01-17 18:26:45 +01:00
snapshot
stamp-h.in
stub.c
UPGRADING updated UPGRADING 2015-05-30 09:37:08 +02:00
UPGRADING.INTERNALS a bit more clearness fir --with-mp 2015-06-02 15:56:30 +02:00
vcsclean

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 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