]> granicus.if.org Git - php/log
php
14 years agofix test
Antony Dovgal [Mon, 26 Apr 2010 13:44:23 +0000 (13:44 +0000)]
fix test

14 years agofix skipif sections
Antony Dovgal [Mon, 26 Apr 2010 13:41:43 +0000 (13:41 +0000)]
fix skipif sections

14 years ago- Fix test
Felipe Pena [Mon, 26 Apr 2010 13:41:00 +0000 (13:41 +0000)]
- Fix test

14 years ago- Fix #51582, Don't assume UINT64_C it's ever available
Pierre Joye [Mon, 26 Apr 2010 10:34:06 +0000 (10:34 +0000)]
- Fix #51582, Don't assume UINT64_C it's ever available

14 years agoUpdate tests related to allow_call_time_pass_reference
Pierrick Charron [Mon, 26 Apr 2010 00:27:04 +0000 (00:27 +0000)]
Update tests related to allow_call_time_pass_reference

14 years ago- Remove empty tests
Felipe Pena [Mon, 26 Apr 2010 00:21:18 +0000 (00:21 +0000)]
- Remove empty tests

14 years ago- Removed allow_call_time_pass_reference (Pierrick)
Felipe Pena [Mon, 26 Apr 2010 00:13:34 +0000 (00:13 +0000)]
- Removed allow_call_time_pass_reference (Pierrick)

14 years agofix ~450 tests and 25 segfaults
Antony Dovgal [Sun, 25 Apr 2010 19:17:16 +0000 (19:17 +0000)]
fix ~450 tests and 25 segfaults
make test, anyone?

14 years agomention which setting!
Hannes Magnusson [Sun, 25 Apr 2010 18:55:06 +0000 (18:55 +0000)]
mention which setting!

14 years agoRemove unused variable
David Soria Parra [Sun, 25 Apr 2010 18:34:36 +0000 (18:34 +0000)]
Remove unused variable

14 years agoFix #51532 (Invalid prototype for SplFileInfo::fscanf)
Etienne Kneuss [Sun, 25 Apr 2010 05:18:42 +0000 (05:18 +0000)]
Fix #51532 (Invalid prototype for SplFileInfo::fscanf)

14 years ago- Fixed memory leak
Felipe Pena [Sat, 24 Apr 2010 16:59:09 +0000 (16:59 +0000)]
- Fixed memory leak

14 years agoAdd DTrace probes
David Soria Parra [Sat, 24 Apr 2010 13:32:30 +0000 (13:32 +0000)]
Add DTrace probes

14 years agoInitialize vars to prevent valgrind warnings in some cases
Christopher Jones [Sat, 24 Apr 2010 00:44:56 +0000 (00:44 +0000)]
Initialize vars to prevent valgrind warnings in some cases

14 years ago- Fix regexp
Felipe Pena [Fri, 23 Apr 2010 19:20:55 +0000 (19:20 +0000)]
- Fix regexp

14 years agoAdd PHP_VALUE and PHP_ADMIN_VALUE interpretation from fastcgi headers.
Jérôme Loyet [Fri, 23 Apr 2010 16:05:52 +0000 (16:05 +0000)]
Add PHP_VALUE and PHP_ADMIN_VALUE interpretation from fastcgi headers.
It works as php_value and php_admin_value from the main conf file or apache sapi.

See bug (request) #51595

14 years agoRemove unused functions / variables / #if 0 blocks
Jérôme Loyet [Fri, 23 Apr 2010 15:09:28 +0000 (15:09 +0000)]
Remove unused functions / variables / #if 0 blocks

14 years agotypo
Jérôme Loyet [Fri, 23 Apr 2010 13:56:14 +0000 (13:56 +0000)]
typo

14 years agoFix for bug #51647 Certificate file without private key (pk in another file) doesn...
Andrey Hristov [Fri, 23 Apr 2010 13:54:40 +0000 (13:54 +0000)]
Fix for bug #51647 Certificate file without private key (pk in another file) doesn't work

