Commit Graph

382 Commits

Author SHA1 Message Date
Dmitry Stogov
1530fe99c8 Fixed variations of bug #35163 2007-10-23 12:52:40 +00:00
Dmitry Stogov
b599e434ad Fixed bug #35163 (Array elements can lose references) 2007-10-23 09:55:11 +00:00
Dmitry Stogov
1087e6b1e6 Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry) 2007-10-17 10:01:22 +00:00
Hannes Magnusson
7c5c2147c6 MFH: Add skipif 2007-10-13 11:37:42 +00:00
Ilia Alshanetsky
4c619a3f5f Fixed bug #42817 (clone() on a non-object does not result in a fatal error) 2007-10-04 23:19:20 +00:00
Dmitry Stogov
eb0c56ada1 Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class). 2007-10-03 10:33:02 +00:00
Dmitry Stogov
68055015eb Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:45 +00:00
Dmitry Stogov
1491992f76 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:36 +00:00
Dmitry Stogov
220641af70 Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:26:50 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Dmitry Stogov
41e9b6b61c Fixed bug #42802 (Namespace not supported in typehints) 2007-10-01 10:37:14 +00:00
Dmitry Stogov
3a3a7e7441 Fixed bug #42798 (__autoload() not triggered for classes used in method signature). 2007-10-01 09:32:48 +00:00
Dmitry Stogov
b20ed0d2e0 Added support for __callstatic() magic method. (Sara) 2007-09-29 08:52:40 +00:00
Dmitry Stogov
166266df68 Added support for Late Static Binding. (Dmitry, Etienne Kneuss) 2007-09-29 07:28:34 +00:00
Dmitry Stogov
f32ffe9b43 Namespaces 2007-09-28 19:52:53 +00:00
Ilia Alshanetsky
b26d5f6077 Fixed bug #42767 (highlight_string() truncates trailing comment) 2007-09-26 15:43:58 +00:00
Jani Taskinen
ba144fd417 - Fix test and tuned error message 2007-09-20 14:11:32 +00:00
Antony Dovgal
77951494b7 MFH 2007-09-19 11:25:57 +00:00
Antony Dovgal
90d58d4668 MFH: prohibit arguments by ref in magic methods 2007-08-31 12:36:14 +00:00
Dmitry Stogov
1aab36e3f2 Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the same way as "instanceof" operator). 2007-08-22 13:19:48 +00:00
Dmitry Stogov
ef71664817 Fixed bug #42211 (property_exists() fails to find protected properties from a parent class) 2007-08-08 13:32:46 +00:00
Dmitry Stogov
6aa06fc7fb Fixed test 2007-08-08 06:42:10 +00:00
Antony Dovgal
fd088beb06 fix test names 2007-08-03 13:50:20 +00:00
Antony Dovgal
00b3df2ad3 fix test 2007-08-02 22:28:06 +00:00
Johannes Schlüter
c0667eeaff - MFH: Respect value of the parameter for get_loaded_extensions() and only
print zend extensions if set to true
2007-08-02 16:54:44 +00:00
Dmitry Stogov
a382ede3e8 Fixed bug #42119 (array_push($arr,&$obj) doesn't work with zend.ze1_compatibility_mode On) 2007-08-01 10:56:45 +00:00
Johannes Schlüter
ebaba40774 - MFH: Add additional param to get_loaded_extensions() for returning Zend
extensions (Fixes #41278) [DOC]
2007-07-31 22:47:25 +00:00
Dmitry Stogov
786621893e Improved fix for bug #41633 (self:: doesn't work for constants) to support function define() 2007-07-27 16:29:12 +00:00
Dmitry Stogov
e13b4c2c4e 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:40 +00:00
Dmitry Stogov
4035a8ebc0 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:39 +00:00
Dmitry Stogov
7ec48cb37f 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:39:56 +00:00
Ilia Alshanetsky
33329c065c revise test to reflect recent code 2007-07-12 23:34:32 +00:00
Dmitry Stogov
ed10530eb5 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:09 +00:00
Antony Dovgal
f0dd5f5d52 new test 2007-07-12 09:29:07 +00:00
Zoe Slattery
5d0ee5b518 array copy on write tests 2007-07-09 13:23:37 +00:00
Dmitry Stogov
9f62beabfd Fixed bug #41919 2007-07-09 08:53:14 +00:00
Ilia Alshanetsky
aeaf26b86d Fixed bug #41919 (crash in string to array conversion) 2007-07-08 15:28:46 +00:00
Antony Dovgal
6e48ec45dd fix test 2007-06-27 17:04:15 +00:00
Zoe Slattery
af85497e8f Tests constant initialisation 2007-06-27 14:50:21 +00:00
Antony Dovgal
feb142cb79 add test 2007-06-27 08:55:27 +00:00
Dmitry Stogov
1c7fa8fb4c Fixed bug #41633 (Crash instantiating classes with self-referencing constants) 2007-06-13 16:48:10 +00:00
Dmitry Stogov
28bc39500a Fixed some class constant issues related to bug #41633 2007-06-13 14:50:13 +00:00
Raghubansh Kumar
38c095a44f New testcase for get_defined_vars() function: get_defined_vars.phpt 2007-06-11 16:04:43 +00:00
Raghubansh Kumar
4f33b594ac New testcase for unset(), isset() and empty functions : 019.phpt 2007-06-11 15:55:44 +00:00
Johannes Schlüter
1351bc4e86 Fix #41640 (get_class_vars produces error on class constants) 2007-06-09 08:38:44 +00:00
Antony Dovgal
91da96ba71 MFH: change E_NOTICE to E_ERROR when using a class constant from non-existent class
(noticed by Jani)
add tests
2007-06-07 08:37:40 +00:00
Stanislav Malyshev
cfedafff67 add test for 41401 2007-05-18 20:13:28 +00:00
Antony Dovgal
d7b30e457a MFH: fix #41421 (Uncaught exception from a stream wrapper segfaults) 2007-05-18 11:52:08 +00:00
Antony Dovgal
756f3f60ca MFH: fix #41351 (Invalid opcode with foreach ($a[] as $b)) 2007-05-11 09:39:36 +00:00
Dmitry Stogov
d2fe65c191 Fixed bug #39542 (Behaviour of require/include different to < 5.2.0) 2007-05-11 08:02:43 +00:00