Commit Graph

17714 Commits

Author SHA1 Message Date
Hartmut Holzgraefe
836e74ebee MFH 2006-07-10 14:06:13 +00:00
Dmitry Stogov
83ac79600e Fixed bug #37947 (zend_ptr_stack reallocation problem) 2006-07-10 14:02:40 +00:00
Antony Dovgal
d9d23050d1 MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 13:02:43 +00:00
Dmitry Stogov
26c7981ccf Another fix for #38019 2006-07-10 12:46:28 +00:00
Antony Dovgal
3113fa9440 MFH: initialize vars 2006-07-10 11:26:22 +00:00
Dmitry Stogov
26499be68f Fixed bug #38055 (Wrong interpretation of boolean parameters) 2006-07-10 10:33:43 +00:00
Dmitry Stogov
690e86fdb2 Fixed bug #38019 (segfault extending mysqli class) 2006-07-10 10:05:20 +00:00
Dmitry Stogov
795a482a48 Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) 2006-07-10 07:41:33 +00:00
Hartmut Holzgraefe
098d3d2b02 MFH 2006-07-10 07:39:35 +00:00
Dmitry Stogov
1cfb8af265 Fixed test 2006-07-10 07:26:17 +00:00
Dmitry Stogov
c389a653f7 Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:21:41 +00:00
Marcus Boerger
71efa5b435 - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) 2006-07-10 00:18:53 +00:00
Marcus Boerger
c5ff44688a - MFH Fix logic 2006-07-09 23:30:19 +00:00
Ilia Alshanetsky
ff08705591 Removed pointless declarations 2006-07-09 23:28:28 +00:00
Marcus Boerger
d26b539c61 - MFH DualIterator 2006-07-09 10:24:32 +00:00
Marcus Boerger
5fee10735f - MFH Add spl_object_hash() 2006-07-09 10:22:27 +00:00
Marcus Boerger
0fd2b96204 - MFH Add test 2006-07-08 12:25:57 +00:00
Nuno Lopes
c26991a9eb MFH 2006-07-08 00:13:17 +00:00
Hannes Magnusson
147840dd93 MFH: ReflectionFunction::isDisabled() 2006-07-07 11:55:23 +00:00
Ilia Alshanetsky
89635eb158 E_ERROR > E_RECOVERABLE_ERROR 2006-07-06 23:13:18 +00:00
Ilia Alshanetsky
278dc574f2 E_ERROR > E_RECOVERABLE_ERROR 2006-07-05 17:38:14 +00:00
Antony Dovgal
d90263437c add test for bug #38003 2006-07-05 13:31:17 +00:00
Antony Dovgal
0f8f945418 MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) 2006-07-05 11:48:30 +00:00
SVN Migration
1b0a789ab9 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-05 10:12:43 +00:00
Ilia Alshanetsky
f0178f71ee Eliminate some compiler warnings 2006-07-04 20:12:38 +00:00
Derick Rethans
d060a6e8a2 - MFH: Updated timezonedb to version 2006.7.
- MFH: Fixed test cases because of new constant values for the formats.
2006-07-04 18:13:58 +00:00
Hannes Magnusson
612e75442f mfh 2006-07-04 15:37:34 +00:00
Hannes Magnusson
1d6e7e3d93 MFH: Fix protos&arginfo 2006-07-04 15:33:57 +00:00
Dmitry Stogov
d550c270ce Fixed memory leak 2006-07-04 07:26:53 +00:00
Hannes Magnusson
a32fb32781 Make everyone happy 2006-07-03 22:42:03 +00:00
Ilia Alshanetsky
4a0d670f43 Fixed test 2006-07-03 21:58:46 +00:00
Hannes Magnusson
87bc74ea7a fix tests 2006-07-03 16:03:51 +00:00
Nuno Lopes
919d737505 more testing 2006-07-03 14:46:44 +00:00
Nuno Lopes
9990b3f431 new tests and fix the locales test where the pt local isnt available. 2006-07-03 13:04:45 +00:00
Ilia Alshanetsky
1b2cc459c6 Fixed bug #37987 (invalid return of file_exists() in safe mode). 2006-07-02 13:51:40 +00:00
Hannes Magnusson
7af33194e5 MFH: arginfo fixes 2006-07-02 00:11:06 +00:00
Nuno Lopes
b7311e9173 fixed segfaults and such things within the new assert02.phpt test 2006-07-01 12:21:07 +00:00
Hannes Magnusson
6910275d51 MFH reference fixes 2006-06-30 18:17:38 +00:00
Antony Dovgal
a518b450fd MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971) 2006-06-30 10:53:11 +00:00
Ilia Alshanetsky
9048ae292c Fixed test for situations where pspell_clear_session() is unavailable. 2006-06-29 22:54:31 +00:00
Antony Dovgal
6c37c9fa0a fix test on AIX and Solaris 2006-06-29 22:45:19 +00:00
Ilia Alshanetsky
70f2bcf763 Fixed test 2006-06-29 22:42:25 +00:00
Hannes Magnusson
1c530aa7cb Fix test on linux 2006-06-29 22:10:47 +00:00
Hannes Magnusson
3fd28953c6 mfh 2006-06-29 15:01:31 +00:00
Hannes Magnusson
77b307021d fix test 2006-06-29 14:53:50 +00:00
Hannes Magnusson
7a6fe06e4b url->URL 2006-06-29 14:40:49 +00:00
Hannes Magnusson
bcd06ef1b6 Bug #37961 (url should be URL) 2006-06-29 14:31:56 +00:00
Antony Dovgal
b8f97db580 MFH: make sure we won't get into endless loop 2006-06-29 09:03:27 +00:00
Antony Dovgal
6a43f6805c add new tests 2006-06-29 09:00:33 +00:00
Ilia Alshanetsky
24ac7931cd Improved safe_mode check for the error_log() function. 2006-06-28 22:08:42 +00:00
Antony Dovgal
0212ec6c71 MFH: fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:33 +00:00
Nuno Lopes
e8a3530d50 new tests (001.phpt is just a rename from the older one)
increases coverage from 20% to 70%
2006-06-28 14:36:23 +00:00
Ilia Alshanetsky
58c82af64d Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:32:56 +00:00
Nuno Lopes
38e47dd0bb add new tests. bump code coverage to more than 80% 2006-06-27 22:43:26 +00:00
Hannes Magnusson
297a3d8e4c arginof fixes 2006-06-27 22:14:18 +00:00
Hannes Magnusson
52fd069ff4 Fix arg info (php6 features) 2006-06-27 21:42:16 +00:00
Nuno Lopes
29b0798cc8 revert per Derick request 2006-06-27 21:00:03 +00:00
Nuno Lopes
5c97837ca2 add a couple of static and const keywords, to let the compiler optimize better
will MFB in a hour, or so
2006-06-27 19:48:01 +00:00
Antony Dovgal
7dec2a7354 more tests 2006-06-27 15:55:06 +00:00
Antony Dovgal
5f024dcc16 more date() tests 2006-06-27 15:08:16 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Hannes Magnusson
000957818e MFH: fix test 2006-06-26 23:42:59 +00:00
Antony Dovgal
8058f9fd11 add new tests 2006-06-26 23:35:22 +00:00
Antony Dovgal
e24fe395a2 MFH: zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:58 +00:00
Antony Dovgal
3d97f45bc4 don't try to inflate empty strings (and stop segfaulting!) 2006-06-26 22:53:10 +00:00
Hannes Magnusson
fd1679e7f0 nuke obsolete arginfo 2006-06-26 22:47:31 +00:00
Hannes Magnusson
e06665c961 MFH: argument info 2006-06-26 22:41:22 +00:00
Hannes Magnusson
c9c2c0e1f8 MFH: test for bug #37244 2006-06-26 22:20:27 +00:00
Antony Dovgal
3d63ca3edc add new tests, improve the old ones 2006-06-26 22:17:18 +00:00
Antony Dovgal
5d2d2fd5a3 MFH: detect empty mode string and avoid off-by-one 2006-06-26 21:13:46 +00:00
Hannes Magnusson
ec420c3df8 Updated protos & vim folding 2006-06-26 18:48:56 +00:00
Hannes Magnusson
5326a8b2bc MFH: argument info for php_user_filter
Add tests
2006-06-26 17:23:39 +00:00
Hannes Magnusson
223d122cae MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings 2006-06-26 16:33:39 +00:00
Hannes Magnusson
d258bcd951 MFH: Removed obsolete arginfo include 2006-06-26 14:11:17 +00:00
Hannes Magnusson
ae1ec65637 Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML() 2006-06-26 13:41:52 +00:00
Dmitry Stogov
de85c9cd70 Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 13:23:46 +00:00
Rasmus Lerdorf
862c4d2345 MFH: fix sapi_getenv() leak 2006-06-26 13:15:20 +00:00
Antony Dovgal
0b073cd34c improve test file
don't forget to test invalid parameters etc.
2006-06-25 21:21:59 +00:00
Hannes Magnusson
d836ff68c8 WS fix 2006-06-25 21:08:28 +00:00
Hannes Magnusson
7b6bf33b03 MFH: image_type_to_mime_type() 2006-06-25 21:06:39 +00:00
Marcus Boerger
97062cade9 - MFH Fix ReflectionObject::getProperties() + dyn properties 2006-06-24 18:55:15 +00:00
Antony Dovgal
87dd729187 plug leak 2006-06-23 13:53:43 +00:00
Ilia Alshanetsky
f1d09682fb Change E_ERROR to E_RECOVERABLE_ERROR 2006-06-23 11:37:53 +00:00
Antony Dovgal
1fdd8d7b2a MFH: fix typo and bug #37886 2006-06-23 08:26:15 +00:00
Michael Wallner
68421695ac - use %zu to format size_t 2006-06-23 07:30:26 +00:00
Antony Dovgal
6ccc1d1fb5 MFH: add wrappers for timelib_day_of_week_ex() 2006-06-22 21:04:32 +00:00
Antony Dovgal
47b41a5d6c MFH:
don't try to parse empty string, return false immediately
(fixes off-by-one)
2006-06-22 18:44:31 +00:00
Ilia Alshanetsky
0d708dc358 Fixed compiler warnings. 2006-06-21 15:19:23 +00:00
Antony Dovgal
4b674fb7b0 MFH: improve check for stream mode, add tests 2006-06-21 14:38:28 +00:00
Antony Dovgal
8c30a7f8a6 MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) 2006-06-21 13:12:37 +00:00
Antony Dovgal
e7439fa200 MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2) 2006-06-21 12:43:27 +00:00
Ilia Alshanetsky
f496f5014a Removed pointless callbacks. 2006-06-20 22:39:15 +00:00
Nuno Lopes
b7bca610dd make sure the test outputs what we want 2006-06-20 21:49:16 +00:00
Hannes Magnusson
748b589925 Renamed to bug37864.phpt 2006-06-20 19:33:31 +00:00
Hannes Magnusson
1332a14cfc MFH 2006-06-20 19:32:59 +00:00
Antony Dovgal
959af2a28d don't leave garbage in tmp dir 2006-06-20 18:55:46 +00:00
Hannes Magnusson
3674994be5 MFH: test for file_get_contents leaking on empty file 2006-06-20 18:48:56 +00:00
Hannes Magnusson
c14ba0f124 MFH: Missing header include 2006-06-20 18:04:25 +00:00
Antony Dovgal
3ff986ecf7 init vatiables 2006-06-20 13:26:01 +00:00
Antony Dovgal
eaf4ea2e74 MFH: nuke unused variables and init variables when needed 2006-06-20 13:21:16 +00:00
Antony Dovgal
44005b7986 fix test 2006-06-20 13:14:29 +00:00
Antony Dovgal
8df36aaf32 fix test 2006-06-20 13:06:50 +00:00
Ilia Alshanetsky
0406556da4 Added missing ifdef block.
# Thanks Mike
2006-06-19 23:52:39 +00:00
Antony Dovgal
ba8f17e483 MFH: display oci8 version in phpinfo() 2006-06-19 18:21:28 +00:00
Antony Dovgal
3ce8ccb6f2 fix #37848 (ext/odbc compile failure) 2006-06-19 16:13:15 +00:00
Antony Dovgal
20ee84dea6 MFH: fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:45 +00:00
Ilia Alshanetsky
3b7be889d8 Added posix_initgroups() function. 2006-06-19 02:19:13 +00:00
Hannes Magnusson
aae5df3ffd MFH: arg ifno 2006-06-17 13:06:06 +00:00
Hannes Magnusson
c6080567e2 Fix test 2006-06-17 12:51:02 +00:00
Nuno Lopes
aa48814378 change the timezone used (per Derick request)
add one string I missed yesterday. Now every strotime() rule is covered
2006-06-17 10:30:23 +00:00
Nuno Lopes
ca6e1bbcda new tests. the .re file coverage increases to 96%. really good :) 2006-06-16 22:46:57 +00:00
Seiji Masugata
ee23aba678 changed GINIT definition. 2006-06-16 16:45:46 +00:00
foobar
4793980a8f Fix build. (gmp_nextprime() was added in PHP 6!) 2006-06-16 00:14:35 +00:00
Rasmus Lerdorf
8ab6f3fd39 MFH: Optimize the other string conversion functions here to just create
raw text nodes.
2006-06-15 22:45:30 +00:00
Rasmus Lerdorf
12022014fa MFH:
I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.
2006-06-15 20:49:05 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Nuno Lopes
c3ed91477a fix bug #37800: preg_replace() limit parameter odd behaviour
#this is a regression in PHP_5_2 and HEAD branches only
2006-06-15 15:33:25 +00:00
Hannes Magnusson
954acfe261 MFH: Revert array type hinting 2006-06-15 15:31:54 +00:00
Hannes Magnusson
f0d98ad3de MFH: argument info.. 2006-06-14 21:36:10 +00:00
Nuno Lopes
a943d234f5 fix memory leak uncovered by the pcre_extra.phpt test 2006-06-14 17:52:56 +00:00
Nuno Lopes
a7bc286638 more tests (and fix 2 from yesterday) 2006-06-14 17:37:53 +00:00
Nuno Lopes
7406f3771a remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API) 2006-06-14 16:26:22 +00:00
Ilia Alshanetsky
18870e3afc E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 16:04:13 +00:00
Christian Stocker
d7fd19b7ff MFH
Fix a segfault, when an unknown type was given and support all known xpath object types
2006-06-14 09:42:35 +00:00
Nuno Lopes
c93dc5d873 add new tests, increasing coverage by about 10% 2006-06-13 21:55:38 +00:00
Ilia Alshanetsky
b8bee35259 Removed unused variables. 2006-06-13 20:19:37 +00:00
Ilia Alshanetsky
3ff5fb0631 Fixed compiler warning 2006-06-12 23:28:32 +00:00
Ilia Alshanetsky
d74f9ff550 Improved performance of the implode() function on associated arrays by
200-300%.
2006-06-11 21:55:49 +00:00
Ilia Alshanetsky
66141bd5d1 Fixed ZTS build 2006-06-11 20:47:34 +00:00
Hannes Magnusson
dd2c03ca48 MFH: fix typo 2006-06-11 20:12:17 +00:00
Hannes Magnusson
21b0f60332 MFH: argument infos 2006-06-11 20:03:05 +00:00
Ilia Alshanetsky
f876b800a2 Fully print array() in phpinfo(). 2006-06-11 16:27:16 +00:00
Hannes Magnusson
3104233019 MFH: arginfo, protos, vim folding 2006-06-11 01:42:17 +00:00
Hannes Magnusson
50de3fd1ce MFH: fix test 2006-06-11 00:18:30 +00:00
Ilia Alshanetsky
37d88ca5a0 Improved performance of str_replace() when doing 1 char to 1 char or 1 char
to many chars replacement by 30-40%.
2006-06-10 15:29:06 +00:00
Hannes Magnusson
13fe33c2df MFH
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
    and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
    its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue
