Commit Graph

417 Commits

Author SHA1 Message Date
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
Antony Dovgal
4836ea7c50 fix test 2007-07-19 09:34:19 +00:00
Dmitry Stogov
7e8a11f636 Fixed test 2007-07-14 08:51:54 +00:00
Antony Dovgal
d9d3c3ca08 fix tests 2007-07-13 15:42:31 +00:00
Dmitry Stogov
68845c6a83 Fixed bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com) 2007-07-12 10:32:26 +00:00
Antony Dovgal
53c34ffb40 add new test 2007-07-12 09:29:50 +00:00
Dmitry Stogov
1f413bbc37 Namespaces 2007-07-12 09:23:48 +00:00
Zoe Slattery
3cf3ad9c03 array copy on write tests 2007-07-09 13:18:03 +00:00
Dmitry Stogov
2d39376219 Fixed bug #41919 2007-07-09 08:56:29 +00:00
Stanislav Malyshev
2ab4eededb MF5 __HALT_COMPILER fix:
Remove limitation of __HALT_COMPILER() that allowed only one instance
per request.

# Patch by Gregory Beaver
2007-06-28 00:01:58 +00:00
Antony Dovgal
a2945fdd40 fix test 2007-06-27 17:04:57 +00:00
Zoe Slattery
6851bedd28 Tests for constant initialisation 2007-06-27 15:01:36 +00:00
Dmitry Stogov
06320d3f50 Fixed bitwise operations with numeric unicode strings 2007-06-27 11:04:50 +00:00
Dmitry Stogov
eae255addf Implemented ++ and -- operations for unicode strings 2007-06-27 10:27:04 +00:00
Antony Dovgal
0b68e2fb1d add test 2007-06-27 08:54:59 +00:00
Dmitry Stogov
366cf9abf9 Fixed test 2007-06-18 07:38:21 +00:00
Dmitry Stogov
0a7462e056 Fixed bug #41633 (Crash instantiating classes with self-referencing constants) 2007-06-13 16:48:29 +00:00
Dmitry Stogov
b898c98005 Fixed some class constant issues related to bug #41633 2007-06-13 14:50:33 +00:00
Raghubansh Kumar
fd9fd30f2e New testcase for get_defined_vars() function: get_defined_vars.phpt 2007-06-11 16:34:56 +00:00
Johannes Schlüter
eae4b3109e Fix #41640 (get_class_vars produces error on class constants) 2007-06-09 08:36:52 +00:00
Antony Dovgal
f673b558cc change E_NOTICE to E_ERROR when using a class constant from non-existent class
(noticed by Jani)
add tests
2007-06-04 08:24:32 +00:00