Commit Graph

5982 Commits

Author SHA1 Message Date
Dmitry Stogov
b6ae8a964b Fixed bug #48781 (Cyclical garbage collector memory leak) 2010-04-20 12:30:35 +00:00
Dmitry Stogov
7f18561bdc Updated version numbers 2010-04-20 11:17:25 +00:00
Dmitry Stogov
453b49ed20 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
2010-04-20 11:16:39 +00:00
Dmitry Stogov
0bba0bfdc8 regenerated files 2010-04-20 11:14:07 +00:00
Dmitry Stogov
dd5c478be6 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:05:54 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Dmitry Stogov
ea53dc5af6 Added an optimization which saves memory and emalloc/efree calls for empty HashTables 2010-04-20 10:49:22 +00:00
Dmitry Stogov
c373e5efdc Added a micro benchmark which measures the performance of some primitive operations. It's usefult to detect performance evaluation caused by new patches. 2010-04-20 10:44:19 +00:00
Stanislav Malyshev
c93a4f192b restore $this support for closures to its former glory 2010-04-19 19:45:03 +00:00
Stefan Marr
b501570ab0 Added traits test cases. No engine changes for now. [TRAITS]
#Getting accustomed to the infrastructure.
#Any comments are welcome, especially with regard to syntax and keywords.
2010-04-15 21:39:20 +00:00
Kalle Sommer Nielsen
a5304b138f Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session) 2010-04-15 16:36:08 +00:00
Stanislav Malyshev
5f6a39d531 change namespaced ctors - only __construct would work 2010-04-04 23:28:20 +00:00
Felipe Pena
fa76263481 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Stanislav Malyshev
de363cf818 fix #49192 - crash in GC when get_properties handler returns null 2010-04-01 22:54:03 +00:00
Stanislav Malyshev
cf4ea31bff fix #51394 - try harder to find script lineno when exception happens 2010-04-01 19:36:56 +00:00
Rasmus Lerdorf
9692a3619c Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Johannes Schlüter
e0f91992c0 Add some const declarations, makes C++ extension writers happy 2010-03-30 23:14:19 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Felipe Pena
f867fadd22 - Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include file and line in trace) 2010-03-07 02:17:11 +00:00
Felipe Pena
4149bb3dfd - New test 2010-03-07 00:57:19 +00:00
Felipe Pena
ea1447c3ce - Fixed bug #50810 (property_exists does not work for private) 2010-03-07 00:49:34 +00:00
Rasmus Lerdorf
c0b00711fa Fix test 2010-03-03 18:19:35 +00:00
Rasmus Lerdorf
e24fff2dac Turn on gc before we test it 2010-03-03 17:53:15 +00:00
Felipe Pena
c302509726 - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register) 2010-03-03 00:15:34 +00:00
Felipe Pena
79f618833f - Fixed bug #51176 (Static calling in non-static method behaves like $this->) 2010-03-02 00:16:40 +00:00
Pierre Joye
15a3c450b7 - those are in 5.3.2 now, merge to 5.3.2 section is coming 2010-02-11 21:17:13 +00:00
Jani Taskinen
e37ba52900 touch 2010-02-07 11:42:52 +00:00
Jani Taskinen
7a303b3328 - Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files) 2010-02-07 11:40:29 +00:00
Etienne Kneuss
18f8fa7ba3 Fix tests 2010-02-02 13:08:11 +00:00
Dmitry Stogov
694a72c5af Fixed bug #50723 (Bug in garbage collector causes crash) 2010-02-02 12:32:29 +00:00
Etienne Kneuss
191b52d272 Remove trailing dots 2010-02-02 04:49:02 +00:00
Pierre Joye
d839e3b9a4 - try again to get a crypto context when the key container did not exist (which is likely to be the case, on a 1st call) 2010-02-01 14:56:51 +00:00
Etienne Kneuss
cca05f1403 Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted in both orders) 2010-02-01 13:45:57 +00:00
Pierre Joye
5eb4db5e8f - Ensure that stderr output are not buffered, portability for tests 2010-01-25 14:47:19 +00:00
Ilia Alshanetsky
db8a6974fb Added test case for bug #44827 2010-01-25 13:08:43 +00:00
Rasmus Lerdorf
15e31de034 Fix gcc version check - bug #50771 2010-01-15 18:26:53 +00:00
Dmitry Stogov
d2f681cecd Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument) 2010-01-11 10:07:10 +00:00
Ilia Alshanetsky
bf0f58825e Year++ 2010-01-11 03:01:19 +00:00
Sebastian Bergmann
d2281d1dff sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php 2010-01-05 20:46:53 +00:00
Sebastian Bergmann
3defe76254 sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l 2010-01-05 20:40:23 +00:00
Ilia Alshanetsky
b63f178e97 Fixed bug #44827 (define() allows :: in constant names). 2009-12-30 19:15:11 +00:00
Dmitry Stogov
db8e4a089c Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument) 2009-12-25 13:11:18 +00:00
Stanislav Malyshev
b9acd57000 fix flags handling in zend_parse_method_parameters_ex 2009-12-24 00:15:13 +00:00
Felipe Pena
e83e52eba1 - New tests 2009-12-20 22:04:55 +00:00
Stanislav Malyshev
fc1e17ee76 fix regression bug #50394: Reference argument converted to value in __call 2009-12-18 19:12:11 +00:00
Jani Taskinen
b7608c91e4 touch 2009-12-18 12:48:59 +00:00
Felipe Pena
81ad353ec2 - Fixed bug #50464 (declare encoding doesn't work with)
# The bug (BC) only happens in this branch.
2009-12-13 15:18:58 +00:00
Felipe Pena
a94558c855 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Dmitry Stogov
6ab5f53d52 Fixed bug #49866 (Making reference on string offsets crashes PHP) 2009-12-07 08:47:18 +00:00