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
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
Dmitry Stogov
33a1a4d39a
Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property.
2006-07-21 10:32:17 +00:00
Dmitry Stogov
f7c99da2fe
Fixed bug #37144 (PHP crashes trying to assign into property of dead object)
2006-07-19 09:55:19 +00:00
Dmitry Stogov
8bb047ee97
Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished).
2006-07-12 07:54:00 +00:00
Antony Dovgal
3aaf62d159
there is no Unicode in 5_2
2006-07-11 12:15:11 +00:00
Marcus Boerger
704eced26b
- MFH Fixed Bug #37667 (Object is not added into array returned by __get)
2006-07-10 00:36:28 +00:00
Marcus Boerger
dd5cbcd24c
- Fixed Bug #37811 define not using toString on objects
2006-07-09 22:45:11 +00:00
Marcus Boerger
e9be807267
- MFH Add new test
2006-07-09 17:04:27 +00:00
Marcus Boerger
d5811fc08a
- MFH Fix test
2006-07-09 16:56:22 +00:00
Antony Dovgal
91f9af4360
add test
2006-07-06 16:14:56 +00:00
Antony Dovgal
41ada4ba9b
add new tests
2006-06-27 21:10:04 +00:00
Antony Dovgal
8df36aaf32
fix test
2006-06-20 13:06:50 +00:00
Antony Dovgal
c458d1347b
fix tests
2006-06-19 17:33:44 +00:00
Dmitry Stogov
2a7d16f8fd
Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used)
2006-06-08 08:56:27 +00:00
Ilia Alshanetsky
8d4bb9ca74
Fixed bug #37707 clone without assigning leaks memory
...
# Based on a patch by Nuno
2006-06-07 13:41:49 +00:00
Antony Dovgal
e8d568ea8d
fix test
2006-06-06 11:33:59 +00:00
Antony Dovgal
8204511d71
MFH: do not allow to implement the same interface twice
...
add tests
2006-06-06 10:03:01 +00:00
Zeev Suraski
51d495850a
Restore ZE1 compatibility mode (Zend Engine part - the modules patches
...
will follow later today)
2006-06-05 13:58:52 +00:00
Antony Dovgal
ff59351416
add new tests
2006-06-01 11:57:49 +00:00
Antony Dovgal
c188ec09eb
add more tests
2006-05-31 18:47:21 +00:00
Antony Dovgal
8f78a2727b
add tests for E_STRICT that will become E_FATAL in PHP 6
2006-05-31 14:54:52 +00:00
Marcus Boerger
1b172b1371
- MFH Bugfix #37632 (Protected method access problem)
2006-05-29 20:06:43 +00:00
Marcus Boerger
493f39da2d
- MFH: Fix bug #37212 (Access to protected property of common base class)
...
By adding "zend_class_entry *ce" to struct zend_property_info;
2006-05-27 18:39:53 +00:00
Marcus Boerger
1d5f721fd9
- MFH Sync error messages and simplify error message generation code
2006-05-26 00:36:13 +00:00
Marcus Boerger
7577130156
- MFH improve error messages
2006-05-21 18:10:31 +00:00
Marcus Boerger
cd4ab2f6fe
- MFH Use correct version
2006-05-20 09:12:28 +00:00
Marcus Boerger
397c88ae74
- MFH Add new tests
2006-05-20 09:08:35 +00:00
Antony Dovgal
557b7fbec5
fix tests
2006-05-17 20:13:05 +00:00
Dmitry Stogov
be4c37919b
Added test
2006-05-15 16:44:54 +00:00
Derick Rethans
07d0f0cf01
- MFH: Tests for BC breaking changes.
2006-05-12 10:02:31 +00:00
Antony Dovgal
bc4e9efef7
add new test
2006-05-11 14:18:34 +00:00
Antony Dovgal
37ed02b199
change it to be consistent with the others
2006-05-10 22:57:50 +00:00
Marcus Boerger
288da2242e
- Fix tests
2006-05-10 22:46:16 +00:00
Antony Dovgal
f7eec29f84
fix tests
2006-05-10 14:04:52 +00:00
Marcus Boerger
43217a3225
i- ZE1_compat tests are no longer necessary
2006-05-10 00:41:23 +00:00
Dmitry Stogov
bdef85af21
Fixed bug #37138 (__autoload tries to load callback'ed self and parent)
2006-04-20 07:30:38 +00:00
Antony Dovgal
f233299f96
make it consistent with the other ones =)
2006-04-14 21:06:11 +00:00
Dmitry Stogov
67abcb58c3
Fixed bug #36513 (comment will be outputed in last line)
2006-04-13 13:48:28 +00:00
Dmitry Stogov
851801a795
Fixed test
2006-04-13 06:04:28 +00:00
Dmitry Stogov
f23d01ad4d
Fixed bug #37046 (foreach breaks static scope)
2006-04-12 11:37:50 +00:00
Dmitry Stogov
9d6e4964a1
Fixed bug #36568 (memory_limit setting on win32 has no effect)
2006-03-14 14:19:00 +00:00
Marcus Boerger
f128dff1ff
- Fix test
2006-03-01 17:19:22 +00:00
Antony Dovgal
d43d090362
fix leak in zend_strtod() on big doubles
...
add new test
2006-02-14 22:10:55 +00:00
Dmitry Stogov
38409e944c
Fixed bug #36303 (foreach on error_zval produces segfault)
2006-02-06 11:45:56 +00:00
Dmitry Stogov
b179e081ab
Fixed bug #36268 (Object destructors called even after fatal errors)
2006-02-03 09:31:59 +00:00
Dmitry Stogov
c447acf863
Fixed bug #36071 (Engine Crash related with 'clone')
2006-01-19 07:23:32 +00:00
Dmitry Stogov
0f4302b872
Fixed bug #36037 (heredoc adds extra line number)
2006-01-17 09:39:57 +00:00
Dmitry Stogov
b8360c376b
Fixed bug #36006 (Problem with $this in __destruct())
2006-01-16 10:12:36 +00:00
Marcus Boerger
66cfc793a2
- Fix test
2006-01-14 15:53:37 +00:00
Antony Dovgal
4972b45520
fix typo in the code and related tests
2006-01-06 20:55:14 +00:00
Antony Dovgal
d7c1980a21
typofix
2005-12-26 23:58:42 +00:00
Antony Dovgal
3782a4acf2
fix test description
2005-12-20 17:00:24 +00:00
foobar
849a614275
- Fix test
2005-12-17 14:54:41 +00:00
Marcus Boerger
10f77a5d71
- Add/fix tests
2005-12-16 22:19:02 +00:00
Antony Dovgal
f7aec44aee
MFH: use default colors to prevent any problems with existing php.ini
2005-12-13 22:32:30 +00:00
Ilia Alshanetsky
3ce27140dc
Fixed bug #35655 (whitespace following end of heredoc is lost).
2005-12-13 20:55:42 +00:00
Dmitry Stogov
9ee0707cfa
Fixed bug #35509 (string constant as array key has different behavior inside object)
2005-12-05 08:56:09 +00:00
foobar
4bfba57f96
MFH
2005-12-03 00:00:55 +00:00
Marcus Boerger
e9f5066faa
- MFH Be picky about names
2005-12-02 16:00:45 +00:00
Dmitry Stogov
916ad6c8f7
Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4)
2005-12-01 12:50:58 +00:00
Dmitry Stogov
02aad34c43
Fixed bug #35470 (Assigning global using variable name from array doesn't function)
2005-11-30 10:09:37 +00:00
Dmitry Stogov
14594953d2
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:03 +00:00
Ilia Alshanetsky
497fae9d1f
Fixed bug #35411 (Regression with \{$ handling).
...
Fixed bug #35382 (Comment in end of file produces fatal error).
2005-11-27 06:39:31 +00:00
Dmitry Stogov
36d6ddc241
Bug #33732 (Wrong behavior of constants in class and interface extending)
2005-11-23 09:26:43 +00:00
Ilia Alshanetsky
da0a76c561
{} to [] test fixes
2005-11-16 16:57:27 +00:00
Dmitry Stogov
6b8bf38333
Fixed bug #35239 (Objects can lose references)
2005-11-16 11:52:27 +00:00
Dmitry Stogov
681405fc4a
Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior)
2005-10-31 19:25:14 +00:00
Dmitry Stogov
b05b949a47
Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms)
2005-10-28 14:46:30 +00:00
Dmitry Stogov
8212034254
Fixed SIGSEGV
2005-10-27 19:25:52 +00:00
Dmitry Stogov
187b6cc583
Fixed bug #31341 (escape on curly inconsistent)
2005-10-21 13:22:05 +00:00
Dmitry Stogov
a8c338aa65
Fixed bug #34893 (PHP5.1 overloading, Cannot access private property)
2005-10-20 09:47:12 +00:00
Dmitry Stogov
c326593c1a
Fixed bug #34712 (zend.ze1_compatibility_mode = on segfault)
2005-10-20 08:55:10 +00:00
Dmitry Stogov
03cb8e959b
Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects correctly)
2005-10-20 08:14:59 +00:00
Dmitry Stogov
c095e20ca8
Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting)
2005-10-20 07:23:26 +00:00
Dmitry Stogov
9269f58477
Added forgotten tests
2005-10-20 07:04:25 +00:00
Dmitry Stogov
5fd4035194
Fixed test
2005-10-19 12:48:24 +00:00
Antony Dovgal
3c042299e6
MFH: add test for bug #34873
2005-10-14 21:52:18 +00:00
Dmitry Stogov
3019a1c6a3
Fixed bug #34786 (2 @ results in change to error_reporting() to random value)
2005-10-10 10:53:52 +00:00
Dmitry Stogov
45794ee259
Fixed bug #34467 (foreach + __get + __set incosistency)
2005-10-10 09:50:05 +00:00
Dmitry Stogov
594fd87ca7
Fixed bug #34678 (__call(), is_callable() and static methods)
2005-10-03 09:12:19 +00:00
Dmitry Stogov
728acc3785
Fixed bug #34358 (Fatal error: Cannot re-assign $this)
2005-10-03 08:21:51 +00:00
Dmitry Stogov
386a3b9305
Fixed bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
2005-09-27 18:07:41 +00:00
Antony Dovgal
6cf5be04d6
MFH: fix test
2005-09-23 10:34:20 +00:00
Antony Dovgal
e3a1bf1e62
MFH
2005-09-23 09:40:16 +00:00
Antony Dovgal
5ece2f6369
add new tests
2005-09-23 09:39:00 +00:00
Antony Dovgal
f8e8c5534b
MFH: fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
2005-09-22 19:03:18 +00:00
Dmitry Stogov
46488c8bb4
Fixed parameter passing incompatibilities.
...
Now it is possible to call array_pop(explode("&","1&2&3")) again.
2005-09-19 16:02:21 +00:00
Dmitry Stogov
e4a4ab60c7
Fixed bug #34518 (Unset doesn't separate container in CV)
2005-09-16 14:42:46 +00:00
foobar
ae281c372a
- Fix tests due to changes in the error messages.
...
# Also nuked some CRLF's
2005-09-15 19:49:58 +00:00
Dmitry Stogov
9d1f2f30d3
Fixed bug #34199 (if($obj)/if(!$obj) inconsistency)
2005-09-12 11:48:57 +00:00
Dmitry Stogov
9305339d94
Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() functions to not call __autoload().
2005-09-09 06:48:49 +00:00
Dmitry Stogov
6319efa013
Fixed bug #34260 (Segfault with callbacks (array_map) + overloading)
2005-09-02 07:47:28 +00:00
Dmitry Stogov
4f161fe289
Fixed bug #34137 (assigning array element by reference causes binary mess)
2005-09-01 13:21:37 +00:00
Dmitry Stogov
40f971b5b6
Fixed bug #34310 (foreach($arr as $c->d => $x) crashes)
2005-09-01 10:54:38 +00:00
foobar
d1a4819c09
Added test for bug #34310
2005-08-31 09:16:24 +00:00
Dmitry Stogov
779e6d203e
Fixed bug #34064 (arr[] as param to function in class gives invalid opcode)
2005-08-10 10:39:55 +00:00
Dmitry Stogov
f0f1557998
Fixed bug #34045 (Buffer overflow with serialized object)
2005-08-10 06:37:19 +00:00
Dmitry Stogov
32d69c853a
Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument)
2005-08-05 09:35:09 +00:00
Dmitry Stogov
c10d6d3c89
Fixed bug #33999 (object remains object when cast to int)
2005-08-05 09:02:14 +00:00
Antony Dovgal
b87970a956
add test for the last Dmitry's fix
2005-08-04 14:12:07 +00:00
Dmitry Stogov
1c82ec11a1
Fixed bug #33802 (throw Exception in error handler causes crash)
2005-07-22 07:33:03 +00:00
Dmitry Stogov
f90bdf8933
Fixed bug #33558 (warning with nested calls to functions returning by reference)
2005-07-18 07:13:34 +00:00
foobar
8cea6123e9
typo
2005-07-18 01:09:22 +00:00
Marcus Boerger
c1e73b4a67
- Add new test
2005-07-17 20:57:51 +00:00
foobar
c17e7e896e
fix test when session.save_handler is "user"
2005-07-08 07:57:47 +00:00
Dmitry Stogov
d9c1a380ad
Fixed bug #28072 (static array with some constant keys will be incorrectly ordered).
2005-07-07 15:16:57 +00:00
Dmitry Stogov
12b66c262a
Fixed bug #30519 (Interface not existing says Class not found)
2005-06-24 08:45:17 +00:00
Dmitry Stogov
f3f97394b2
Fixed bug #28377 (debug_backtrace is intermittently passing args)
2005-06-23 12:00:13 +00:00
Dmitry Stogov
cfe01e1b06
Fixed bug #32660 (Assignment by reference causes crash when field access is overloaded (__get))
2005-06-23 11:04:35 +00:00
Dmitry Stogov
f17f5da8af
Fixed bug #30828 (debug_backtrace() reports incorrect class in overridden methods)
2005-06-23 09:23:24 +00:00
Dmitry Stogov
2037023874
Fixed bug #27268 (Bad references accentuated by clone).
2005-06-23 08:21:03 +00:00
Dmitry Stogov
da2ab06111
Fixed bug #29896 (Backtrace argument list out of sync)
2005-06-22 15:26:05 +00:00
Dmitry Stogov
21e071be06
Fixed bug #33257 (array_splice() inconsistent when passed function instead of variable)
2005-06-22 08:33:00 +00:00
foobar
ea97aa5e8c
fix tests
2005-06-22 00:41:28 +00:00
Dmitry Stogov
adc3993122
Fixed test file
2005-06-21 17:28:09 +00:00
Derick Rethans
a347b91a9e
- Fixed layout of test description.
2005-06-19 21:56:21 +00:00
foobar
a491b82c4c
No short-tags!
2005-06-17 16:40:05 +00:00
Dmitry Stogov
a6d84dbb82
Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8)
2005-06-16 14:20:00 +00:00
foobar
55b0a90e91
typofix
2005-06-15 09:23:28 +00:00
Dmitry Stogov
46e4c9837d
Added test for bug #30162 (it is already fixed but test file was forgotten)
2005-06-10 10:46:04 +00:00
Dmitry Stogov
4796fc943a
Added test file for bug #31177 (not fixed yet)
2005-06-10 10:45:14 +00:00
Dmitry Stogov
dc95b1bd32
typos
2005-06-10 10:23:37 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Stanislav Malyshev
b2f7dd2f66
add test for this TBF bug
2005-06-09 17:16:13 +00:00
Dmitry Stogov
9affa32237
Fixed bug #30140 (Problem with array in static properties)
2005-06-08 13:21:28 +00:00
Dmitry Stogov
a95db2790d
Added test for bug #32322 (Return values by reference broken( using self::),example singleton instance)
2005-06-08 08:43:38 +00:00
Dmitry Stogov
d02d270f48
Fixed bug #30820 (static member conflict with $this->member silently ignored)
2005-06-08 08:08:18 +00:00
Dmitry Stogov
055e889bbd
Fixed bug #33243 (ze1_compatibility_mode does not work as expected)
2005-06-07 07:03:28 +00:00
Dmitry Stogov
91a344a504
Fixed bug #32428 (The @ warning error supression operator is broken)
2005-06-06 11:20:46 +00:00
Dmitry Stogov
ce23692663
Fixed bug #32799 (crash: calling the corresponding global var during the destruct)
2005-06-06 10:38:43 +00:00
Dmitry Stogov
e5d3e07862
Added test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct)
2005-06-06 09:50:40 +00:00
Dmitry Stogov
61054dbcd0
Fixed bug #32993 (implemented Iterator function current() don't throw exception)
2005-06-06 08:24:05 +00:00
Dmitry Stogov
cd88e646fd
Fixed bug #33171 (foreach enumerates private fields declared in base classes)
2005-06-06 07:52:08 +00:00
Zeev Suraski
d33500ee20
Thought I committed it ages ago... Anyway, without further delays, the final
...
__halt_compiler() patch
2005-06-04 16:16:19 +00:00
Dmitry Stogov
e3cfb42bbd
Added test for 5.0 specific bug #30394 (Assignment operators yield wrong result with __get/__set)
2005-06-03 15:38:32 +00:00
Dmitry Stogov
89e53d5ab2
Fixed bug #30080 (Passing array or non array of objects)
2005-06-03 15:02:49 +00:00
Dmitry Stogov
6b39b374ef
Fixed bug #27598 (list() array key assignment causes HUGE memory leak)
2005-06-03 13:57:26 +00:00
Dmitry Stogov
3d7b0bab28
Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...
...)
2005-06-03 11:16:19 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
Magnus M��tt�
80eb74e4fe
Fix test
2005-05-31 13:46:17 +00:00
Dmitry Stogov
743c5bb15b
Fixed bug #22836 (returning reference to uninitialized variable)
2005-05-27 16:18:07 +00:00
Dmitry Stogov
d2018ef2c0
Fixed bug #33116 (crash when assigning class name to global variable in __autoload).
2005-05-26 14:28:24 +00:00
Dmitry Stogov
1a72341328
Added array type hinting. (This patch requires full re-make)
2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a
- Add new tests
2005-05-26 12:22:18 +00:00
Dmitry Stogov
6e9e5b099c
Strict warnings
2005-05-19 09:58:23 +00:00
Stanislav Malyshev
3af3379a27
test
2005-05-18 18:08:02 +00:00
Stanislav Malyshev
b03b79c985
tests
2005-05-18 14:56:34 +00:00
Magnus M��tt�
2ebda52b24
Fix tests.
2005-05-17 17:34:44 +00:00
Dmitry Stogov
79d6f11a4a
Fixed bug #31525 (object reference being dropped. $this getting lost)
2005-05-05 17:37:25 +00:00
Dmitry Stogov
5e4d91582a
Fixed bug #30707 (Segmentation fault on exception in method)
2005-05-04 11:17:30 +00:00
Dmitry Stogov
37d16df05c
Fixed bug #30162 (Catching exception in constructor couses lose of $this)
2005-05-04 08:45:46 +00:00
Dmitry Stogov
b3a8a50581
Fixed notice message
2005-05-03 14:05:52 +00:00
Dmitry Stogov
81b536f4a6
Fixed bug #32296 (get_class_methods output has changed between 5.0.2 and 5.0.3)
...
Now get_class_methods() shows accessible private and protected methods if it is called from class scope.
2005-05-03 08:52:04 +00:00
foobar
e57408a098
Make sure E_STRICT is set always
2005-04-29 08:54:16 +00:00
Dmitry Stogov
8b7a03c889
Fixed bug #30332 (zend.ze1_compatibility_mode isnt fully compatable with array_push())
2005-04-29 07:59:04 +00:00
Dmitry Stogov
8db238b075
Fixed bug #32852 (Crash with singleton and __destruct when zend.ze1_compatibility_mode = On)
...
Fixed bug #31828 (Crash with zend.ze1_compatibility_mode=On)
Fixed bug #32080 (segfault when assigning object to itself with zend.ze1_compatibility_mode=On)
2005-04-29 07:03:54 +00:00
foobar
96bc29839b
- Unify error_reporting setting + make sure E_STRICT is set when wanted
2005-04-29 01:04:32 +00:00
Dmitry Stogov
9966587aaf
Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
2005-04-28 17:40:11 +00:00
Dmitry Stogov
c81db6bc56
Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
2005-04-27 15:45:36 +00:00
Dmitry Stogov
abb07db4c6
Fixed bug #29104 (Function declaration in method doesn't work)
2005-04-27 13:30:53 +00:00
Dmitry Stogov
aba79c268c
Fixed bug #32833 (Invalid opcode)
2005-04-27 12:16:32 +00:00
Dmitry Stogov
28e68301dc
Fixed bug #32674 (exception in iterator causes crash)
2005-04-27 06:47:08 +00:00
Dmitry Stogov
a9a319b078
Fixed bug #30889 (Conflict between __get/__set and ++ operator)
2005-04-26 13:23:23 +00:00
Dmitry Stogov
1098d9bccb
fix
2005-04-26 12:01:31 +00:00
Dmitry Stogov
5f600cdf57
Fixed bug #30702 (cannot initialize class variable from class constant)
2005-04-26 09:27:28 +00:00
Dmitry Stogov
694f7a9e90
Fixed bug #32427 (Interfaces are not allowed 'static' access modifier).
2005-04-26 08:48:23 +00:00
Dmitry Stogov
4f15b20b92
Fixed bug #32429 (method_exists() always return TRUE if __call method exists)
2005-04-26 08:47:31 +00:00
Dmitry Stogov
35b38598cc
Fixed bug #29944 (Function defined in switch, crashes).
2005-04-25 09:56:42 +00:00
Marcus Boerger
3080d49ed4
- Add new tests
2005-04-23 15:21:07 +00:00
foobar
62a1f82e4a
Fix test when register_long_arrays is off in your php.ini
2005-04-21 14:22:53 +00:00
Sara Golemon
f838f8e37d
method_exists() regression test
2005-04-16 15:36:22 +00:00
Marcus Boerger
c4dbeca169
- Ensure we see all errors. No need for () in return
2005-04-08 14:06:05 +00:00
Marcus Boerger
29b4277e2d
- Added missing description (thanks jani)
2005-03-20 22:08:16 +00:00
Marcus Boerger
d7a7913476
- Add new test
2005-03-20 20:14:27 +00:00
Marcus Boerger
565e832edf
- Bugfix #32290
2005-03-13 13:15:08 +00:00
Marcus Boerger
b4a961a234
- Add new test
2005-03-11 02:32:07 +00:00
Marcus Boerger
45212809b5
- Irrelevant
2005-03-11 01:32:20 +00:00
Marcus Boerger
0a93d54c53
- Bugfix #28442
2005-03-10 13:20:26 +00:00
Marcus Boerger
4ae4b63f44
- Add updated description
2005-03-07 19:31:44 +00:00
Marcus Boerger
6f00c1b73b
- Fix #32226
2005-03-07 19:28:10 +00:00
Dmitry Stogov
5764d6f41b
Fixed bug #30407 (Strange behaviour of default arguments)
2005-02-10 11:45:24 +00:00
Stanislav Malyshev
d38eed95ea
test for Bug #31720
2005-02-02 10:31:53 +00:00
Dmitry Stogov
fd4fe1c8d3
Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name).
2005-02-02 07:19:22 +00:00
Stanislav Malyshev
13cd138683
test for eval debug_backtrace bug
2005-02-01 19:03:50 +00:00
Marcus Boerger
82193adc09
- Bugfix #26229 (getIterator() segfaults when it returns arrays or scalars)
2005-01-25 10:40:51 +00:00
Marcus Boerger
3cf4eae4aa
- Second and last part of #30725 fix
2005-01-24 20:02:55 +00:00
Marcus Boerger
be86e1696e
- Add new test
2005-01-24 19:16:06 +00:00
Dmitry Stogov
72d02269a9
Restore behavior of $str["str"]. (Now $str["str"] is equivalent to $str[0] again)
2005-01-14 09:01:22 +00:00
Dmitry Stogov
6fa37163f2
Fixed bug #31098 (isset false positive)
2005-01-12 09:18:31 +00:00
Moriyoshi Koizumi
e5786084e1
- Test renaming
2005-01-11 21:57:01 +00:00
Moriyoshi Koizumi
9b77de63ed
- Fix bug #31436 (isset() incorrectly returns true in dereference of a wrong type)
2005-01-11 21:53:11 +00:00
Dmitry Stogov
beaff87d50
"Undefined variable: %s" noticies were fixed to use one space
2004-12-27 13:43:26 +00:00
Dmitry Stogov
e986a1f47e
"Undefined variable: %s" noticies were fixed to be compatible with PHP_5_0
2004-12-24 08:24:55 +00:00
Stanislav Malyshev
11ae876f34
add test
2004-12-06 16:08:08 +00:00