The PHP Interpreter
Go to file
Márcio Almada 110759386e ext tokenizer port + cleanup unused lexer states
we basically added a mechanism to store the token stream during parsing
and exposed the entire parser stack on the tokenizer extension through
an opt in flag: token_get_all($src, TOKEN_PARSE).

this change allows easy future language enhancements regarding context
aware parsing & scanning without further maintance on the tokenizer
extension while solves known inconsistencies "parseless" tokenizer
extension has when it handles `__halt_compiler()` presence.
2015-04-30 03:03:29 -03:00
build Merge branch 'PHP-5.6' 2015-02-04 09:50:14 +01:00
ext ext tokenizer port + cleanup unused lexer states 2015-04-30 03:03:29 -03:00
main Clean up some type conversions 2015-04-27 18:50:08 +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 Print should be in *current* context (stack) 2015-04-25 19:15:08 +02:00
scripts Merge branch 'PHP-5.6' 2015-01-21 16:26:36 +01:00
tests add tests for semi reserved words and remove obsolete ones 2015-04-30 03:03:29 -03: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 fix include with vc14 2015-04-22 22:26:06 +02:00
Zend ext tokenizer port + cleanup unused lexer states 2015-04-30 03:03:29 -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 Changed zend_smart_str allocation granularity to do the better job together with Zend MM and avoid useless calls to erealloc(). 2015-04-16 14:45:08 +03: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 copyright year to 2015 2015-01-17 12:58:00 +08:00
ltmain.sh
makedist fix buglet in makedist 2014-01-21 13:25:23 -08: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 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 updated NEWS and fixed a typo 2015-04-28 17:08:03 +02:00
php7.spec.in Replaces php5 with php7, without whitespace changes. 2014-09-20 10:01:44 +02:00
php.gif
php.ini-development Hmm, zend.assertions is not really on/off, but -1/0/1 2015-04-19 14:42:31 +02:00
php.ini-production Hmm, zend.assertions is not really on/off, but -1/0/1 2015-04-19 14:42:31 +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 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 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 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
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 updated NEWS and fixed a typo 2015-04-28 17:08:03 +02:00
UPGRADING.INTERNALS Add some missed entry 2015-04-11 09:48:09 +08: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