Commit Graph

3353 Commits

Author SHA1 Message Date
Andi Gutmans
21f09643ec - Hopefully fix bug #26696.
- Please let me know if hell-breaks loose
2004-01-19 12:22:02 +00:00
8ee117f877 ChangeLog update 2004-01-19 01:32:11 +00:00
Marcus Boerger
805dfab890 Add zend_get_module_started() to quickly check whether a module is present
and its MINIT function has been called.
2004-01-19 00:39:29 +00:00
Marcus Boerger
3df0288490 Improove debug capabilities 2004-01-18 23:47:10 +00:00
Marcus Boerger
0a210d7976 Fix some casing issues 2004-01-18 10:45:36 +00:00
2d5b7f7c27 ChangeLog update 2004-01-18 01:35:28 +00:00
Marcus Boerger
64c7645009 #where has my bracket been gone? 2004-01-17 16:50:54 +00:00
Marcus Boerger
3edabd01bb Fix inheritance rule for interface Traversable 2004-01-17 16:38:25 +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
92f9989ad8 ChangeLog update 2004-01-17 01:32:11 +00:00
Ilia Alshanetsky
0a8a950fcf Expose zend_std_call_user_call(), needed for implementation of things like
__call handlers.
2004-01-17 00:39:28 +00:00
foobar
796938ec7f Nuke compile warning by using the LANG_SCNG macro instead 2004-01-17 00:26:12 +00:00
foobar
b6b3443d0a - Fixed bug #26640 (__autoload() not invoked by Reflection classes)
# Also removed double call of reflection_register_implement() on
# reflection_extension_ptr.
# Fixed also case-insensitive lookup of property names,
# now Reflection_Property('Classname', 'FooBar'); works too.
2004-01-16 21:11:58 +00:00
c1ac285760 ChangeLog update 2004-01-16 01:32:07 +00:00
Zeev Suraski
32007b19d8 Nice patch Christian, but it wasn't at all enabled? :)
Fix bug #26883
2004-01-15 16:47:32 +00:00
97a741e578 ChangeLog update 2004-01-15 01:32:13 +00:00
Zeev Suraski
59d168eda7 Don't allow interfaces to implement anything 2004-01-14 14:00:11 +00:00
Andi Gutmans
0458bf10e4 - Remove bogus macros 2004-01-14 08:50:17 +00:00
bc9cbe2715 ChangeLog update 2004-01-14 01:32:09 +00:00
Wez Furlong
d4deb460bd Don't treat strings containing : as potential constant names in
the .ini parser.
This fixes Bug #26893
2004-01-13 17:00:10 +00:00
24f5ca6ab5 ChangeLog update 2004-01-13 01:32:17 +00:00
Andi Gutmans
92eb129bd9 - Return the PHP 4 behavior of not allowing class declerations within
- class declerations. This happened when declaring a class within a
- method.
class A {
	function foo() {
		class B {
		}
	}
}
2004-01-12 07:15:55 +00:00
ac8b58603b ChangeLog update 2004-01-12 01:31:59 +00:00
Marcus Boerger
61fc2a9209 Add missing macro
# by popular demand, more and more exts need this
2004-01-12 00:19:40 +00:00
Wez Furlong
910e20064a TSRMLS fix 2004-01-11 21:39:40 +00:00
Andi Gutmans
ac5d5c7f35 - Re-allow conditional class declerations. Needless to say that I also
- think it's not great coding.. Use polymorphism instead :)
2004-01-11 19:37:15 +00:00
Andi Gutmans
e69f4f6f25 - This should fix the problem of conditional function decleration on the
- same line of code not to work. You should re-evaluate your coding style
- if you really code this way :)
2004-01-11 19:27:13 +00:00
a4872e0c31 ChangeLog update 2004-01-11 01:32:20 +00:00
Zeev Suraski
f5e9ca64b1 Remove conflict 2004-01-10 12:48:04 +00:00
Zeev Suraski
a72c1ab93b Added error mask to set_error_handler()
Patch by Christian Schneider <cschneid@cschneid.com>
2004-01-10 11:43:42 +00:00
b04960746d ChangeLog update 2004-01-10 01:33:36 +00:00
Wez Furlong
57e2ef89e4 support for building asm in the unix buildsys.
Also, when ZEND_ACCONFIG_H_NO_C_PROTOS is defined,
omit the C prototypes from the configuration header
so that it can be included into asm files.
2004-01-09 23:37:29 +00:00
Marcus Boerger
686281d087 this one is declined 2004-01-09 18:55:49 +00:00
Wez Furlong
e3baf1a07d must be extern to avoid problems with some compilers 2004-01-09 18:09:51 +00:00
Stanislav Malyshev
b9052251e7 fix expect 2004-01-09 14:32:32 +00:00
Stanislav Malyshev
c4b6a637e5 Bug #25816 - disallow arrays in class constants 2004-01-09 14:02:33 +00:00
Stanislav Malyshev
209497cfdf add test 2004-01-09 13:55:02 +00:00
Stanislav Malyshev
e321eba06b Fix Bug #26077 - memory leak when new() result is not assigned
and no constructor defined
2004-01-09 13:52:19 +00:00
47c81de40f ChangeLog update 2004-01-09 01:32:33 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
6b87194bd9 - - A belated happy holidays (by two years) 2004-01-08 08:23:23 +00:00
cfca1234a4 ChangeLog update 2004-01-08 01:31:55 +00:00
0204ac5a27 ChangeLog update 2004-01-07 01:32:03 +00:00
Marcus Boerger
1d2b4bcc48 Reimplement part of Bug #24608 that was reverted too 2004-01-07 00:24:58 +00:00
Marcus Boerger
82f0c9e7aa Revert patch that allowed to call sttaic methods via $method() 2004-01-07 00:02:04 +00:00
Ilia Alshanetsky
68a096f84e Check if realloc() succeeds or not. (Noticed by Andrey) 2004-01-06 22:44:40 +00:00
6b27ed4d8d ChangeLog update 2004-01-06 01:31:55 +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
Stanislav Malyshev
bced21b357 Fix bug #26543 - check parent:: and self:: in class names 2004-01-05 12:10:35 +00:00
Stanislav Malyshev
1e11e7401c Bug #24608 - fix interaction between __accessors and get_property_ptr 2004-01-05 11:45:46 +00:00
69b6c15158 ChangeLog update 2004-01-04 01:32:43 +00:00
Derick Rethans
6923a16c26 - Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.
2004-01-03 13:51:02 +00:00
f37c9932ba ChangeLog update 2004-01-03 01:32:06 +00:00
Andrei Zmievski
85f62caad2 Do not show exception message if it's empty.
# Is there a way to preserve the case of the exception class here?
2004-01-02 19:27:02 +00:00
06a60f2949 ChangeLog update 2004-01-01 01:32:07 +00:00
Andrei Zmievski
87c2ba22f1 Make default message look better. 2003-12-31 19:44:41 +00:00
cd9342fb84 ChangeLog update 2003-12-31 01:33:06 +00:00
Andi Gutmans
fc835b4a46 - Fix typos 2003-12-30 13:28:31 +00:00
Marcus Boerger
5e9279bb44 Update 2003-12-30 13:14:14 +00:00
b8f3838753 ChangeLog update 2003-12-30 01:31:58 +00:00
Ilia Alshanetsky
f0fa1781ee Added test case for bug #26696. 2003-12-30 00:23:28 +00:00
Marcus Boerger
046859493e Fix (string) conversion 2003-12-29 22:01:47 +00:00
Marcus Boerger
c0b8e35997 Add missing notice 2003-12-29 21:58:03 +00:00
Marcus Boerger
03e039b19d Fix __autoload() with derived classes 2003-12-29 12:35:44 +00:00
049fda207d ChangeLog update 2003-12-29 01:32:05 +00:00
Marcus Boerger
2a6ec5ccb4 WS 2003-12-28 16:20:06 +00:00
Marcus Boerger
15964bb35d Fix order of class_entry member initialization (needed for example for DOM)
# You need to completley rebuild PHP after this patch.
2003-12-28 15:18:05 +00:00
af3e587d1e ChangeLog update 2003-12-28 01:31:59 +00:00
Marcus Boerger
885eafac61 Fixed bug #26065 (Crash when nesting classes) 2003-12-27 22:59:49 +00:00
Marcus Boerger
c49b657084 Add new test 2003-12-27 20:45:36 +00:00
Marcus Boerger
e20f534ee5 Simplify 2003-12-27 20:33:14 +00:00
Marcus Boerger
db36fd0200 Fix __tostring() and concatenation 2003-12-27 20:16:49 +00:00
20a59f9759 ChangeLog update 2003-12-26 01:31:54 +00:00
Marcus Boerger
1dec2d85d6 Fix warning 2003-12-25 20:08:22 +00:00
Marcus Boerger
d28d247c4a Fix warning 2003-12-25 19:59:38 +00:00
Ilia Alshanetsky
0688205940 Fixed Bug #26703 (Certain characters inside strings incorrectly treated as
keywords). Original patch by vrana@php.net.
2003-12-25 18:57:26 +00:00
6d50eca0db ChangeLog update 2003-12-24 01:31:55 +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
3fc3d625e5 ChangeLog update 2003-12-23 01:31:50 +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
Marcus Boerger
50888a100c Preserve class name casing. 2003-12-22 22:34:28 +00:00
Marcus Boerger
b58d371927 Fixed bug #26695 (Reflection API does not recognize mixed-case class hints)
# The exception part
2003-12-22 20:03:01 +00:00
Marcus Boerger
06788f0438 Fixed bug #26675 (Segfault on ArrayAccess use)
Update NEWS
2003-12-22 16:27:14 +00:00
Wez Furlong
273c19334b export these symbols for use by SPL as a shared extension 2003-12-22 13:09:15 +00:00
d8f6bb7efa ChangeLog update 2003-12-20 01:31:55 +00:00
Andi Gutmans
535653ee8e - Nuke another rule (thanks to Jan for noticing this) 2003-12-19 14:39:17 +00:00
Dmitry Stogov
02a9316731 Bug #25547 (error_handler and array index with function call) was fixed
tests/lang/bug25547.phpt
2003-12-19 14:08:22 +00:00
Andi Gutmans
f9f19c99b3 - Nuke unused code 2003-12-19 13:35:42 +00:00
Dmitry Stogov
5adf502a69 Error reporting on unset string offset was added (Bug #24773 Zend/tests/bug24773.phpt) 2003-12-19 11:26:52 +00:00
Dmitry Stogov
25a811da65 Assign_op operators (+=) were fixed for elements of overloaded objects 2003-12-19 11:22:13 +00:00
fbebdb4685 ChangeLog update 2003-12-19 01:31:43 +00:00
Andi Gutmans
38beff5c92 - Nuke C++ comment 2003-12-18 23:30:22 +00:00
Andi Gutmans
3546d86052 - Revert patch 1.566 2003-12-18 23:28:15 +00:00
Marcus Boerger
49efcd4f27 Fixed bug #24837 Incorrect behaviour of PPP using foreach. 2003-12-18 20:07:30 +00:00
893fa6c137 ChangeLog update 2003-12-18 01:32:36 +00:00
Zeev Suraski
24298e523f This part of the if was necessary after all.
Refix bug #22510
2003-12-17 17:06:34 +00:00
Dmitry Stogov
ae4a09b239 *** empty log message *** 2003-12-17 15:08:13 +00:00
Dmitry Stogov
3c4cfd3ec8 Dynamic function call from object's property was fixed
(See "tests/lang/bug24926.phpt" and "tests/lang/bug25652.phpt")
2003-12-17 14:45:59 +00:00
Dmitry Stogov
20f73cd267 Access to globals/autoglobals from class __destructor was fixed.
(see "tests/lang/bug24908.phpt" and "tests/classes/destructor_and_globals.phpt")
2003-12-17 14:25:12 +00:00
00c012804e ChangeLog update 2003-12-17 01:31:48 +00:00
Sebastian Bergmann
9c909f41fd Sync: Export externally used functions. 2003-12-16 11:44:19 +00:00
Stanislav Malyshev
6d5eb809be export class initialization function 2003-12-16 10:51:51 +00:00
Stanislav Malyshev
052032f5ec export externally used functions 2003-12-16 10:51:21 +00:00
Stanislav Malyshev
d22fcfbc03 export function 2003-12-16 10:50:52 +00:00
39d19a5b0f ChangeLog update 2003-12-16 01:31:45 +00:00
Marcus Boerger
d4f64f88ba Reenable __tostring() magic for print,echo,concatenation,function naming...
but not for other internal things.
# As discussed with Andi
2003-12-15 16:59:21 +00:00
foobar
a1a69ae16b ws + cs (no c++ comments in c code) 2003-12-15 13:20:53 +00:00
Dmitry Stogov
ceb7c536d5 Bug #24773 was fixed (Zend/tests/bug24773.phpt)
Assign_op operators (+=) were fixed for elements of overloaded objects
Memory leaks during accessing ptoperies/elements of overloaded objects were fixed
2003-12-15 07:22:09 +00:00
Dmitry Stogov
2d9281352b Memory corruptions were fixed in zend_str_tolower_copy() 2003-12-15 07:17:27 +00:00
fa4726e3b3 ChangeLog update 2003-12-15 01:31:56 +00:00
Zeev Suraski
3a42babad6 Fix behavior of return-by-reference functions. Remove erroneous warnings,
add E_STRICT warnings in case you return something by reference that you're
not supposed to (anything that's not a variable, or a return-value of a
function that returned by reference).
2003-12-14 16:09:07 +00:00
Zeev Suraski
e94e3e1775 Some cleanup 2003-12-14 12:32:02 +00:00
4c8eb214fd ChangeLog update 2003-12-14 01:31:56 +00:00
Moriyoshi Koizumi
033bc12d86 Fixes for POSIX compliancy. 2003-12-13 19:28:30 +00:00
f076fea779 ChangeLog update 2003-12-13 04:08:11 +00:00
Marcus Boerger
a251361849 Free is needed in non ZTS too 2003-12-12 11:14:44 +00:00
Marcus Boerger
8fb5ea3081 Fix memleaks in ZTS mode 2003-12-12 10:50:23 +00:00
Marcus Boerger
a54c7dcb20 Fix memleaks 2003-12-12 08:25:58 +00:00
fb7f1aa71e ChangeLog update 2003-12-12 01:31:49 +00:00
Ilia Alshanetsky
7f9d1a1f6b Do not copy extra byte. 2003-12-12 00:16:58 +00:00
Ilia Alshanetsky
e2012609d6 Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants. 2003-12-11 23:50:13 +00:00
Marcus Boerger
39544e1c7f Bugfix: #26591 [NEW]: "__autoload threw an exception" during an uncaught
Exception
2003-12-11 18:18:52 +00:00
Andi Gutmans
5ba810ee46 - Refix bug #24773 2003-12-11 10:21:16 +00:00
Marcus Boerger
904373a830 Handle getter failure and allow to bypass thrown exceptions. 2003-12-11 09:56:06 +00:00
Marcus Boerger
b8afd8343a read_dimension() handler might return 0, handle this. 2003-12-11 09:52:33 +00:00
a36a6a4b6e ChangeLog update 2003-12-11 01:36:11 +00:00
Marcus Boerger
310d6c567a Do not double copy the string 2003-12-10 10:24:35 +00:00
1ecf87238f ChangeLog update 2003-12-10 01:32:01 +00:00
foobar
a08c1e4dce - Brought ext/bcmath to the new millennium
# consistency..
2003-12-09 23:59:33 +00:00
Andi Gutmans
d0d7badfb9 - Fix overallocation (thanks to Ilia) 2003-12-09 08:56:04 +00:00
fd6270d515 ChangeLog update 2003-12-09 01:34:47 +00:00
Derick Rethans
03f8baa87e - Make it compile again 2003-12-08 13:26:03 +00:00
9ad6aaea63 ChangeLog update 2003-12-08 01:30:07 +00:00
Stanislav Malyshev
dc6a849a2f Apply Andrey Hristov's patch adding get_declared_interfaces() 2003-12-07 18:54:31 +00:00
e7bad9e272 ChangeLog update 2003-12-07 01:32:57 +00:00
Marcus Boerger
8a8deee8a0 This test is against interfaces not abstract classes. 2003-12-06 19:02:12 +00:00
Marcus Boerger
30af3ba523 Show the exception message again after __toString() magic has been dropped. 2003-12-06 18:12:26 +00:00
6ae1f19387 ChangeLog update 2003-12-06 01:31:45 +00:00
Andi Gutmans
f4d6a5c7cf - Remove two unneeded convert_to_string() (found by Marcus)
- Change illegal use of string offset to E_ERROR
2003-12-05 16:28:54 +00:00
Ilia Alshanetsky
aa1b20614b Fixed crash demonstrated with ext/dom/tests/dom003.phpt test case. 2003-12-05 01:44:45 +00:00
036e8dea10 ChangeLog update 2003-12-05 01:31:47 +00:00
Moriyoshi Koizumi
4a38020ddd Revert crap. 2003-12-04 17:38:21 +00:00
Moriyoshi Koizumi
bcbc036ac1 Raise error in case dereference is performed on a scalar value. 2003-12-04 13:38:30 +00:00
ab5066008f ChangeLog update 2003-12-04 01:31:59 +00:00
Ilia Alshanetsky
54a73a6c06 Test case for bug #24773. 2003-12-03 23:00:30 +00:00