Commit Graph

17547 Commits

Author SHA1 Message Date
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
Ilia Alshanetsky
6ab23efb3a Fixed bug #37705 (Semaphore constants not available). 2006-06-05 22:52:11 +00:00
Antony Dovgal
1b602e85d1 fix leak appearing on phpinfo() when there are no PDO modules available 2006-06-05 22:08:16 +00:00
Zeev Suraski
66b90c7052 Final ze1_compat restoration - it was mostly done by hand, so if anybody
spots any (new) problems, let me know.  Test wise, the same tests that
failed before are failing now.
2006-06-05 16:53:21 +00:00
Antony Dovgal
a588f2dc60 MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
prevent username, password and new password from being empty
2006-06-05 07:35:32 +00:00
Ilia Alshanetsky
63a658ee7a Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 14:56:34 +00:00
Marcus Boerger
ac2a29913c - Add missing classes 2006-06-04 10:47:22 +00:00
Marcus Boerger
37f5474ce9 - MFH Use engine call to register interfaces (steph) 2006-06-04 10:34:22 +00:00
Marcus Boerger
dfd2295849 - Use engine call to register interfaces (steph) 2006-06-04 10:26:55 +00:00
Andrei Zmievski
5735927d86 I swear it wasn't me. 2006-06-03 18:56:44 +00:00
Rob Richards
a86232d9bb MFH: add setIdAttribute, setIdAttributeNS and setIdAttributeNode functionality 2006-06-02 16:17:25 +00:00
Ilia Alshanetsky
5b5e7a4de9 Fixed compiler warning 2006-06-01 22:42:22 +00:00
Michael Wallner
6e2ff39e3e - Fix bug #37630: MySQL extensions should link against thread safe client libs if built with ZTS 2006-06-01 19:14:48 +00:00
Michael Wallner
c0505439c3 - Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is
enabled)
2006-06-01 15:14:45 +00:00
Antony Dovgal
17ad6e2ebf apply correct fix 2006-06-01 14:31:22 +00:00
Antony Dovgal
112f263591 MFH: suppress_errors is used only on Win32, no need to look for it on other systems 2006-06-01 14:03:49 +00:00
Antony Dovgal
0675e5eabb MFH: nuke unused variable 2006-06-01 13:45:26 +00:00
Antony Dovgal
48098f0774 fix tests 2006-06-01 13:17:36 +00:00
Antony Dovgal
210335909a MFH: no need to fetch trsm_ls when it's already available 2006-06-01 12:25:38 +00:00
Antony Dovgal
d5be48711a MFH: add expected warning to the test 2006-05-31 20:40:11 +00:00
Derick Rethans
c116ecf207 - There was nothing wrong here, bug report #37595 is bogus.
- Added a new test case to demonstrate a longer plain text.
2006-05-31 20:09:07 +00:00
Antony Dovgal
47edd8a303 MFH: fix #37595 (mcrypt_generic calculates data length in wrong way) 2006-05-31 12:06:36 +00:00
Antony Dovgal
9246ba2a82 more test fixes, this time support Oracle 10 2006-05-30 22:34:16 +00:00
Antony Dovgal
c1272d8972 fix tests 2006-05-30 22:27:32 +00:00
Antony Dovgal
2817ddccf5 fix test 2006-05-30 21:54:42 +00:00
Antony Dovgal
bc5b8eabea MFH 2006-05-30 21:38:12 +00:00
Sara Golemon
79b21ec4cf MFH: Minor fixes (bjori) 2006-05-30 19:06:22 +00:00
Michael Wallner
258351c30a - fix bug #37635 (parameter of pcntl signal handler is trashed) 2006-05-30 17:40:52 +00:00
Seiji Masugata
c314888c29 added mb_stristr( ), mb_strrichr( ). 2006-05-30 15:47:53 +00:00
Seiji Masugata
731584c076 added mb_strstr( ), mb_strrchr( ). 2006-05-30 15:45:35 +00:00
Seiji Masugata
42aadabfcb added mb_stripos( ), mb_strripos( ). 2006-05-30 15:43:09 +00:00
Seiji Masugata
7314771a35 added mb_list_encodings_alias_names( ), mb_list_mime_names( ). 2006-05-30 15:40:39 +00:00
Seiji Masugata
91dd8376bd added option parameter mb_list_encodings( ). 2006-05-30 15:38:22 +00:00
Hannes Magnusson
91d4ef33ef MFH: Play nice, use 4digit years in DATE_RSS 2006-05-30 15:14:22 +00:00
Ilia Alshanetsky
5186ee9c59 Added memory_get_peak_usage() function for retrieving peak memory usage of
a PHP script.
2006-05-30 14:51:20 +00:00
Hannes Magnusson
61fc424321 MFH: Fixed DATE_COOKIE, DATE_RSS & tests 2006-05-30 14:46:46 +00:00
Antony Dovgal
bb4c7ff0e9 MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package 2006-05-30 13:16:48 +00:00
Derick Rethans
9a9cd86f38 - Now as text and not HTML. 2006-05-30 13:14:51 +00:00
Derick Rethans
fb92e33b5d - MFH: Fixed bug #37616: DATE_RFC822 does not product RFC 822 dates. (Patch by
Hannes Magnusson)
2006-05-30 13:12:21 +00:00
Antony Dovgal
e4a3732c91 no need to call zend_is_callable() if callable is known to be invalid
free fname on failure and plug possible leak
2006-05-30 09:46:59 +00:00
Ilia Alshanetsky
a400d8908d Convert E_ERROR to E_RECOVERABLE_ERROR 2006-05-30 02:40:33 +00:00
Antony Dovgal
43b660b6ea MFH: no need to check it for not-NULL 2006-05-29 21:31:49 +00:00
Antony Dovgal
70c643f5f0 fix tests 2006-05-29 21:08:02 +00:00
Antony Dovgal
fb696afd10 add test 2006-05-29 20:31:48 +00:00
Antony Dovgal
8ca3826a28 MFH: return NULL in case of error 2006-05-29 20:26:32 +00:00
Antony Dovgal
9e1b944989 MFH: improve sed expressions 2006-05-29 18:12:55 +00:00
Michael Wallner
3b407d143b - Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 16:53:56 +00:00
Antony Dovgal
be0fc2b801 MFH: fix #37531 (oci8 persistent connection corruption) 2006-05-29 10:59:30 +00:00
Antony Dovgal
ec68882101 add test 2006-05-29 10:42:54 +00:00
Antony Dovgal
be0b8c71bc initialize srcstream 2006-05-29 10:39:59 +00:00
Antony Dovgal
1a63feffd1 MFH: prevent resource leaking when passing invalid stream resource as second argument 2006-05-29 10:24:49 +00:00
Georg Richter
10ed7a1e0a Fix for bug #37620 2006-05-29 05:38:50 +00:00
Ilia Alshanetsky
1ad21d9b12 Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion
limit support).
2006-05-28 15:33:56 +00:00
Rob Richards
a7aa62ded1 MFH: add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:23:50 +00:00
Dmitry Stogov
10371b034a Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 09:02:35 +00:00
Pierre Joye
59ddb74938 - fix leaks in openssl context options 2006-05-26 00:32:07 +00:00
Ilia Alshanetsky
b882f9f37e Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters) 2006-05-25 22:54:16 +00:00
Michael Wallner
3dcef1b9be - implement standard http stream wrapper options, fixes bug #34180
- skip empty headers in on_header_available()
2006-05-25 12:41:35 +00:00
Antony Dovgal
99e13c50f9 MFH: remove debug output and fix bug #37589 2006-05-25 11:46:38 +00:00
Marcus Boerger
7110650668 - Update test 2006-05-25 10:46:53 +00:00
Marcus Boerger
ec79dd793d - MFH Bugfix 37587 2006-05-25 09:59:25 +00:00
Dmitry Stogov
93851ebf11 Fixed bug #37278 (SOAP not respecting uri in __soapCall) 2006-05-25 08:14:28 +00:00
Ilia Alshanetsky
53988d8cf5 Fixed bug #37563 (array_key_exists performance is poor for &$array). 2006-05-24 23:14:08 +00:00
Antony Dovgal
755caecfc9 fix test 2006-05-24 23:04:58 +00:00
Antony Dovgal
4cb3d18276 fix #37418 (tidy module crashes CLI version of PHP) 2006-05-24 21:22:13 +00:00
Antony Dovgal
fb32c077a2 fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled)) 2006-05-24 20:21:02 +00:00
Marcus Boerger
1448086b22 - MFH Add more tests from Ligaya Turmelle 2006-05-23 23:47:44 +00:00
Marcus Boerger
59d2ce8258 - MFH Fix feof() 2006-05-23 22:31:25 +00:00