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
Dmitry Stogov
7c83c4e418
Fixed bug #30922 (reflective functions crash PHP when interfaces extend themselves)
2004-12-06 11:53:30 +00:00
Dmitry Stogov
ec36f7dc69
Fixed bug #29883 (isset gives invalid values on strings).
2004-12-01 14:02:35 +00:00
Dmitry Stogov
6414c8606a
Test files are fixed.
2004-10-05 13:29:43 +00:00
Dmitry Stogov
0f99c02070
Test files are fixed.
2004-10-05 13:21:06 +00:00
Dmitry Stogov
3d383e45dc
Fixed unset() bug that was introduced with CV optimization patch
2004-10-05 09:09:18 +00:00
Dmitry Stogov
3f35c6a6cc
Added test cases for CV optimization patch
2004-10-05 06:53:39 +00:00
Marcus Boerger
3d29cd72d5
- Add new test
2004-10-04 08:58:47 +00:00
Marcus Boerger
1e3aa55b1e
- Add new test
2004-10-02 14:22:52 +00:00
Marcus Boerger
6762c9f0e0
- Add new test
2004-10-02 14:13:35 +00:00
Andi Gutmans
5efcdba2d0
- Move bench.php to Zend/
2004-09-29 17:08:46 +00:00
Ilia Alshanetsky
a4df842974
Fixed test.
2004-09-23 20:08:07 +00:00
Andi Gutmans
97b796d0aa
- Commit synthetic benchmark
2004-09-23 16:42:21 +00:00
Andi Gutmans
16d79b79d6
- Add test for bug #27669
2004-09-16 19:36:56 +00:00
Marcus Boerger
c4508c377e
Add new test
2004-08-03 16:59:53 +00:00
Ilia Alshanetsky
962c8cc9ef
Fixed reversed condition for error reporting.
2004-04-01 22:05:35 +00:00
Ilia Alshanetsky
62c80d5e6e
Fixed bug #27731 (error_reporting() inside @ block fails to set
...
error_reporting level).
2004-03-29 00:50:52 +00:00
Dmitry Stogov
7baa132194
Fixed bug #27641 (Object cloning in ze1_compatibility_mode was reimplemented)
2004-03-24 13:16:07 +00:00
Derick Rethans
f88b286888
- Added instance_of test (patch by Ard Biesheuvel)
2004-03-04 10:58:49 +00:00
Zeev Suraski
0f3106ad17
Fix and clarify the test case
2004-02-11 10:48:20 +00:00
Zeev Suraski
816d15252b
Ignore the memleak in this test
2004-02-10 22:13:07 +00:00
Moriyoshi Koizumi
e88babe8ac
- Correcting test.
...
# still segfaults though.
2004-02-10 09:15:01 +00:00
Ilia Alshanetsky
157a4e289a
Fixed bug #27145 (Unmangle private/protected property names before printing
...
then inside error messages).
2004-02-05 02:16:08 +00:00
Marcus Boerger
dfad2955ee
Update tests
2004-02-03 22:07:29 +00:00
Marcus Boerger
db86475367
Update test
2004-01-25 13:19:16 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Stanislav Malyshev
b9052251e7
fix expect
2004-01-09 14:32:32 +00:00
Stanislav Malyshev
209497cfdf
add test
2004-01-09 13:55:02 +00:00
Marcus Boerger
6118a91849
Update
2004-01-06 00:51:43 +00:00
Marcus Boerger
18ea05b746
Fixed bug #26802
2004-01-05 22:45:11 +00:00
Marcus Boerger
f16aed2d7a
Fix test
2004-01-05 22:40:24 +00:00
Marcus Boerger
780b420797
Add new test
2004-01-05 22:17:14 +00:00
Marcus Boerger
b5e5c845bf
Update test
2004-01-05 14:01:09 +00:00
Ilia Alshanetsky
f0fa1781ee
Added test case for bug #26696 .
2003-12-30 00:23:28 +00:00
Marcus Boerger
c49b657084
Add new test
2003-12-27 20:45:36 +00:00
Marcus Boerger
c6cb00fe59
Fixed bug #26697 (calling class_exists on a nonexistent class in __autoload
...
results in segfault).
2003-12-23 10:45:10 +00:00
Marcus Boerger
717604ea70
Add more tests
2003-12-22 22:53:48 +00:00
Marcus Boerger
26a0abbd0c
Fix tests now that class names are shown in correct casing
2003-12-22 22:50:02 +00:00
Ilia Alshanetsky
54a73a6c06
Test case for bug #24773 .
2003-12-03 23:00:30 +00:00
Marcus Boerger
e0946d9609
Fix test
2003-11-30 13:18:56 +00:00
Ilia Alshanetsky
fdd902f0dd
Possible fix for bug #26281 & test case.
2003-11-19 00:41:14 +00:00
Marcus Boerger
316854323d
Handle exceptions in casting more gracefully.
...
This fixes bug #26166
2003-11-08 14:06:08 +00:00
Moriyoshi Koizumi
aef5f793b8
Fix one more test
2003-11-04 17:14:07 +00:00
Moriyoshi Koizumi
2f27fe3574
Add test case for bug #26010
2003-10-31 17:12:16 +00:00
Stanislav Malyshev
5bcc602a7c
add test
2003-09-11 17:07:43 +00:00
Moriyoshi Koizumi
35ffd45c26
Add missing right parensis
2003-08-07 19:36:13 +00:00
Stanislav Malyshev
8547de3f16
fix syntax
2003-08-05 08:03:26 +00:00
Ilia Alshanetsky
1007b0a826
Fixed bug #23104 (hash position of static arrays not being reset)
2003-08-04 17:10:52 +00:00
Stanislav Malyshev
3586a6a43b
add test
2003-08-04 09:31:58 +00:00
Moriyoshi Koizumi
fb6300dd6c
Style & WS fixes
2003-08-03 19:20:45 +00:00
Ilia Alshanetsky
7b18132dba
Test case for bug #22836 .
2003-07-29 17:56:50 +00:00
Stanislav Malyshev
6bea4ca1b0
add test
2003-07-27 12:50:56 +00:00
Stanislav Malyshev
91b4bca976
add test
2003-07-27 12:07:23 +00:00
foobar
e03b0dea7d
cleanup (CS+ws)
2003-07-24 17:07:40 +00:00
Zeev Suraski
0e0936fa59
Fix expectations :)
2003-07-24 17:00:17 +00:00
Stanislav Malyshev
3f0d60f749
add test for Bug #19859
2003-07-03 09:22:35 +00:00
Marcus Boerger
e0a68b1ee0
Use both destructor and shutdown
2003-07-01 23:06:40 +00:00
Marcus Boerger
2c72deee2c
Rename test to correct extension
2003-07-01 21:59:46 +00:00
Derick Rethans
d2b1b6c700
- Added test for bug #24436
2003-07-01 19:12:56 +00:00
foobar
82194d2766
Missing .cvsignore, broken test, renamed zend2.php -> zend2.php.txt
2003-07-01 15:56:07 +00:00
Marcus Boerger
7e2f7b06b5
No nested classes
2003-06-01 19:18:34 +00:00
Marcus Boerger
c3dd93fb4a
Add some ZE2 bug tests
2003-06-01 18:35:29 +00:00
Andi Gutmans
f40e3b8548
- $clone -> $that
2002-11-05 19:29:46 +00:00
Andi Gutmans
c32bac8fba
- Fix test
2002-10-07 21:58:59 +00:00
Andi Gutmans
61a73183cc
- Small fix
2002-08-03 09:50:07 +00:00
Andi Gutmans
1229705743
- Add the original example script to the CVS so that it's always available.
2002-03-09 16:25:51 +00:00