summaryrefslogtreecommitdiff
path: root/Zend/zend_globals.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ | | | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Improved parse error messagesFelipe Pena2011-06-231-0/+1
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | . The VM stacks for passing function arguments and syntaticaly nested calls ↵Dmitry Stogov2012-11-301-2/+0
| | | | | | | | | | | | were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
* | Fix lexing of nested heredoc strings in token_get_all()Nikita Popov2012-03-311-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #60097. Before two global variables CG(heredoc) and CG(heredoc_len) were used to track the current heredoc label. In order to support nested heredoc strings the *previous* heredoc label was assigned as the token value of T_START_HEREDOC and the language_parser.y assigned that to CG(heredoc). This created a dependency of the lexer on the parser. Thus the token_get_all() function, which accesses the lexer directly without also running the parser, was not able to tokenize nested heredoc strings (and leaked memory). Same applies for the source-code highlighting functions. The new approach is to maintain a heredoc_label_stack in the lexer, which contains all active heredoc labels. As it is no longer required, T_START_HEREDOC and T_END_HEREDOC now don't carry a token value anymore. In order to make the work with zend_ptr_stack in this context more convenient I added a new function zend_ptr_stack_top(), which retrieves the top element of the stack (similar to zend_stack_top()).
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Improved parse error messagesFelipe Pena2011-06-231-0/+1
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* * Refactor zend_multibyte facility.Moriyoshi Koizumi2010-12-191-5/+2
| | | | | Now mbstring.script_encoding is superseded by zend.script_encoding.
* Removed compile time dependency from ext/mbstringDmitry Stogov2010-12-081-5/+0
|
* Added multibyte suppport by default. Previosly php had to be compiled with ↵Dmitry Stogov2010-11-241-7/+1
| | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
* - Improved memory usageDmitry Stogov2010-09-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | . zend_function.pass_rest_by_reference is replaced by ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags . zend_arg_info.required_num_args removed. it was needed only for internal functions. Now the first arg_info for internal function (which has special meaning) is represented by zend_internal_function_info structure. . zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count moved into CG(context), because they are used only during compilation. . zend_op_array.start_op is moved into EG(start_op), because it's used only for 'interactive' execution of single top-level op-array. . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in zend_op_array.fn_flags. . op_array.vars array is trimmed (reallocated) during pass_two. . zend_class_entry.constants_updated is replaced by ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags . the size of zend_class_entry is reduced by sharing the same memory space by different information for internal and user classes. See zend_class_inttry.info union.
* improved performance of @ (silence) operatorDmitry Stogov2010-08-181-0/+3
|
* Eliminated useless allocation of FPU control word on each request startupDmitry Stogov2010-07-091-1/+5
|
* - MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)Felipe Pena2010-06-301-1/+0
| | | | | # To commit a new common fix
* - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)Felipe Pena2010-06-271-0/+1
|
* - Interned string related callbacks moved turned from compiler_globals into ↵Dmitry Stogov2010-05-251-4/+0
| | | | | | | real globals - Updated API version number
* Fixed ZTS buildDmitry Stogov2010-05-241-1/+1
|
* - Removed allow_call_time_pass_reference (Pierrick)Felipe Pena2010-04-261-1/+0
|
* Added concept of interned strings. All strings constants known at compile ↵Dmitry Stogov2010-04-201-0/+12
| | | | time are allocated in a single copy and never changed.
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* Fixed bug #47038 (Memory leak in include)Dmitry Stogov2009-03-251-2/+0
|
* Fixed floating point mathematic speed degradation (Christian)Dmitry Stogov2009-03-181-0/+2
|
* - add EG(windows_version_info), set at init time once per instancePierre Joye2009-01-161-0/+1
| | | | | contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Added support for namespaces with brackets. (Greg)Dmitry Stogov2008-11-251-0/+2
|
* - MFH Improve exception linkingMarcus Boerger2008-08-141-1/+1
|
* - MFH Fix memleak with new error handling stack'ingMarcus Boerger2008-08-111-1/+0
|
* - Revived zend multibyteMoriyoshi Koizumi2008-07-241-13/+14
|
* implemented again zend-multibyte for PHP 5.3Rui Hirokawa2008-06-291-0/+33
|
* Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas)Scott MacVicar2008-04-091-1/+1
|
* MFH: Implemented "jump label" operator (limited "goto")Felipe Pena2008-03-281-0/+3
| | | | | [DOC]
* Make the sigsetjmp change more robust. On systems that don't haveRasmus Lerdorf2008-03-181-1/+1
| | | | | | | sigsetjmp use setjmp. Windows is of course weird in that it seems to have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in config.w32.h.in
* Use sigsetjmp and siglongjmp instead of setjmp/longjmp in order to beRasmus Lerdorf2008-03-181-1/+1
| | | | | | | | | consistent in how we deal with the signal mask. POSIX doesn't specify what to do with the signal mask in setjmp/longjmp which has resulted in the signal mask getting saved on *BSD and not getting saved on Linux. Making the behaviour explicit via sigsetjmp/siglongjmp gives us consistency and saves expensive sigprocmask() syscalls on *BSD.
* MFH: Dropped zend.ze1_compatibility_modeFelipe Pena2008-03-181-1/+0
| | | | | [DOC]
* Implemented concept of "delayed early binding" that allows opcode caches to ↵Dmitry Stogov2008-03-181-4/+5
| | | | | | | | | | | | | | | | | | | | | | perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. The following pseudo-code explains how it should be used in opcode cache. function cache_compile_file($filename) { if (!is_cached($filename)) { ... orig_compiler_options = CG(compiler_optins); CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; $op_array = orig_compile_file($filename); CG(compiler_options) = orig_copiler_options; ... } else { $op_array = restore_from_cache($filename); } zend_do_delayed_early_binding($op_array); }
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-161-53/+29
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* User error handlers no longer catch supressed errors (patch by Etienne Kneuss)Felipe Pena2008-03-081-0/+4
|
* Changed EG(argument_stack) implementation.Dmitry Stogov2008-01-241-1/+2
|
* Changed exception handling. Now each op_array doesn't contain ↵Dmitry Stogov2008-01-211-0/+1
| | | | ZEND_HANDLE_EXCEPTION opcode in the end
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed bug #43136 (possible crash on script execution timeout. The ↵Dmitry Stogov2007-11-201-1/+0
| | | | EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
* Added support for Late Static Binding. (Dmitry, Etienne Kneuss)Dmitry Stogov2007-09-291-0/+1
|
* NamespacesDmitry Stogov2007-09-281-0/+3
|
* 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: Bump year.Sebastian Bergmann2007-01-011-1/+1
|