Marcus Boerger
4f0b480f78
More __clone testing
2003-07-03 19:53:01 +00:00
Frank M. Kromann
d77e8393cd
Change fetch functions and protos so they make more sense.
...
fetch_row or fetch_assoc should not take the optional parameter
2003-07-03 16:53:04 +00:00
Marcus Boerger
d7e14ad8a3
Allow final private methods
...
#
# Declaring a method private and final would only be an error for an abstract
# class. But at the moment the method is defined and it's modifiers are checked
# we do not know whether or not we have an abstract class. It could already be
# abstract but it also become abstract later.
#
# Since i made the mistake in first place i remove the check now.
#
# Providing the correct test would slow down the compiler becuase we'd have to
# iterate through all methods on all abstract classes and check for this. I
# guess we can live without. Or does anybody wants this to be implemented ?
2003-07-03 16:45:37 +00:00
Moriyoshi Koizumi
dd710f4dc0
Added missing protos
2003-07-03 15:30:14 +00:00
Moriyoshi Koizumi
fd9d9dea1c
Fix build
2003-07-03 15:26:12 +00:00
Hartmut Holzgraefe
00fbf2af67
VCWD awareness and (hopefully) windows compile fix
2003-07-03 14:54:03 +00:00
Hartmut Holzgraefe
a7edbe04ad
PHP glob() will now emulate GLOB_ONLYDIR on non-GNU systems
2003-07-03 14:34:02 +00:00
George Schlossnagle
edf78b2141
win build fixes (Rob Richards)
2003-07-03 14:11:31 +00:00
Marcus Boerger
5b1a6f7be0
Accessing globals from a destructor causes memory corruption
2003-07-03 14:06:51 +00:00
George Schlossnagle
6a4c48be6f
can't forget Andrei
2003-07-03 14:00:17 +00:00
Stanislav Malyshev
8f0234160a
enable Classname() constructor to be called via parent::__constructor()
2003-07-03 12:03:11 +00:00
Marcus Boerger
bc16d962a6
Fix open mode (noticed by FutureQuest, Inc.)
2003-07-03 11:17:34 +00:00
Marcus Boerger
2044fbf59e
Check private redeclare behavior
2003-07-03 10:05:01 +00:00
Stanislav Malyshev
3f0d60f749
add test for Bug #19859
2003-07-03 09:22:35 +00:00
Stanislav Malyshev
5a7b07701b
Fix bug #19859 - allow fast_call_user_function to support __call
2003-07-03 09:18:41 +00:00
Stanislav Malyshev
2f96c161df
fix the get_parent_class fix
2003-07-03 08:00:10 +00:00
Sterling Hughes
62ea4ebd92
fix these tests
2003-07-03 07:18:41 +00:00
Tomas V.V.Cox
14f70bb1b7
Store verbose=1 in config file
2003-07-03 07:08:21 +00:00
Tomas V.V.Cox
a136105e34
Atm php5 doesn't support this:
...
function foo(&$a) {
return new Bar;
}
2003-07-03 06:54:26 +00:00
Tomas V.V.Cox
6ca92fbaa6
Write the PEAR system config file while installing
2003-07-03 06:45:49 +00:00
Tomas V.V.Cox
6f14374b3b
Added tha ability to store custom data in a layer
...
Added method getConfFile()
Better layer removing in removeLayer()
2003-07-03 06:43:31 +00:00
George Schlossnagle
3d7283b94f
more of Timm's patches, and mod authors line to give credit where credit is due.
2003-07-03 05:33:23 +00:00
Tomas V.V.Cox
0ba644f3f7
typo, need the complete file name not the basenamed one
2003-07-03 05:09:36 +00:00
Jon Parise
9b31c51d66
Update documentation for PHP 5.
2003-07-03 04:14:42 +00:00
foobar
50d3650a92
Cut the long line a bit for readability..
2003-07-03 02:59:04 +00:00
Ilia Alshanetsky
a96aa89ae3
Compiler warning fix.
2003-07-03 00:55:20 +00:00
30b5cbd151
ChangeLog update
2003-07-03 00:30:19 +00:00
Marcus Boerger
5b54322dc7
Temporairy solution to overcome shutdown propbelms with objects that have
...
hidden destructors.
#
# If we set the error level to E_ERROR what we must to to be correct and an
# object needs to be automatically destructed in shutdown process then the
# exit would cause memory corruption and a SEGV.
2003-07-02 23:58:47 +00:00
Marcus Boerger
669016c724
Reorganize this a bit to ensure the object memory is destructed before
...
showing the error.
2003-07-02 23:53:53 +00:00
Uwe Schindler
948476bd45
rename functions to php5_*
2003-07-02 22:39:37 +00:00
Sara Golemon
444615e74c
Introduce connection pooling API. I'll use these in http/ftp fopen wrappers soon.
2003-07-02 22:18:59 +00:00
Marcus Boerger
d007a6ce5e
Bug #24399 : is_subclass_of(): fix memleak, too
2003-07-02 21:57:57 +00:00
Marcus Boerger
a5588b4c7a
funny fixes
2003-07-02 21:40:54 +00:00
Marcus Boerger
019d70e67a
ZTS fix
2003-07-02 21:37:46 +00:00
Wez Furlong
49228bd5e2
more size_t -> socklen_t.
...
Noticed by tychay@php.net
2003-07-02 21:11:35 +00:00
Sterling Hughes
e158cd285e
Not really the best way to solve this. But it doesn't give a segfault on
...
self-referential structures, which is always a bonus
2003-07-02 20:05:13 +00:00
Zeev Suraski
eab449ded0
Another test case
2003-07-02 18:05:45 +00:00
Derick Rethans
dab62fcf60
- use <?php in testcases
2003-07-02 18:00:51 +00:00
Zeev Suraski
60152a0db8
Add test case
2003-07-02 17:51:15 +00:00
Zeev Suraski
eb224d4a5f
Throughly fix scoping change. Fixes, among other things, bug #24403
2003-07-02 17:48:18 +00:00
Moriyoshi Koizumi
d0679bf9c8
Changed line break characters from CRLF to LF.
2003-07-02 17:13:27 +00:00
Moriyoshi Koizumi
181508a837
s/cvs/csv/
2003-07-02 17:07:56 +00:00
Andi Gutmans
02c7aacf83
- Nuke CG(in_clone_method)
2003-07-02 16:52:07 +00:00
Moriyoshi Koizumi
1379c46d9e
Fixed a leak that occurs with "R" reference variable specifier.
2003-07-02 16:19:57 +00:00
Moriyoshi Koizumi
31431193ca
Now this should make sense.
2003-07-02 15:47:24 +00:00
Moriyoshi Koizumi
ed033faaec
s/cvs/csv/ :)
2003-07-02 15:43:44 +00:00
Moriyoshi Koizumi
928d6ac769
Adjust test.
...
# This was also fixed by the Zeev's patch for bug #22367 .
2003-07-02 15:38:51 +00:00
Zeev Suraski
cb38a9227e
Adjust expectations :)
2003-07-02 15:08:11 +00:00
Zeev Suraski
d245c52e0c
Fix for bug #22367 .
...
Heads up - this will break syntactical compatiblity, return($foo) will
not work with functions that return references - return $foo should be used
instead. It never worked well before, and caused all sorts of odd bugs.
It *might* be possible to support this specifically, albeit unlikely
2003-07-02 15:06:10 +00:00
Sterling Hughes
92e9e0ca7e
optimize the case where the object is really a class name, as we don't need
...
to set EX(object) here.
2003-07-02 14:44:41 +00:00