Dmitry Stogov
2a84434ea3
Added support for "namespace::" prefix that is resolved to current namespace name.
2007-11-20 08:53:17 +00:00
Dmitry Stogov
0ab5a2c203
Fixed tests
2007-11-19 08:21:58 +00:00
Antony Dovgal
9c7296f165
disallow multiple access modifiers and 'abstract abstract' methods
...
add tests
2007-11-13 16:51:22 +00:00
Dmitry Stogov
b6963efdda
better error messages
2007-11-12 17:53:36 +00:00
Antony Dovgal
0c07db4420
fix error message (reported by Felipe Nascimento)
2007-11-12 16:55:28 +00:00
Dmitry Stogov
c74918f5d5
Fixed bug #43183 ("use" of the same class in difference scripts results in a fatal error)
2007-11-12 15:52:11 +00:00
Dmitry Stogov
0dd6af6afd
Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class).
2007-11-12 09:12:20 +00:00
Johannes Schlüter
a8e26830fe
- static can't be used as type hint, fixes #43126 (Etienne Kneuss)
2007-11-11 22:10:57 +00:00
Dmitry Stogov
cdbeea7e2e
Fixed type-hint compatibility check in namespaces
2007-11-09 13:35:22 +00:00
Dmitry Stogov
aea2368bda
Fixed implementation of internal interfaces in namespaces
2007-11-09 12:16:55 +00:00
Dmitry Stogov
c882ba8e69
Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault)
2007-11-06 14:56:32 +00:00
Dmitry Stogov
d945aea891
Fixed bug #43201 (Crash on using unitialized vals and __get/__set)
2007-11-06 14:12:14 +00:00
Dmitry Stogov
e860d95d24
T_IMPORT -> T_USE
2007-11-06 07:29:41 +00:00
Jani Taskinen
9cc90f23b3
ws + cs + fix test
2007-11-02 00:15:13 +00:00
Dmitry Stogov
a069a415e5
Fixed bug #43027 (Declare cause fatal error)
2007-11-01 11:59:15 +00:00
Dmitry Stogov
a53eb396b3
Fixed variations of bug #35163
2007-10-23 12:52:51 +00:00
Dmitry Stogov
d892fd3da4
Fixed bug #35163 (Array elements can lose references)
2007-10-23 09:55:25 +00:00
Dmitry Stogov
8cae2e56e4
Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry)
2007-10-17 10:01:37 +00:00
Hannes Magnusson
165c695f44
Add skipif
2007-10-13 11:36:59 +00:00
Ilia Alshanetsky
42ec1edea4
MFB: Fixed bug #42817 (clone() on a non-object does not result in a fatal
...
error)
2007-10-04 23:25:53 +00:00
Dmitry Stogov
ce5c38af25
Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class).
2007-10-03 10:33:45 +00:00
Dmitry Stogov
daf1121292
Fixed bug #42818 ($foo = clone(array()); leaks memory)
2007-10-03 09:47:59 +00:00
Dmitry Stogov
ca4c533843
Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string)
2007-10-03 08:02:57 +00:00
Dmitry Stogov
19d7fed62d
Fixed bug #42819 (namespaces in indexes of constant arrays)
2007-10-02 08:27:19 +00:00
Dmitry Stogov
8d8d86eb7a
Fixed bug #42802 (Namespace not supported in typehints)
2007-10-01 10:37:36 +00:00
Dmitry Stogov
f30167922a
Fixed bug #42798 (__autoload() not triggered for classes used in method signature).
2007-10-01 09:33:02 +00:00
Ilia Alshanetsky
43f492c872
MFB: Fixed bug #42767 (highlight_string() truncates trailing comment).
2007-09-26 15:46:28 +00:00
Dmitry Stogov
189ac4f201
Late Static Binding (Dmitry, Etienne Kneuss)
2007-09-26 07:16:33 +00:00
Antony Dovgal
9af6ca011e
fix test names
2007-09-19 11:25:22 +00:00
Antony Dovgal
e8a72ac5e1
prohibit arguments by ref in magic methods
2007-08-31 12:36:00 +00:00
Antony Dovgal
4525473c9d
fix tests
2007-08-25 16:02:11 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00
Dmitry Stogov
1322b1a30a
Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the same way as "instanceof" operator).
2007-08-22 13:20:09 +00:00
Dmitry Stogov
046b878b5b
Fixed name resolution
...
namespace A;
B::foo(); // 1. this is function "foo" from namespace "B"
// 2. this is static method "foo" of class "B" from namespace "A"
// 3. this is static methos "boo" of internal class "B"
namespace A;
A::foo(); // 1. this is function "foo" from namespace "A"
// 2. this is static method "foo" of class "A" from namespace "A"
// 3. this is static methos "foo" of internal class "A"
2007-08-22 07:39:37 +00:00
Dmitry Stogov
11e267f619
typo
2007-08-22 06:33:25 +00:00
Dmitry Stogov
ad8aa49f06
Fixed bug #42211 (property_exists() fails to find protected properties from a parent class)
2007-08-08 13:32:58 +00:00
Antony Dovgal
b6c96790ba
MFB: adjust the test names a bit
2007-08-03 13:51:11 +00:00
Johannes Schlüter
0122a6fede
- Respect value of the parameter for get_loaded_extensions() and
...
get_defined_cosntants()
2007-08-02 16:52:59 +00:00
Dmitry Stogov
d4af6ba6bf
Fixed namespace name and internal class name ambiguity
2007-08-01 11:44:25 +00:00
Johannes Schlüter
c883e25485
- Add additional param to get_loaded_extensions() for returning Zend
...
extensions (Fixes #41278 )
2007-07-31 22:45:08 +00:00
Dmitry Stogov
b5ccc03fc2
Improved fix for bug #41633 (self:: doesn't work for constants) to support function define()
2007-07-27 16:29:25 +00:00
Dmitry Stogov
addd8f592d
Extended tests
2007-07-27 14:53:23 +00:00
Dmitry Stogov
c04dc1699b
Namespace support for name ambiguity between namespace and class name
2007-07-27 13:41:36 +00:00
Dmitry Stogov
9703e90904
Support for namespaces in compile-time constant reference
2007-07-27 09:04:12 +00:00
Dmitry Stogov
995c130320
Added warning for useless import statement
2007-07-26 08:57:52 +00:00
Dmitry Stogov
c4b5d9e572
Disabling declaration of class which name conflicts with import.
2007-07-26 08:32:52 +00:00
Dmitry Stogov
d0ec9d001c
Fixed bug #40705 (Iterating within function moves original array pointer)
...
Fixed bug #40509 (key() function changed behaviour if global array is used within function)
2007-07-24 19:24:56 +00:00
Dmitry Stogov
215edd7a4a
Fixed bug #41372 (Internal pointer of source array resets during array copying)
...
Fixed bug #37715 (array pointers resetting on copy)
2007-07-24 18:28:53 +00:00
Dmitry Stogov
92d3bc0c93
Fixed bug #40757 (get_object_vars get nothing in child class)
...
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:40:07 +00:00
Sara Golemon
b1bc911cee
Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc
2007-07-21 05:27:07 +00:00