14 years ago- Fixed compiler warnings
Felipe Pena [Fri, 23 Apr 2010 13:32:03 +0000 (13:32 +0000)]
- Fixed compiler warnings

14 years agofix WS
Antony Dovgal [Fri, 23 Apr 2010 09:11:44 +0000 (09:11 +0000)]
fix WS

14 years agoUse fast class fetch function
Dmitry Stogov [Fri, 23 Apr 2010 08:56:03 +0000 (08:56 +0000)]
Use fast class fetch function

14 years agotypo and errors in php-fpm.conf
Jérôme Loyet [Fri, 23 Apr 2010 08:06:49 +0000 (08:06 +0000)]
typo and errors in php-fpm.conf

14 years ago- Fix memory issue
Felipe Pena [Fri, 23 Apr 2010 02:57:49 +0000 (02:57 +0000)]
- Fix memory issue

14 years ago- Fix Windows build (Kalle)
Felipe Pena [Fri, 23 Apr 2010 01:56:03 +0000 (01:56 +0000)]
- Fix Windows build (Kalle)

14 years ago- Fix function signature
Felipe Pena [Fri, 23 Apr 2010 01:43:27 +0000 (01:43 +0000)]
- Fix function signature

14 years ago- Fix ZTS code and CS
Felipe Pena [Fri, 23 Apr 2010 00:54:51 +0000 (00:54 +0000)]
- Fix ZTS code and CS

14 years ago- Fix zend_hash_apply_with_arguments() calls on ZTS
Felipe Pena [Thu, 22 Apr 2010 23:25:05 +0000 (23:25 +0000)]
- Fix zend_hash_apply_with_arguments() calls on ZTS

14 years agoUpdate the deprecated directives in the MakeFile
Kalle Sommer Nielsen [Thu, 22 Apr 2010 23:23:10 +0000 (23:23 +0000)]
Update the deprecated directives in the MakeFile

14 years ago- Fixed ZTS build & comment-style
Felipe Pena [Thu, 22 Apr 2010 23:16:15 +0000 (23:16 +0000)]
- Fixed ZTS build & comment-style

14 years agoFor real this time :-/
Kalle Sommer Nielsen [Thu, 22 Apr 2010 22:57:35 +0000 (22:57 +0000)]
For real this time :-/

14 years agoFix the sys_getloadavg() test
Kalle Sommer Nielsen [Thu, 22 Apr 2010 22:41:42 +0000 (22:41 +0000)]
Fix the sys_getloadavg() test

14 years agoImplemented Traits for PHP as proposed in the RFC [TRAITS]
Stefan Marr [Thu, 22 Apr 2010 22:05:56 +0000 (22:05 +0000)]
Implemented Traits for PHP as proposed in the RFC [TRAITS]

