Dmitry Stogov
2188f26c45
Fixed bug #52614 (Memory leak when writing on uninitialized variable returned from method call)
2010-08-25 09:14:36 +00:00
Dmitry Stogov
d93cf2a2d0
Bug #52361 (Throwing an exception in a destructor causes invalid catching)
2010-08-16 09:20:46 +00:00
Felipe Pena
05e25f0099
- Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
2010-08-01 15:26:54 +00:00
Felipe Pena
e914d90643
- Fixed bug #52484 (__set() ignores setting properties with empty names)
2010-08-01 13:27:02 +00:00
Dmitry Stogov
ca4de03eed
ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED flag any more. Thit is very rare and useless case. ZEND_FREE might be required after them instead.
2010-07-16 13:38:09 +00:00
Dmitry Stogov
8aad91d14a
Simplified string offset reading
2010-07-16 11:44:30 +00:00
Dmitry Stogov
ab67865d21
Fixed bug #52237 (Crash when passing the reference of the property of a non-object)
2010-07-05 09:08:35 +00:00
Felipe Pena
3396a6d185
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Felipe Pena
cb6bf19bfa
- Fixed bug #51421 (Abstract __construct constructor argument list not enforced)
2010-06-26 22:05:13 +00:00
Felipe Pena
d98de7d248
- Fixed bug #52160 (Invalid E_STRICT redefined constructor error)
2010-06-26 19:19:16 +00:00
Felipe Pena
72bc2a9ae8
- Fixed tests
2010-06-26 17:17:47 +00:00
Felipe Pena
87c87daaf3
- Fixed bug #52193 (converting closure to array yields empty array)
2010-06-26 17:14:33 +00:00
Dmitry Stogov
d868733cc3
Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function)
2010-06-15 08:22:51 +00:00
Felipe Pena
eb0ba9068d
- Allow write context on array dereferencing from method return
...
- New tests
2010-06-12 16:11:10 +00:00
Felipe Pena
2c2fcc2217
- Fixed bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+)
2010-06-12 15:30:21 +00:00
Felipe Pena
ba0486f96c
- Fixed bug #52060 (Memory leak when passing a closure to method_exists())
2010-06-11 23:20:13 +00:00
Dmitry Stogov
743a2e29c1
Fixed bug #51822i (Segfault with strange __destruct() for static class variables)
2010-06-10 11:45:51 +00:00
Dmitry Stogov
63c7b02424
Fixed bug #52001 (Memory allocation problems after using variable variables)
2010-06-10 09:13:22 +00:00
Stefan Marr
e6bd5368ad
Fixed issue with statics in traits.
...
#Please review this change, I moved the routine which copies statics from the closure code to zend_variables.c
#Please also have a look to check whether the TSRMLS_DC is correct, and whether it fits with the rest in zend_variables, because there you are using some macro magic and I am not exactly sure what the reason is for that.
2010-06-08 15:56:36 +00:00
Felipe Pena
99c31b31ec
- Added array dereferencing support [DOC]
...
# http://wiki.php.net/rfc/functionarraydereferencing
2010-06-08 00:05:29 +00:00
Johannes Schlüter
0262fdf3e9
- A method called like a trait is no constructor
2010-05-29 20:01:08 +00:00
Ilia Alshanetsky
45a2014ce1
Improved test
2010-05-24 20:04:12 +00:00
Ilia Alshanetsky
33fae4caa0
Added support for numeric & scalar type hint as defined within
...
http://wiki.php.net/rfc/typecheckingstrictandweak RFC
2010-05-24 18:32:59 +00:00
Ilia Alshanetsky
ab9de550e2
Allow arbitrary number of space characters between type-hint and method/function parameter
2010-05-23 18:09:32 +00:00
Derick Rethans
1bc9247651
- Added scalar typehinting.
2010-05-20 19:18:35 +00:00
Felipe Pena
f5f4a35927
- Fixed bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters)
2010-05-14 23:48:03 +00:00
Felipe Pena
bcd9a87e2a
- Fixed bug #51791 (constant() aborts execution when fail to check undefined constant)
2010-05-13 02:13:30 +00:00
Dmitry Stogov
d352196bd6
Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
2010-05-11 16:09:43 +00:00
Felipe Pena
a7c129af16
- Fix typo (take 3! thanks Chris and Tony)
2010-05-07 17:57:09 +00:00
Felipe Pena
91c46fd26e
- Fix error message wording (Kalle)
2010-05-07 17:18:49 +00:00
Felipe Pena
c95b4ace40
- Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits
...
# It's the last one now, thus the traits can be used to implement interfaces
2010-05-07 16:29:15 +00:00
Felipe Pena
74fe9dd89e
- Fixed magic method and constructor copy for traits
2010-05-07 13:55:27 +00:00
Felipe Pena
5d701938a3
- Added check for constant creation on Traits
...
- Simplified trait flag check
- Test++ :)
2010-05-07 11:09:35 +00:00
Felipe Pena
7b7463bb8a
- New tests
2010-05-06 19:21:11 +00:00
Felipe Pena
ba5edd5035
- New tests
2010-05-06 15:49:58 +00:00
Felipe Pena
6e8db0b35a
- New tests
2010-05-04 19:06:13 +00:00
Antony Dovgal
c23d902e0b
fix tests
2010-04-29 12:48:06 +00:00
Antony Dovgal
eacfa022b1
fix skipif section
2010-04-29 12:43:18 +00:00
Felipe Pena
7ab8fd9c0a
- Fix test
2010-04-26 13:41:00 +00:00
Felipe Pena
c4630c0da2
- Remove empty tests
2010-04-26 00:21:18 +00:00
Felipe Pena
0a6bcd44a7
- Removed allow_call_time_pass_reference (Pierrick)
2010-04-26 00:13:34 +00:00
Stefan Marr
05a9649043
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.
2010-04-22 21:56:55 +00:00
Kalle Sommer Nielsen
9d395a4a2b
Removed import_request_variables(), this is not needed anymore without register_globals
2010-04-21 22:23:55 +00:00
Kalle Sommer Nielsen
9a38f301d6
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.
2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285
Removed register_globals
2010-04-21 01:27:22 +00:00
Stanislav Malyshev
10a9f48eee
add test for self:: and static::
2010-04-20 19:46:30 +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
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