Commit Graph

408 Commits

Author SHA1 Message Date
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
Antony Dovgal
56a27267f3 fix tests 2007-05-07 22:10:14 +00:00
Antony Dovgal
b64823deb7 fix test names 2007-05-07 17:54:12 +00:00
Antony Dovgal
fa14b60e68 add 64bit version of the tests 2007-05-07 14:00:40 +00:00
Antony Dovgal
3000c0be66 fix tests, add more 2007-05-05 21:44:52 +00:00
Antony Dovgal
3f8c011a9a add tests 2007-05-04 12:46:18 +00:00
Antony Dovgal
1d6fea0e55 MFH 2007-05-04 08:27:33 +00:00
Johannes Schlüter
f50ec4ea53 - MFH: Fix skipif 2007-05-03 12:44:48 +00:00
Antony Dovgal
fca80f63fb add SKIPIF section 2007-05-02 15:41:22 +00:00
Dmitry Stogov
688cc5039a Fixed altering $this via argument named "this" 2007-05-02 13:21:55 +00:00
Antony Dovgal
c3b9d939e0 add new tests 2007-04-28 11:59:08 +00:00
Antony Dovgal
70e6d3d042 add new tests 2007-04-27 21:33:02 +00:00
Antony Dovgal
de4f3007e2 MFH: initialize retval_ptr_ptr before returning FAILURE
this fixes invalid read in #41209
2007-04-27 08:12:24 +00:00
Antony Dovgal
66859a74de fix tests 2007-04-26 23:30:00 +00:00
Antony Dovgal
f6cef916bc MFH: fix #41118 (PHP does not handle overflow of octal integers) 2007-04-22 21:33:10 +00:00
Antony Dovgal
60e1a548ff new test 2007-04-20 09:17:46 +00:00
Antony Dovgal
18af8baa44 MFH 2007-04-20 07:55:21 +00:00
Antony Dovgal
9ad2c80c62 fix double-to-string conversion utils 2007-04-19 09:30:49 +00:00
Antony Dovgal
d3df2eb468 add new test 2007-04-13 13:37:17 +00:00
Antony Dovgal
8d20caa848 minor improvement 2007-04-11 22:34:48 +00:00
Antony Dovgal
b2e2994a6e fix #41026 (segfault when calling "self::method()" in shutdown functions) 2007-04-09 07:30:09 +00:00
Ilia Alshanetsky
d9adb6715f Fixed foreach by-ref bug.
# Patch from Brian Shire
2007-04-05 23:48:43 +00:00
Ilia Alshanetsky
17c0c49a54 Addres limitation of __HALT_COMPILER() that allowed only one instance
per request.