# RFC http://wiki.php.net/rfc/horizontalreuse#traits_-_reuse_of_behavior
# Ok, here we go, I guess that will result in more discussion, which is fine
# by me. But now, the patch is here, and properly archived.
#
# See below a list of notes to the patch, it also includes a list of
# points which should be fixed
#
# Internals of the Traits Patch
# -----------------------------
#
# Open TODOs
# """"""""""
#
# - Reflection API
# - support for traits for internal classes
#   - currently destroy_zend_class does not handle that case
#
# Introduced Structures
# """""""""""""""""""""
#
# Data structures to encode the composition information specified in the
# source:
#  - zend_trait_method_reference
#  - zend_trait_precedence
#  - zend_trait_alias
#
# Changes
# """""""
#
# zend_class_entry
#  - uses NULL terminated lists of pointers for
#    - trait_aliases
#    - trait_precedences
#    - do you prefer an explicit counter?
#    - the information is only necessary during class composition
#      but might be interesting for reflection
#    - did not want to blow up class further with not really necessary length counters
#
# added keywords
#   - trait
#   - insteadof
#
# Added opcodes
#  ZEND_ADD_TRAIT
#    - similar to ZEND_ADD_INTERFACE
#    - adds the trait to the list of traits of a class, no actual composition done
#  ZEND_BIND_TRAITS
#    - emitted in zend_do_end_class_declaration
#    - concludes the class definition and will initiate the trait composition
#      when the class definition is encountered during runtime
#
# Added Flags
#   ZEND_ACC_TRAIT = 0x120
#   ZEND_ACC_IMPLEMENT_TRAITS = 0x400000
#   ZEND_FETCH_CLASS_TRAIT = 14
#
# zend_vm_execute.h
#  - not sure whether the handler initialization (ZEND_ADD_TRAIT_SPEC_HANDLER,
#    ZEND_BIND_TRAITS_SPEC_HANDLER) is correct, maybe it should be more selective
#
# zend_compile.c
#  - refactored do_inherit_method_check
#    split into do_inherit_method_check and do_inheritance_check_on_method
#  - added helper functions use a '_' as prefix and are not mentioned in the
#    headers
#  - _copy_functions
#    prepare hash-maps of functions which should be merged into a class
#    here the aliases are handled
#  - _merge_functions
#    builds a hash-table of the methods which need to be added to a class
#    does the conflict detection
#  - reused php_runkit_function_copy_ctor
#    - it is not identical with the original code anymore, needed to update it
#      think I fixed some bugs, not sure whether all have been reported back to runkit
#    - has to be renamed, left the name for the moment, to make its origin obvious
#    - here might be optimization potential
#    - not sure whether everything needs to be copied
#      - copying the literals might be broken
#        - added it since the literals array is freed by efree and gave problems
#          with doubled frees
#      - all immutable parts of the zend_op array should not be copied
#        - am not sure which parts are immutable
#        - and not sure how to avoid doubled frees on the same arrays on shutdown
#  - _merge_functions_to_class
#    does the final merging with the target class to handle inherited
#    and overridden methods
#  - small helper for NULL terminated lists
#    zend_init_list, zend_add_to_list
#
# zend_language_parser.y
#  - reused class definition for traits
#    - there should be something with regard to properties
#      - if they get explicitly defined, it might be worthwhile to
#        check that there are no collisions with other traits in a composition
#        (however, I would not introduce elaborate language features to control that
#         but a notice for such conflicts might be nice to the developers)

14 years agoChanged the exclusion keyword from 'instead' to 'insteadof'. [TRAITS]
Stefan Marr [Thu, 22 Apr 2010 21:56:55 +0000 (21:56 +0000)]
Changed the exclusion keyword from 'instead' to 'insteadof'. [TRAITS]
#That was suggested several times already, but am still not sure whether that really reads better.
#Especially since only the trait is mentioned, since the method name would be duplicated anyway.

14 years ago- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors)
Felipe Pena [Thu, 22 Apr 2010 20:54:35 +0000 (20:54 +0000)]
- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors)

14 years agoChange the way the allocator is called - through an abstraction
Andrey Hristov [Thu, 22 Apr 2010 16:28:50 +0000 (16:28 +0000)]
Change the way the allocator is called - through an abstraction
to give the possibility of pluggability. Thanks to the macros
already used the changes are not pervasive.

14 years agoFix problem spotted by Felipe.
Andrey Hristov [Thu, 22 Apr 2010 16:22:56 +0000 (16:22 +0000)]
Fix problem spotted by Felipe.

14 years agofix typo
Antony Dovgal [Thu, 22 Apr 2010 16:00:45 +0000 (16:00 +0000)]
fix typo

14 years agorevert most of the Andrey's patch that causes segfaults
Antony Dovgal [Thu, 22 Apr 2010 15:59:44 +0000 (15:59 +0000)]
revert most of the Andrey's patch that causes segfaults
(as agreed with Pierre)

14 years agoRemoved unused function
Dmitry Stogov [Thu, 22 Apr 2010 15:51:03 +0000 (15:51 +0000)]
Removed unused function

