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
Sterling Hughes
3fc83023b6
Timm Friebe points out that object detection should be done regardless of
...
the function pointer
2003-07-02 14:33:41 +00:00
Uwe Schindler
2f280dcd55
prevent user from making nested PHP requests using virtual()
2003-07-02 13:39:41 +00:00
Pierre Joye
119175c943
- tabs
2003-07-02 11:36:17 +00:00
Pierre Joye
19f3c5b5fa
- Fix #23808
2003-07-02 11:23:56 +00:00
Pierre Joye
b7c2a33f30
- MFH
2003-07-02 10:08:17 +00:00
Marcus Boerger
74a0f6c8ab
Finally fix property cloning and fix the tests accordingly.
...
# The default behaviour is to copy all properties with all current values
# from the old object. But if __clone is overwritten then only the default
# properties are cloned with their correct default values. So we keep
# the type system intact and also allow real __clone overwriting now.
2003-07-02 07:24:11 +00:00
Marcus Boerger
43e74fc8b1
Fix test name
2003-07-02 06:40:34 +00:00
Sterling Hughes
7da8fbd7ef
fix this test when using a save_handler other than files...
2003-07-02 04:34:18 +00:00
Sterling Hughes
c491b0a672
Fix bug #24445
2003-07-02 04:31:33 +00:00
Sterling Hughes
dc22926f49
add a test for get_parent_class() bug
2003-07-02 04:30:45 +00:00
Sterling Hughes
e724e4cbdb
further improve the performance and clean up
2003-07-02 03:12:06 +00:00
Sascha Schumann
4239cc4256
MFB PHP_CHECK_LIBRARY fix
2003-07-02 03:04:35 +00:00
foobar
eb8c8f94a9
*** empty log message ***
2003-07-02 02:38:47 +00:00
Ilia Alshanetsky
46d834aad2
Fixed a crash when text is added before a font is specified.
2003-07-02 02:04:00 +00:00
Wez Furlong
989500b347
socklen_t needs this.
...
We might need some more magic to ensure that socklen_t gets defined in
the correct places; lets see if any more problems arise...
2003-07-02 01:35:39 +00:00
Sascha Schumann
1b50ca4df6
Fix install-sapi dependency - it should depend on OVERALL_TARGET, of course.
2003-07-02 01:08:26 +00:00
Sterling Hughes
6084487822
not necessary, already assumed binary safe (it has to be under the current
...
session architecture), and anything else is fair play
2003-07-02 00:56:32 +00:00
Sascha Schumann
566ce10664
This file has moved for your years ago into TSRM. Delete it.
2003-07-02 00:52:35 +00:00
Sterling Hughes
960ab9bd8d
ws fix
2003-07-02 00:45:15 +00:00
Sterling Hughes
6129ddce1e
set synching to off
...
cleanup some silly code
2003-07-02 00:43:00 +00:00
ed96d7bff0
ChangeLog update
2003-07-02 00:30:25 +00:00
Sterling Hughes
8a77e2b3db
no c++ style comments
2003-07-02 00:04:58 +00:00
Sascha Schumann
ae03f44694
Sync PHP_CHECK_LIBRARY change
2003-07-02 00:04:12 +00:00
Sterling Hughes
bd4601ea28
make this actually work.
2003-07-02 00:03:41 +00:00
Marcus Boerger
30b7f39d07
Add more clone testing
2003-07-01 23:57:27 +00:00
Marcus Boerger
47a881f01c
Check handling of private class members
2003-07-01 23:50:01 +00:00
Marcus Boerger
5500287432
Fix __clone().
...
# This is somewhat discussable. I copied all properties from the old to the
# new object. But for type correctness we only need to copy the properties
# declared in the class and its parents.
#
# Also someone might want to take care about static and const members.
2003-07-01 23:29:36 +00:00