The PHP Interpreter
Go to file
Márcio Almada a75decd452 implement context sensitive language with lexical feedback
The implementation has no regression risks, has an even smaller footprint
compared to the previous attempt involving a pure lexical approach, is higly
predictable and higly configurable.

To turn a word semi-reserved you only need to edit the "SEMI_RESERVED" parser rule,
it's an inclusive list of all the words that should be matched as T_STRING on specific contexts.
Example:

```
method_modifiers function returns_ref indentifier '(' parameter_list ')' ...
```

instead of:

```
method_modifiers function returns_ref T_STRING '(' parameter_list ')' ...
```

TODO: port ext tokenizer
2015-04-30 03:03:29 -03:00
build Merge branch 'PHP-5.6' 2015-02-04 09:50:14 +01:00
ext Improve fast_is_[not_]identical() functions to teturn value instead of takeing additional arguments. 2015-04-29 16:43:23 +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 implement context sensitive language with lexical feedback 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
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
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
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
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
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php really only signal reports 2015-01-30 19:52:09 +01: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 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

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