Felipe Pena
4442b3f7a8
- Fixed tests
2011-07-31 18:51:15 +00:00
Stefan Marr
88f497f27d
Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
2011-07-31 18:18:56 +00:00
Stefan Marr
dbc6849bca
Added __TRAIT__ magic constant [TRAITS] [DOC]
...
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
70aad763e9
Fixed test which was assuming that E_STRICT is not on by default.
2011-07-31 16:15:40 +00:00
Felipe Pena
b07c3c3e01
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
...
patch by: Gustavo Lopes (cataphract@php)
2011-07-31 12:27:47 +00:00
Dmitry Stogov
b32445d4f3
Reverted Gopal's patch that allowed plugable interned string check
...
1. It introduced a significant slowdown
2. It didn't fix the real problem in APC (I'm goint to commit the fix)
2011-07-28 12:01:42 +00:00
Gopal Vijayaraghavan
8089b31002
merge to trunk - Allow zend_is_interned_string to be pluggable
2011-07-28 03:03:06 +00:00
David Soria Parra
0beb0e7056
Check if given string is long enough in zend_*_strtod
2011-07-27 14:17:45 +00:00
Pierre Joye
4d0f1bfeb4
- add binary suport, FR #50638 , as defined in RFC https://wiki.php.net/rfc/binnotation4ints , patch by Jonah Harris
2011-07-27 00:14:02 +00:00
Felipe Pena
06f18d8cca
- Fix compiler warning
2011-07-25 11:51:43 +00:00
Felipe Pena
28461a5f3c
- Use ZEND_FE_END macro here
2011-07-25 11:50:10 +00:00
Felipe Pena
f8a3334c89
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
2011-07-25 11:30:53 +00:00
Stanislav Malyshev
7bb8f9eecb
Change E_ALL to include E_STRICT
2011-07-23 22:07:22 +00:00
Pierre Joye
cbe0ed86e7
- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays , 2nd solution using => only
2011-07-23 20:23:21 +00:00
Stefan Marr
c9fdd777fb
Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS)
2011-07-23 18:12:31 +00:00
Stefan Marr
f295302af6
Fixed bug in the handling of conflicting property initializers for traits.
...
# Bug was uncovered by discussion in http://news.php.net/php.internals/54129
# Forgot to check the actual value of the initializer comparison, only checked
# whether comparison was successful which is not enough.
2011-07-23 13:48:07 +00:00
Pierre Joye
f169f6f478
- should not have been applied
2011-07-22 11:42:15 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Derick Rethans
ecd9d194d0
- Added a check for an enviroment variable (ZEND_DONT_UNLOAD_MODULES) that, if
...
set, prevents PHP from dl_closing() modules on shutdown.
- This makes it possible to spot memory leaks with valgrind in shared modules.
2011-07-14 12:21:15 +00:00
Stanislav Malyshev
35f19cb969
remove warning for is_a() BC
2011-07-12 05:20:40 +00:00
Dmitry Stogov
0f3e70fe01
Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
2011-07-11 10:31:49 +00:00
Dmitry Stogov
fb6440b4f1
Fixed bug #55150 (php -a segfaults)
2011-07-11 07:10:30 +00:00
Felipe Pena
62e4cfc2d0
- Added zend_is_auto_global_quick function
2011-07-10 15:03:38 +00:00
Felipe Pena
31a69cd480
- Year++
2011-07-10 13:05:32 +00:00
Felipe Pena
17a7fd0656
- Minor optimization taking the computed hash of interned strings
2011-07-10 12:37:42 +00:00
Felipe Pena
5d20a8f801
- Minor optimization, use the computed hash when available
2011-07-10 02:00:00 +00:00
Felipe Pena
0fe6fd9e89
- Changed zend_resolve_class_name() prototype
...
# No needed to pass fetch_type as pointer here
2011-07-09 17:27:59 +00:00
Felipe Pena
5cb1602aab
- Minor optimization and clean up
2011-07-09 12:06:11 +00:00
Felipe Pena
31c043e7af
- CS and WS
2011-07-08 19:52:21 +00:00
Felipe Pena
866240200f
- Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
2011-07-07 23:07:14 +00:00
Dmitry Stogov
3931078e7f
Fixed bug #55135 (Array keys are no longer type casted in unset())
2011-07-06 12:04:02 +00:00
Felipe Pena
8cf3c27f82
- Fixed bug #55137 (Changing trait static method visibility)
2011-07-06 00:33:38 +00:00
Dmitry Stogov
34b8924f95
Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
2011-07-04 14:55:39 +00:00
Felipe Pena
5f33819f9c
- Removed accidental offsetof definition
2011-07-03 01:29:23 +00:00
Felipe Pena
0124c28610
- Fixed bug #55086 (Namespace alias does not work inside trait's use block)
...
patch by: Pierrick
2011-07-02 17:12:20 +00:00
Felipe Pena
bcf7e60d4c
- Fixed build on Windows
2011-06-24 00:38:53 +00:00
Felipe Pena
72f7be3df0
- Improved parse error messages
2011-06-23 23:00:53 +00:00
Felipe Pena
c6b73c85ba
- Fix broken code in 64bit
2011-06-20 22:59:55 +00:00
Patrick Allaert
101c6a3831
Fixed typo
2011-06-20 17:49:19 +00:00
Felipe Pena
58d41e5753
- Optimize property finding by zend_hash_quick_find
2011-06-20 02:04:13 +00:00
Felipe Pena
d188a36547
- Simplify function code
2011-06-20 01:36:23 +00:00
Felipe Pena
b26f6cb0f6
- Avoid re-hash here too
2011-06-20 01:21:47 +00:00
Felipe Pena
142ce5c949
- Minor optimization (avoid to re-hash already computed var name hash)
2011-06-19 21:56:09 +00:00
Felipe Pena
c34b86c454
- Removed unnecessary TSRMLS_FETCH
2011-06-19 20:16:08 +00:00
Stanislav Malyshev
e09ad36f00
fix test with floats - make it not produce different result
...
on 32 and 64 bit
2011-06-19 18:52:58 +00:00
Felipe Pena
b0bbfee7e8
- Fix test
2011-06-19 00:18:17 +00:00
Felipe Pena
6ef38daf0e
- Fixed compiler warning (redefinition of offsetof)
2011-06-18 18:11:27 +00:00
Felipe Pena
60ae440721
- New tests for new feature
2011-06-14 02:05:37 +00:00
Felipe Pena
50ade27198
- Fix build on Windows
2011-06-13 17:52:23 +00:00
Felipe Pena
a43b067172
- Fixed bug #54624 (class_alias and type hint)
2011-06-12 21:10:31 +00:00