14 years agoadding what last commit was missing
Andrey Hristov [Thu, 22 Apr 2010 15:14:45 +0000 (15:14 +0000)]
adding what last commit was missing

14 years agoRemove dead code and add possibility to fine tune the size of
Andrey Hristov [Thu, 22 Apr 2010 15:07:40 +0000 (15:07 +0000)]
Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).

14 years agoOptimized access to global constants using values with pre-calculated hash_values...
Dmitry Stogov [Thu, 22 Apr 2010 15:03:17 +0000 (15:03 +0000)]
Optimized access to global constants using values with pre-calculated hash_values from litersls table

14 years ago- Removed unused variables
Felipe Pena [Thu, 22 Apr 2010 13:28:53 +0000 (13:28 +0000)]
- Removed unused variables

14 years agoAdd the posibility to switch off the compilation of statistics
Andrey Hristov [Thu, 22 Apr 2010 13:03:44 +0000 (13:03 +0000)]
Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.

14 years agoZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF
Dmitry Stogov [Thu, 22 Apr 2010 11:56:45 +0000 (11:56 +0000)]
ZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF

14 years agoinitialize variable. this code still segfaults in OpenSSL, no idea why
Antony Dovgal [Thu, 22 Apr 2010 11:56:08 +0000 (11:56 +0000)]
initialize variable. this code still segfaults in OpenSSL, no idea why

14 years ago- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading

14 years ago- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 08:58:07 +0000 (08:58 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading

14 years agocorrect wrong comparison (thx to felipe)
Jérôme Loyet [Thu, 22 Apr 2010 07:14:06 +0000 (07:14 +0000)]
correct wrong comparison (thx to felipe)

14 years agoFix for bug #51604 (newline in end of header is shown in start of message).
Adam Harvey [Thu, 22 Apr 2010 02:22:49 +0000 (02:22 +0000)]
Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.

14 years agoRemoved the session 4.2 bug compatibility mode
Kalle Sommer Nielsen [Thu, 22 Apr 2010 01:07:48 +0000 (01:07 +0000)]
Removed the session 4.2 bug compatibility mode

14 years agoRemove old dsp/dsw/makefile files, these arent used by the build system anymore and...
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:36:49 +0000 (23:36 +0000)]
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions

14 years ago- Fix ZTS build
Felipe Pena [Wed, 21 Apr 2010 23:22:20 +0000 (23:22 +0000)]
- Fix ZTS build

14 years agoUpdated copyright year
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:19:39 +0000 (23:19 +0000)]
Updated copyright year

14 years agoDrop php_register_var(), Thanks Felipe
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:16:56 +0000 (23:16 +0000)]
Drop php_register_var(), Thanks Felipe

14 years agoUpdated copyright year
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:07:54 +0000 (23:07 +0000)]
Updated copyright year

14 years agoRemoved session_is_registered(), session_register() and session_unregister().
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:03:16 +0000 (23:03 +0000)]
Removed session_is_registered(), session_register() and session_unregister().
 -- They are no longer needed without register_globals

14 years agoswitch the configuration syntax from xml to ini
Jérôme Loyet [Wed, 21 Apr 2010 22:56:33 +0000 (22:56 +0000)]
switch the configuration syntax from xml to ini
It's been describe in the RFC: http://wiki.php.net/rfc/fpm/ini_syntax

14 years agoRemoved import_request_variables(), this is not needed anymore without register_globals
Kalle Sommer Nielsen [Wed, 21 Apr 2010 22:23:55 +0000 (22:23 +0000)]
Removed import_request_variables(), this is not needed anymore without register_globals

14 years ago- Fixed bug #51627 (script path not correctly evaluated)
Felipe Pena [Wed, 21 Apr 2010 22:22:31 +0000 (22:22 +0000)]
- Fixed bug #51627 (script path not correctly evaluated)
  Patch by: russell dot tempero at rightnow dot com

