Felipe Pena
2fb2f81538
- Improved fix for bug #52573
2010-08-18 01:59:37 +00:00
Felipe Pena
f3028b9226
- Improved fix for bug #52573
2010-08-18 01:59:37 +00:00
Sascha Schumann
50a0ea7b8c
separate properties of internal classes in ZTS mode fully,
...
otherwise multiple threads will modify the zvals' contents
without any synchronisation.
2010-08-12 07:58:14 +00:00
Dmitry Stogov
7d55780ca0
In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated
2010-08-11 09:38:41 +00:00
Dmitry Stogov
931c2d104d
In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated
2010-08-11 09:38:41 +00:00
Dmitry Stogov
3cf5ab9e56
Use interned strings for class names
2010-08-05 13:10:15 +00:00
Dmitry Stogov
6443445f25
ZEND_UNSET_* don't have results
2010-07-29 09:46:59 +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
Felipe Pena
b458b1a4c1
- Fix ZTS build
2010-07-08 15:22:11 +00:00
Dmitry Stogov
f0c8366a9e
- use interned strings for auto globals
...
- $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
2010-07-08 14:05:11 +00:00
Dmitry Stogov
1a1178a685
eliminated unnecessary iterations during request startup/shutdown
2010-07-06 11:40:17 +00:00
Felipe Pena
a8e80ec235
- Reverted fix for bug #51421
2010-06-28 16:37:57 +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
10a9634bc9
- 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
eb5e97adf5
- Fixed bug #52160 (Invalid E_STRICT redefined constructor error)
2010-06-26 19:19:16 +00:00
Felipe Pena
dc3940bd1c
- Fix ZTS build
2010-06-08 18:02:10 +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
Johannes Schlüter
0262fdf3e9
- A method called like a trait is no constructor
2010-05-29 20:01:08 +00:00
Dmitry Stogov
f7ce69585c
- Interned string related callbacks moved turned from compiler_globals into real globals
...
- Updated API version number
2010-05-25 09:00:20 +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
Dmitry Stogov
f23e857676
Fixed ZTS build
2010-05-24 17:07:52 +00:00
Dmitry Stogov
c5237d82bf
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
2010-05-24 14:11:39 +00:00
Derick Rethans
1bc9247651
- Added scalar typehinting.
2010-05-20 19:18:35 +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
ca3656dfe0
- Added check for 'static' on trait visibility modifier
2010-05-06 19:20:12 +00:00
Felipe Pena
363d6e45be
- Fix typos
2010-05-06 18:28:45 +00:00
Felipe Pena
241ceed37e
- Fix error messages & WS
2010-05-06 18:20:38 +00:00
Dmitry Stogov
d5800f881c
Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS.
2010-05-06 10:27:35 +00:00
Felipe Pena
a888d2cd16
- Added check for trait when trying to extend it
2010-05-04 18:45:01 +00:00
Felipe Pena
45a536fc7c
- Added check for abstract class
...
abstract class foo { }
class T { use foo; } // T cannot use foo - it is not a trait
- Added check for trait on NEW
trait a { }
new a; // Cannot instantiate trait a
# Tests for errors comming soon :)
2010-05-04 18:21:00 +00:00
Stefan Marr
331b052994
Changed naming of traits-related helper functions (suggested by Derick), added missing static qualifiers.
2010-05-03 22:08:09 +00:00
Felipe Pena
155bdc8a72
- WS
2010-05-02 18:47:27 +00:00
Felipe Pena
9568c8e398
- Changed zend_hash func calls to use the quick ones
2010-05-02 17:39:24 +00:00
Stefan Marr
fe4988241d
Refactored part of the Traits implementation.
...
# - renamed php_runkit_function_copy_ctor to _duplicate_function
# REM: runkit does not compile with trunk at the moment, fixing it would introduce even more version #ifs, don't know what the best way is to fix it
# - extracted traits related stuff from destroy_zend_class into _destroy_zend_class_traits_info
# - need to investigate implementation/handling of internal classes further before enabling internal traits
2010-05-02 16:32:25 +00:00
Pierre Joye
de555d3970
- fix build (void is evil)
2010-04-28 20:47:13 +00:00
Dmitry Stogov
d8a7f892ee
- ws
...
- removed unused variables
2010-04-27 12:17:32 +00:00
Dmitry Stogov
c58b131e29
- Reimplemented ZEND_INIT_FCALL_BY_NAME and ZEND_INIT_NS_FCALL_BY_NAME to use literals instead of additional operands
...
- Optimized access to global constants
2010-04-27 12:09:13 +00:00
Felipe Pena
0a6bcd44a7
- Removed allow_call_time_pass_reference (Pierrick)
2010-04-26 00:13:34 +00:00
Dmitry Stogov
f06d839e59
Use fast class fetch function
2010-04-23 08:56:03 +00:00
Felipe Pena
246a15e95f
- Fix memory issue
2010-04-23 02:57:49 +00:00
Felipe Pena
c7bf006c4d
- Fix Windows build (Kalle)
2010-04-23 01:56:03 +00:00
Felipe Pena
5a8632a144
- Fix function signature
2010-04-23 01:43:27 +00:00
Felipe Pena
28263bf8a4
- Fix ZTS code and CS
2010-04-23 00:54:51 +00:00
Felipe Pena
cdf71efc5c
- Fix zend_hash_apply_with_arguments() calls on ZTS
2010-04-22 23:25:05 +00:00
Felipe Pena
c05e38e401
- Fixed ZTS build & comment-style
2010-04-22 23:16:15 +00:00