# Patch by Greg Beaver
2007-04-04 00:42:42 +00:00
Hannes Magnusson
d677506541 Typo 2007-03-25 11:47:27 +00:00
Dmitry Stogov
6458e42496 Fixed bug #40899 (memory leak when nesting list()) 2007-03-23 12:46:16 +00:00
Dmitry Stogov
d514bf27a6 Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm. 2007-03-20 06:46:48 +00:00
Dmitry Stogov
b0a875104e Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()) 2007-03-19 18:31:30 +00:00
Antony Dovgal
79ed194a64 fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash) 2007-03-15 16:44:12 +00:00
Dmitry Stogov
ab699d03bc Fixed bug #40770 (Apache child exits when PHP memory limit reached) 2007-03-12 16:59:52 +00:00
Antony Dovgal
30f45e15de MFH: fix #40784 (Case sensivity in constructor's fallback) 2007-03-12 13:10:40 +00:00
Stanislav Malyshev
8779d1cdd3 fix crash on $x['x']['y'] += 1, patch by Brian Shire 2007-03-08 20:59:31 +00:00
Antony Dovgal
e058ba92f9 MFH: fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 21:30:48 +00:00
Antony Dovgal
772e35e99a MFH: fix test 2007-02-19 12:19:44 +00:00
Dmitry Stogov
0291ad5fa6 Fixed bug #40236 (php -a function allocation eats memory) 2007-02-15 10:38:28 +00:00
Antony Dovgal
29a9ba9639 new/improved tests 2007-02-13 12:59:53 +00:00
Antony Dovgal
0f0fe9c967 MFH: new tests 2007-02-07 11:10:32 +00:00
Antony Dovgal
b24fd9a3d6 fix test 2007-01-22 08:55:47 +00:00
Antony Dovgal
4fca731b0b fix test 2007-01-15 10:31:14 +00:00
Dmitry Stogov
2e1a2438b5 Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 16:47:32 +00:00
Dmitry Stogov
e470e22e20 - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:58:08 +00:00
Dmitry Stogov
4480c5eb5d Fixed bug #39825 (foreach produces memory error) 2006-12-25 19:23:03 +00:00
Dmitry Stogov
e57a60698b Fixed bug #39944 (References broken) 2006-12-25 14:16:27 +00:00
Hannes Magnusson
b12e3e1475 Fix tests 2006-12-19 10:03:24 +00:00
Dmitry Stogov
108a2fc64c Fixed bug #39775 ("Indirect modification ..." message is not shown)
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Dmitry Stogov
68890ce196 Fixed bug #39721 (Runtime inheritance causes data corruption) 2006-12-05 19:03:51 +00:00
Dmitry Stogov
abc5bb5f61 Bug #39438 (Fatal error: Out of memory) 2006-12-01 20:01:50 +00:00
Antony Dovgal
57130c653a fix test 2006-11-30 13:09:32 +00:00
Dmitry Stogov
6a8f267db6 Fixed bug #39602 (Invalid session.save_handler crashes PHP) 2006-11-23 08:07:05 +00:00
Antony Dovgal
1c6ee3030e add test 2006-11-21 11:11:39 +00:00
Dmitry Stogov
842b1b5a47 Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 2006-11-15 16:05:11 +00:00
Dmitry Stogov
41ae8de136 Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array). 2006-11-08 13:38:28 +00:00
Ilia Alshanetsky
cb96148912 Fixed bug #33282 (Re-assignment by reference does not clear the is_ref flag)
# Original patch by Matt Wilmas
2006-11-07 20:23:30 +00:00
Dmitry Stogov
7ff822ee49 Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:05:00 +00:00
Hannes Magnusson
f8e4467725 Fix test 2006-10-20 14:42:37 +00:00
Antony Dovgal
dc22b7d4a5 add test 2006-10-04 13:35:51 +00:00
Dmitry Stogov
9875fe44e2 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:14 +00:00
Antony Dovgal
2b1b2db8ec MFH: fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:09:52 +00:00
Antony Dovgal
40924a6f6c new tests 2006-09-28 12:03:49 +00:00
Antony Dovgal
c119d63a9f add new tests 2006-09-28 11:44:05 +00:00
Dmitry Stogov
c3272ab020 Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:30:51 +00:00
Dmitry Stogov
a04b6ed6bc Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:21 +00:00
Dmitry Stogov
cd6537ed6d Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks) 2006-09-19 21:36:54 +00:00
Antony Dovgal
0680cc4360 fix tests on MacOS 2006-09-13 13:59:16 +00:00
Dmitry Stogov
7e17f8591a Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts) 2006-09-12 11:01:16 +00:00
Antony Dovgal
0a1f5d12a1 fix tests 2006-09-11 14:17:51 +00:00
Antony Dovgal
5a9f40a46a add tests 2006-09-11 14:13:25 +00:00
Antony Dovgal
6d040bf67a fix test 2006-09-11 08:08:20 +00:00
Antony Dovgal
f7ba7232d8 MFH: fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:27:58 +00:00
Antony Dovgal
4ad05e0e0f add test 2006-08-15 08:58:40 +00:00
Dmitry Stogov
f5543a428d Fixed bug #38287 (static variables mess up global vars) 2006-08-07 15:15:22 +00:00
Dmitry Stogov
a98e5c674f Fixed bug #38234 (Exception in __clone makes memory leak) 2006-07-27 10:44:03 +00:00
Dmitry Stogov
ee97ffd887 Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) 2006-07-27 08:20:38 +00:00
Dmitry Stogov
30f4d3f959 Fixed bug #38220 (Crash on some object operations) 2006-07-26 15:29:27 +00:00
Dmitry Stogov
e447baafa1 Fixed bug #38211 (variable name and cookie name match breaks script execution) 2006-07-26 09:24:26 +00:00
Dmitry Stogov
a49e04477f Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) 2006-07-24 07:43:49 +00:00