14 years ago- Dropped unused HL_BG_COLOR (Kalle)
Felipe Pena [Wed, 21 Apr 2010 22:06:18 +0000 (22:06 +0000)]
- Dropped unused HL_BG_COLOR (Kalle)

14 years agoAdded missing zend_parse_parameters_none() call to sys_getloadavg()
Kalle Sommer Nielsen [Wed, 21 Apr 2010 22:04:19 +0000 (22:04 +0000)]
Added missing zend_parse_parameters_none() call to sys_getloadavg()

14 years agoRemove highlight.bg, it was removed in the old trunk and its not referenced in zend_h...
Kalle Sommer Nielsen [Wed, 21 Apr 2010 21:56:24 +0000 (21:56 +0000)]
Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3.

14 years agoRemove unused variable
Pierrick Charron [Wed, 21 Apr 2010 16:00:46 +0000 (16:00 +0000)]
Remove unused variable

14 years ago- Fix ZTS build
Felipe Pena [Wed, 21 Apr 2010 15:08:10 +0000 (15:08 +0000)]
- Fix ZTS build

14 years agoEliminated unnecessary compile-time hash_value recalculation for interned strings
Dmitry Stogov [Wed, 21 Apr 2010 14:58:33 +0000 (14:58 +0000)]
Eliminated unnecessary compile-time hash_value recalculation for interned strings

14 years ago- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Felipe Pena [Wed, 21 Apr 2010 14:19:27 +0000 (14:19 +0000)]
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
  Patch by: ejsmont dot artur at gmail dot com

14 years ago- Fix mem. leak
Felipe Pena [Wed, 21 Apr 2010 12:52:24 +0000 (12:52 +0000)]
- Fix mem. leak

14 years agoRemoved register_globals
Kalle Sommer Nielsen [Wed, 21 Apr 2010 01:27:22 +0000 (01:27 +0000)]
Removed register_globals

14 years agotypo
Jérôme Loyet [Tue, 20 Apr 2010 23:31:13 +0000 (23:31 +0000)]
typo

14 years agoAdd a check request_method. If fcgi protocol is not followed, a segfault can occur.
Jérôme Loyet [Tue, 20 Apr 2010 23:28:20 +0000 (23:28 +0000)]
Add a check request_method. If fcgi protocol is not followed, a segfault can occur.

14 years agoChange php_defines in configuration file to php_value,php_admin_value,php_flag,php_ad...
Jérôme Loyet [Tue, 20 Apr 2010 21:13:40 +0000 (21:13 +0000)]
Change php_defines in configuration file to php_value,php_admin_value,php_flag,php_admin_flag (as in the apache sapi).
php_admin* sets values as ZEND_INI_SYSTEM mode while php_* sets values as ZEND_INI_USER

14 years agoHardening the reads of mysqlnd.
Andrey Hristov [Tue, 20 Apr 2010 20:02:32 +0000 (20:02 +0000)]
Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.

This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.

14 years agoadd test for self:: and static::
Stanislav Malyshev [Tue, 20 Apr 2010 19:46:30 +0000 (19:46 +0000)]
add test for self:: and static::

14 years agoput the trigger in the right place
Andrey Hristov [Tue, 20 Apr 2010 19:09:56 +0000 (19:09 +0000)]
put the trigger in the right place

14 years agoIt is possible that change user tries an user who has old password.
Andrey Hristov [Tue, 20 Apr 2010 18:04:24 +0000 (18:04 +0000)]
It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.

14 years ago- Improve test
Felipe Pena [Tue, 20 Apr 2010 16:45:46 +0000 (16:45 +0000)]
- Improve test

14 years ago- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)
Felipe Pena [Tue, 20 Apr 2010 16:24:21 +0000 (16:24 +0000)]
- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)

14 years ago- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Felipe Pena [Tue, 20 Apr 2010 15:59:01 +0000 (15:59 +0000)]
- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
  Patch by: cbandy at jbandy dot com

