summaryrefslogtreecommitdiff
path: root/main/php_globals.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #66048Julien Pauli2015-05-121-0/+2
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* force more static tsrmls cache usageAnatol Belski2014-10-071-1/+1
|
* reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS is already used in TSRM, the way exporting the tsrm cache through a thread local variable is not portable. Additionally, the current patch suffers from bugs which are hard to find, but prevent it to be worky with apache. What is done here is mainly uses the idea from the RFC patch, but - __thread variable is removed - offset math and declarations are removed - extra macros and definitions are removed What is done merely is - use an inline function to access the tsrm cache. The function uses the portable tsrm_tls_get macro which is cheap - all the TSRM_* macros are set to placebo. Thus this opens the way remove them later Except that, the logic is old. TSRMLS_FETCH will have to be done once per thread, then tsrm_get_ls_cache() can be used. Things seeming to be worky are cli, cli server and apache. I also tried to enable bz2 shared and it has worked out of the box. The change is yet minimal diffing to the current master bus is a worky start, IMHO. Though will have to recheck the other previously done SAPIs - embed and cgi. The offsets can be added to the tsrm_resource_type struct, then it'll not be needed to declare them in the userspace. Even the "done" member type can be changed to int16 or smaller, then adding the offset as int16 will not change the struct size. As well on the todo might be removing the hashed storage, thread_id != thread_id and linked list logic in favour of the explicit TLS operations.
* native tls initial patchkrakjoe2014-09-201-1/+1
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* master renames phase 1Anatol Belski2014-08-251-10/+10
|
* first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-10/+10
|
* Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * Merge branch 'PHP-5.6'Yasuo Ohgaki2014-02-131-0/+4
| |\ | | | | | | | | | | | | * PHP-5.6: Implement RFC https://wiki.php.net/rfc/default_encoding
| | * Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-131-0/+4
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-1/+1
|/ /
* | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\ \ | |/
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
| * fix typeMichael Wallner2013-12-301-1/+1
| |
| * re-introduce always_populate_raw_post_dataMichael Wallner2013-12-301-0/+1
|/
* slim post dataMichael Wallner2013-08-271-1/+0
|
* Implemented Feature #60524 (sys_temp_dir)ALeX Kazik2013-01-281-0/+1
| | | | | | | | | | | | Added a new configuration directive which allows it to change the temporary directory, the default behavior is unchanged. This is a useful option if you use all/some hosts inside of one .ini file with sections and want to change the temp dir per user (maybe it's not allowed to write outside the users home directory). Since the TMPDIR variable affects the whole php that way can not be used for this scenario. (see https://bugs.php.net/bug.php?id=60524)
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Added max_input_vars directive to prevent attacks based on hash collisionsDmitry Stogov2011-12-141-0/+1
|
* Implemented FR #54514 (Get php binary path during script execution).Xinchen Hui2011-12-071-0/+1
|
* Fix build on WindowsKalle Sommer Nielsen2011-09-131-0/+4
|
* - remove magic quotes support, functions are kept (see the NEWS entry for ↵Pierre Joye2011-07-221-4/+0
| | | | the details) for BC reasons but do not allow to set enable MQ
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Added enable_post_data_reading ini option to allow inhibiting POST data ↵Gustavo André dos Santos Lopes2010-12-091-0/+1
| | | | consumption.
* Removed safe_modeKalle Sommer Nielsen2010-04-261-6/+0
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* - Removed allow_call_time_pass_reference (Pierrick)Felipe Pena2010-04-261-1/+0
|
* Removed register_globalsKalle Sommer Nielsen2010-04-211-1/+0
|
* Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ↵Kalle Sommer Nielsen2010-04-151-1/+0
| | | | ext/session)
* Removed y2k_compliance ini option, making it "always" enabled internallyKalle Sommer Nielsen2010-04-121-2/+0
| | | | - The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Fixed bug #49627 (error_log to specified file does not log time according to ↵Dmitry Stogov2009-10-051-0/+2
| | | | date.timezone)
* [DOC]Ilia Alshanetsky2009-01-091-0/+3
| | | | | | | | | | | | | | | | | | Added mail logging functionality that allows logging of mail sent via mail() function THe logging functionality is disabled by default but can be enabled on a per-directory or globaly via 2 INI settings. The mail.log directive allows you to specify the file where each call to mail() will be logged. The log file will contain the path and line # of the calling script in addition to all of the headers indicated by the user. The mail.add_x_header directive will introduce a X-PHP-Originating-Script header that will contain the file name (no path) of the calling script and the uid of the script. This combination should be sufficient for the admin to locate the sending script.
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* exit_on_timeout patchRasmus Lerdorf2008-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | After the sigsetjmp change, this is patch #2 in an effort to get some sanity restored to signal handling in PHP. This patch does two things. First, it makes it possible to reset the timeout without resetting the signal handlers. This is important for cases where an extension may have deferred signals in its MINIT in order to implement critical sections. It also lays the groundwork for cleaning up our signal handling and perhaps eventually implementing our own signal deferring mechanism so we can have true critical sections. The second thing this does is to make it possible to terminate the current child process (only for Apache1 at the moment) on a timeout. There are a number of extensions that are unhappy about being longjmp'ed out of and when this happens on a timeout they are left in an inconsistent state. By turning on exit_on_timeout you can now force the process to terminate on a timeout which will clean up any hanging locks and/or memory left hanging after the longjmp.
* [DOC] add request_order INI variable to control $_REQUEST contentStanislav Malyshev2008-03-121-0/+2
| | | | | | # if not set (default), variables_order still is used # request_order accepts G,P and C
* MFH: User error handlers no longer catch supressed errorsEtienne Kneuss2008-03-081-2/+0
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH:Jani Taskinen2007-09-281-0/+3
| | | | | | | | | | | | | | | | | | | | - Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. - Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path. - Improved php.ini handling: . Added better error reporting for syntax errors in php.ini files . Allowed "ini-variables" to be used almost everywhere ini php.ini files . Allowed using alphanumeric/variable indexes in "array" ini options . Fixed get_cfg_var() to be able to return "array" ini options - Fixed bug #27372 (parse error loading browscap.ini at apache startup) - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric characters)
* MFH:- Changed "display_errors" php.ini option to accept "stderr" as value whichJani Taskinen2007-07-241-0/+4
| | | | | | MFH: makes the error messages to be outputted to STDERR instead of STDOUT with MFH: CGI and CLI SAPIs (FR #22839).
* Added ability to create local or remote (URL) user streamsDmitry Stogov2007-07-091-0/+1
| | | | | | | | | | | | | | Local user streams must not be able to open(), URLs if allow_url_include is off Implemented new function stream_is_local() [ - stream_wrapper_register() extended with additional optional argument "flags" of type long. This time only one flag is implemented - STREAM_IS_URL, that means that userstream wrapper is remote (URL). By default stream is local. - stream_is_local() is a new function that accepts stream and tell if this stream is local or remote (URL) ]
* limit nesting level of input variablesStanislav Malyshev2007-03-021-0/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* COM initialization/deinitialization are done only if necessaryDmitry Stogov2006-11-171-0/+3
|
* MFH: added error_get_last() functionMichael Wallner2006-07-191-0/+1
|
* MFH: Backported allow_url_include from HEAD. This directive allowsRasmus Lerdorf2006-06-161-0/+1
| | | | | | separate control of URL handling in includes/requires allowing sites to enable allow_url_fopen without enabling remote includes.
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|