Go to file
Bob Weinand afad979c60 Reduced initial VM_STACK page size of Generators to 4 KB (256 slots)
Generators all have their own vm_stack, but usually don't go really deep.
In most cases even most of the 4 KB will remain unused (in my tests average is rather 1 KB), but this was tested a straightforward implementation without a lot of abstraction layers.
That way I'm using a more conservative 4 KB stack size which really should be enough for, I think, at least 90% of the cases.
This was necessary to not immediately run out of memory with 95%+ usused vm_stack space: If you have a few thousands of Generators active, your application quickly hits memory_limit with a stack page size of 256 KB...
In addition, it's also a bit faster (70% less instructions for zend_vm_stack_new_page) due to emalloc() not having to allocate a whole new segment (segment size 256 KB). Also no mmap()/malloc() necessary.
2015-03-07 13:25:21 +01:00
build Merge branch 'PHP-5.6' 2015-02-04 09:50:14 +01:00
ext Fixed bug #69198 (Compact function generate array with length but no content) 2015-03-07 16:49:07 +08:00
main Merge branch 'PHP-5.6' 2015-03-05 21:18:09 -07:00
netware bump year 2015-01-15 23:27:30 +08:00
pear add php7 compatible pear installer built from their stable branch 2015-02-10 10:37:44 +01:00
sapi Revive Zend Signals handler (and fixed bug #61083) 2015-03-05 18:11:22 +08:00
scripts Merge branch 'PHP-5.6' 2015-01-21 16:26:36 +01:00
tests Fix test 2015-03-03 22:56:23 +08:00
travis Merge branch 'PHP-5.6' 2015-02-10 11:18:43 +01:00
TSRM improve debugability in TS debug builds 2015-02-17 19:15:22 +01:00
win32 fix invalid write 2015-03-06 16:42:31 +01:00
Zend Reduced initial VM_STACK page size of Generators to 4 KB (256 slots) 2015-03-07 13:25:21 +01: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-02-05 22:06:27 -08:00
acinclude.m4 Look for PDO include files in the right folder 2015-02-06 12:06:29 +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
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 5.6.8 up next 2015-03-05 19:07:23 +01: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 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
LICENSE Update year 2015-01-17 13:21:20 +08:00
ltmain.sh
makedist fix buglet in makedist 2014-01-21 13:25:23 -08: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 gcov data with some locales (again) 2014-06-03 17:22:16 -04:00
Makefile.global Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
makerpm fix the day of the week 2015-01-29 14:24:20 +08:00
NEWS Restored incorrectly merged NEWS 2015-03-07 15:07:48 +03:00
php7.spec.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php.gif
php.ini-development removed obsolete php.ini options 2015-02-10 08:48:19 +01:00
php.ini-production removed obsolete php.ini options 2015-02-10 08:48:19 +01: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 Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
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 drop exec perm on doc files 2014-06-05 17:45:22 +02:00
README.NEW-OUTPUT-API Fix typo php_end_ob_buffer 2015-02-02 18:01:50 +09:00
README.PARAMETER_PARSING_API Fix README.PARAMETER_PARSING_API 2015-01-09 14:52:23 +01:00
README.REDIST.BINS - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
README.RELEASE_PROCESS Merge branch 'PHP-5.4' into PHP-5.5 2015-01-22 21:28:21 +01:00
README.SELF-CONTAINED-EXTENSIONS added notes about the PECL site conformity 2013-10-14 16:07:26 +02:00
README.STREAMS Constify streams API and a few other calls down the rabbit hole. 2013-07-30 12:49:36 +02:00
README.SUBMITTING_PATCH Small tidy ups and raise visibility of GitHub PR process 2014-08-07 09:27:53 -07:00
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 Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
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 really only signal reports 2015-01-30 19:52:09 +01:00
server-tests-config.php typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-19 20:23:00 +00:00
server-tests.php Remove set_magic_quotes_runtime 2015-01-17 18:26:45 +01:00
snapshot
stamp-h.in
stub.c
UPGRADING Update UPGRADING with info about JSON decode error for empty string 2015-03-06 18:41:43 +00:00
UPGRADING.INTERNALS TSRMLS_* macros have been removed, user don't have to care about the change anymore 2015-02-06 11:46:38 +01:00
vcsclean Removed cvsclean and svnclean tools 2014-06-08 19:27:58 -07: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 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