14 years agoFixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
Dmitry Stogov [Tue, 20 Apr 2010 15:41:35 +0000 (15:41 +0000)]
Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)

14 years agoWS
Johannes Schlüter [Tue, 20 Apr 2010 15:29:03 +0000 (15:29 +0000)]
WS

14 years ago- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)
Felipe Pena [Tue, 20 Apr 2010 14:11:53 +0000 (14:11 +0000)]
- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)

14 years ago- Fix copyrights
Felipe Pena [Tue, 20 Apr 2010 13:50:34 +0000 (13:50 +0000)]
- Fix copyrights

14 years agofix ZTS build
Antony Dovgal [Tue, 20 Apr 2010 12:53:43 +0000 (12:53 +0000)]
fix ZTS build

14 years agofix build
Antony Dovgal [Tue, 20 Apr 2010 12:50:02 +0000 (12:50 +0000)]
fix build

14 years agoFixed bug #48781 (Cyclical garbage collector memory leak)
Dmitry Stogov [Tue, 20 Apr 2010 12:30:35 +0000 (12:30 +0000)]
Fixed bug #48781 (Cyclical garbage collector memory leak)

14 years ago- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Felipe Pena [Tue, 20 Apr 2010 11:49:23 +0000 (11:49 +0000)]
- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com

14 years agoUpdated version numbers
Dmitry Stogov [Tue, 20 Apr 2010 11:17:25 +0000 (11:17 +0000)]
Updated version numbers

14 years agoAdded a number of small performance tweaks and optimizations
Dmitry Stogov [Tue, 20 Apr 2010 11:16:39 +0000 (11:16 +0000)]
Added a number of small performance tweaks and optimizations
  . ZEND_RECV now always has IS_CV as its result
  . ZEND_CATCH now has to be used only with constant class names
  . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order

14 years agoregenerated files
Dmitry Stogov [Tue, 20 Apr 2010 11:14:07 +0000 (11:14 +0000)]
regenerated files

14 years agoAdded concept of interned strings. All strings constants known at compile time are...
Dmitry Stogov [Tue, 20 Apr 2010 11:07:05 +0000 (11:07 +0000)]
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.

14 years agoAdded concept of interned strings. All strings constants known at compile time are...
Dmitry Stogov [Tue, 20 Apr 2010 11:05:54 +0000 (11:05 +0000)]
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.

14 years agoChanged the structure of op_array.opcodes. The constant values are moved from opcode...
Dmitry Stogov [Tue, 20 Apr 2010 10:57:45 +0000 (10:57 +0000)]
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table

14 years agoAdded an optimization which saves memory and emalloc/efree calls for empty HashTables
Dmitry Stogov [Tue, 20 Apr 2010 10:49:22 +0000 (10:49 +0000)]
Added an optimization which saves memory and emalloc/efree calls for empty HashTables

14 years agoAdded a micro benchmark which measures the performance of some primitive operations...
Dmitry Stogov [Tue, 20 Apr 2010 10:44:19 +0000 (10:44 +0000)]
Added a micro benchmark which measures the performance of some primitive operations. It's usefult to detect performance evaluation caused by new patches.

14 years agofix infinite loop in the test
Antony Dovgal [Tue, 20 Apr 2010 10:04:26 +0000 (10:04 +0000)]
fix infinite loop in the test

14 years agoAdded explanatory comments to filter_input and filter_input_array to document
Adam Harvey [Tue, 20 Apr 2010 04:31:11 +0000 (04:31 +0000)]
Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).

14 years agofix 64-bit integer overflow in mhash_keygen_s2k
Stanislav Malyshev [Tue, 20 Apr 2010 00:45:07 +0000 (00:45 +0000)]
fix 64-bit integer overflow in mhash_keygen_s2k

14 years agotrue/false was not a valid value for boolean directives
Jérôme Loyet [Mon, 19 Apr 2010 20:45:03 +0000 (20:45 +0000)]
true/false was not a valid value for boolean directives