summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-2/+2
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Fix UNKNOWN default value of apache_note()Máté Kocsis2020-09-191-1/+1
| | | | Closes GH-6167
* Remove proto comments from C filesMax Semenik2020-07-061-16/+8
| | | | Closes GH-5758
* Fix MSVC level 1 (severe) warningsChristoph M. Becker2020-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | We fix (hopefully) all instances of: * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4005> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4024> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4028> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4047> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4087> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4090> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4273> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4312> `zend_llist_add_element()` and `zend_llist_prepend_element()` now explicitly expect a *const* pointer. We use the macro `ZEND_VOIDP()` instead of a `(void*)` cast to suppress C4090; this should prevent accidential removal of the cast by clarifying the intention, and makes it easier to remove the casts if the issue[1] will be resolved sometime. [1] <https://developercommunity.visualstudio.com/content/problem/390711/c-compiler-incorrect-propagation-of-const-qualifie.html>
* Implement #47074: phpinfo() reports "On" as 1 for the some extensionsChristoph M. Becker2020-06-041-3/+3
| | | | What is modified as boolean, should also be displayed as boolean.
* Add stubs for some SAPIsMáté Kocsis2020-05-141-15/+1
| | | | | For apache2handler, fpm, litespeed, phpdbg, specifically. Partially implements GH-5295
* Use RETURN_THROWS() during ZPP in main, sapi, win32, and ZendMáté Kocsis2019-12-301-7/+7
|
* Convert apache2handler arginfo to php stubsCraig Duncan2019-11-181-48/+11
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Use PHP_VERSION for zend modulesPeter Kokot2019-06-091-1/+1
| | | | Closes #4147
* Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-02-221-1/+1
|\ | | | | | | | | * PHP-7.3: Fix #77648: BOM in sapi/apache2handler/php_functions.c
| * Fix #77648: BOM in sapi/apache2handler/php_functions.cChristoph M. Becker2019-02-221-1/+1
| |
* | Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|/
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Use PHP_WIN32Kalle Sommer Nielsen2018-01-041-7/+7
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Remove Netware supportKalle Sommer Nielsen2016-11-121-3/+3
| | | | If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-24/+24
| |
* | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-151-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: made the apache ini holders to be zend_bool Removed useless local variable Use simpler functions Fixed test small fixes to UPGRADING Reorder to save alignment size (of course, only for common used structs)
| * | made the apache ini holders to be zend_boolAnatol Belski2014-12-151-3/+3
| | | | | | | | | | | | since they're documented to be so and we spare 16 byte
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-15/+15
|/ /
* | Fix zpp call in apache_getenv()Nikita Popov2014-12-061-2/+2
| |
* | fix unsigned checkAnatol Belski2014-11-181-2/+6
| |
* | Move smart_str implementation into Zend/Nikita Popov2014-09-211-1/+1
| | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
* | Update php_functions.cjfha732014-09-181-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-4/+4
| |
* | master renames phase 1Anatol Belski2014-08-251-2/+2
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-2/+2
| |
* | Added support for apache and apache2handler SAPIs (They seem slower than ↵Dmitry Stogov2014-05-061-6/+6
| | | | | | | | FastCGI)
* | Cleanup (1-st round)Dmitry Stogov2014-04-151-5/+5
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Added new parameter parsing option (p - for valid path (string without ↵Felipe Pena2011-06-061-2/+2
| | | | | | | | null byte in the middle)) # The tests will be fixed in the next commits
* - Year++Felipe Pena2011-01-011-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-1/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-1/+1
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH Fix apache2handler under Apache 2.3.0-alphaScott MacVicar2009-01-191-0/+8
|
* MFB: Improved parameter handlingIlia Alshanetsky2009-01-051-4/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-11-171-9/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+9
|