2006-06-10 00:40:57 +00:00
Derick Rethans
ddd8fd3e3d - Fixed bug #37747 (strtotime segfaults when given "nextyear"). 2006-06-08 16:27:05 +00:00
Marcus Boerger
44ba014c5f - MFH Add arginfo (hannes) 2006-06-07 22:39:22 +00:00
Rasmus Lerdorf
76bff5194c Put the TODO back 2006-06-07 21:14:04 +00:00
Rasmus Lerdorf
658762a0b5 Get rid of useless function calls 2006-06-07 21:09:52 +00:00
Antony Dovgal
9123bee257 MFH:
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit

many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:51 +00:00
Marcus Boerger
e0844e09bd - MFH iterator_apply() 2006-06-07 09:44:42 +00:00
Marcus Boerger
1f93575c88 - MFH Add ReflectionClass::getInterfaceNames() 2006-06-07 09:26:11 +00:00
Ilia Alshanetsky
a9c6e4be1e Fixed bug #37709 (Possible crash in PDO::errorCode()). 2006-06-07 03:33:16 +00:00
Antony Dovgal
e5c8f8c59b yet another dummy clone_obj handler to fix problems created by ze1 compat mode 2006-06-06 22:05:56 +00:00
Antony Dovgal
a07500042d implement a dummy clone_obj handler for ze1 compat mode
(fixes segfault on every XMLReader instantiation)
2006-06-06 21:44:34 +00:00
Michael Wallner
d6212d96f4 - only try to fetch stream context options if context is set 2006-06-06 21:38:03 +00:00
Antony Dovgal
928c20942b plug a leak in ext/spl/tests/iterator_047.phpt 2006-06-06 20:11:35 +00:00
Rob Richards
704ed9625c nuke unused call 2006-06-06 12:08:11 +00:00
Rob Richards
d6a526d66b restore missing ze1 compat code 2006-06-06 12:05:30 +00:00