Commit Graph

19661 Commits

Author SHA1 Message Date
Christopher Jones
864a08d1cb Test existing PHP 5 safe mode functionality and make consistent. No MTH. 2007-08-02 22:39:54 +00:00
Christopher Jones
5534e4381d Fix message grammar and capitalization 2007-08-02 19:38:08 +00:00
Christopher Jones
f894c6ece7 MFH: Bug #42173 (INTERVAL and TIMESTAMP type fixes) 2007-08-02 19:04:37 +00:00
Ilia Alshanetsky
3f1b9990a4 Fixed bug #41831 (pdo_sqlite prepared statements convert resources to
strings).
2007-08-01 22:45:31 +00:00
Christopher Jones
e942c16f7c MFH: New test for error handling 2007-08-01 15:18:37 +00:00
Pierre Joye
6387c99f83 - fix win32 build 2007-08-01 15:13:40 +00:00
Antony Dovgal
d5a59064f9 MFH 2007-08-01 11:43:05 +00:00
Dmitry Stogov
8589a7f473 Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception) 2007-08-01 10:39:33 +00:00
Johannes Schlüter
8566193449 - MFH: Use a script to generate tokenizer data from zend_language_parser.h 2007-07-31 23:24:11 +00:00
Ilia Alshanetsky
c72d39f763 Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes
unexpected behavior).
2007-07-31 22:48:42 +00:00
Antony Dovgal
49fbb7770b add test 2007-07-31 21:11:33 +00:00
Antony Dovgal
287ac21d5f MFH: missing part of the fix for bug #42134 2007-07-31 21:09:01 +00:00
Antony Dovgal
9efa1d8914 MFH: fix #42134 (oci_error() returns false after oci_new_collection() fails) 2007-07-31 19:21:08 +00:00
Rob Richards
e0a2d149f5 MFH: fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults) 2007-07-31 15:40:49 +00:00
Rob Richards
ce582024a5 MFH: fix possible crash 2007-07-31 15:07:54 +00:00
Jani Taskinen
8af7bc2044 MFH: Fix some lib vs $PHP_LIBDIR issues 2007-07-31 13:02:00 +00:00
Antony Dovgal
095fdf88ce fix typo 2007-07-31 12:23:50 +00:00
Antony Dovgal
d78c7c9421 fix test 2007-07-31 07:09:08 +00:00
Stanislav Malyshev
fb927452c9 sometimes c-client lib returns non-null entry with null host 2007-07-31 00:31:10 +00:00
Pierre Joye
6ed7c8f3aa - fix gd bug #102, < 0 means that no load are loaded, return false
- add error code in the warning
2007-07-30 21:42:36 +00:00
Rob Richards
b96718ba20 allow user specified class to be returned from transformToDoc 2007-07-30 16:33:22 +00:00
Ilia Alshanetsky
f8217712a4 Fixed bug #42142 (substr_replace() returns FALSE when length > string
length).

[doc] Adjust length validation check inside substr_replace() to be similar
to that inside substr() so that excessive length is truncated to string
length.
2007-07-30 14:22:06 +00:00
Ilia Alshanetsky
3034092111 Fixed bug #42135 (Second call of session_start() causes creation of SID) 2007-07-29 14:43:30 +00:00
Rob Richards
b96a8a79ba Fixed Bug #42112 (deleting a node produces memory corruption)
add test
2007-07-28 08:32:51 +00:00
Ilia Alshanetsky
d3571ea2a9 WS 2007-07-27 00:20:43 +00:00
Jani Taskinen
68b823564d MFH: - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:24:06 +00:00
Jani Taskinen
9fe59f509c MFH: cs + ws fixes 2007-07-26 14:30:22 +00:00
Raghubansh Kumar
dcc62b53bf file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:38:24 +00:00
Hannes Magnusson
423982ac97 MFH: arginfo 2007-07-26 13:20:21 +00:00
Ilia Alshanetsky
2600cf9c20 Already exists in PECL 2007-07-25 22:26:14 +00:00
Dmitry Stogov
2d3d745bd9 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:06 +00:00
Hannes Magnusson
d2d88e74a0 MFH: Show "wrong parameter count" error messages 2007-07-25 09:06:22 +00:00
Johannes Schlüter
179c67a64b - New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]
2007-07-24 23:15:58 +00:00
Hannes Magnusson
e3b8cf0f66 MFH: Fixed bug#42090 (json_decode causes segmentation fault) 2007-07-24 22:57:13 +00:00
Antony Dovgal
3afa134717 [DOC] MFH: add PCRE_VERSION constant to ext/pcre 2007-07-24 22:35:18 +00:00
Dmitry Stogov
af0e8612af Fixed test 2007-07-24 20:08:33 +00:00
Ilia Alshanetsky
1bc2880c46 Test name formatting fixes 2007-07-24 14:07:42 +00:00
Dmitry Stogov
7ec48cb37f Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:39:56 +00:00
Jani Taskinen
c96c5ca91f MFH:- Added missing MSG_EOR and MSG_EOF constants 2007-07-24 11:35:08 +00:00
Jani Taskinen
10da2d994b MFH: removed useless file 2007-07-24 11:15:59 +00:00
Dmitry Stogov
7a847f1086 Fixed bug #41983 (Error Fetching http headers terminated by '\n') 2007-07-24 09:27:46 +00:00
Andrey Hristov
38ae7f47c0 Fix build with latest 5.1 sources where gptr is no more. 2007-07-24 09:22:16 +00:00
Ilia Alshanetsky
5cdae5bdbb Fixed bug #42072 (No warning message for clearstatcache() with arguments). 2007-07-23 23:03:09 +00:00
Antony Dovgal
fe25997d44 fix test 2007-07-23 22:46:03 +00:00
Antony Dovgal
48f4ea9fba fix test 2007-07-23 22:14:47 +00:00
Antony Dovgal
a13e153942 remove the tests, they've been splitted into smaller ones 2007-07-23 19:19:09 +00:00
Jani Taskinen
e8fcd7477c MFH: Fixed str_pad() when passed huge negative pad length. 2007-07-23 13:27:59 +00:00
Antony Dovgal
17ee976404 fix ws/folding 2007-07-23 12:24:52 +00:00
Jani Taskinen
5b71d45eff MFH: sync 2007-07-23 11:53:58 +00:00
Jani Taskinen
0dd60dd1cd MFH: fix descriptions 2007-07-23 10:47:13 +00:00
Antony Dovgal
ecb986892c more tests 2007-07-23 09:14:34 +00:00
Dmitry Stogov
1f5310747e Fixed wrong expectation 2007-07-23 08:58:17 +00:00
Raghubansh Kumar
e4bf2268bf more testcases for glob() function 2007-07-23 07:32:08 +00:00
Raghubansh Kumar
6e8d7aa85d New testcases for glob() function 2007-07-23 05:22:59 +00:00
Hannes Magnusson
e6e823c844 Avoid endless loop 2007-07-23 01:13:43 +00:00
Jani Taskinen
0b40ec1f19 MFH:- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ) 2007-07-22 23:01:20 +00:00
Jani Taskinen
815d8a9743 MFH: ws fix + sync U stuff for patches to MFB easier 2007-07-22 22:47:18 +00:00
Jani Taskinen
542d413277 MFH: sync 2007-07-22 22:22:09 +00:00
Jani Taskinen
257405eda6 - Test properly for socketpair inside an extension. 2007-07-22 22:18:41 +00:00
Raghubansh Kumar
8c01bf9ffb More new testcases for fread() function 2007-07-22 17:41:25 +00:00
Raghubansh Kumar
58bae48bf4 New testcases for fread() functions 2007-07-22 17:27:35 +00:00
Ilia Alshanetsky
3fea65b0dc Fixed "Floating point exception" inside wordwrap() 2007-07-22 15:55:16 +00:00
Ilia Alshanetsky
20c4198341 Added test for KEY_PAIR code and fixed KEY_PAIR detection code 2007-07-22 15:50:17 +00:00
Ilia Alshanetsky
285316fcff Fixed PDO_FETCH_KEY_PAIR implementation for fetchAll() 2007-07-22 15:14:21 +00:00
Raghubansh Kumar
a6278717f5 New testcases for stat() function on windows 2007-07-22 12:37:09 +00:00
Raghubansh Kumar
66e901b9d5 New testcases for ftruncate() function 2007-07-22 12:35:03 +00:00
Raghubansh Kumar
6b81cef355 fix tests 2007-07-22 12:26:18 +00:00
Raghubansh Kumar
5b83920434 New testcases for umask() function 2007-07-21 18:16:17 +00:00
Raghubansh Kumar
1797c6870e New testcases for lstat() and stat() functions 2007-07-21 17:35:37 +00:00
Raghubansh Kumar
a47f464e6e New testcases for is_file() function 2007-07-21 17:34:03 +00:00
Raghubansh Kumar
7cefd7792c New testcases for is_dir() function 2007-07-21 17:31:42 +00:00
Raghubansh Kumar
0e6b39f515 New testcases for fseek(), ftell() and rewind() functions 2007-07-21 17:30:23 +00:00
Raghubansh Kumar
ff2a77b1d3 New testcases for fflush() function 2007-07-21 17:14:50 +00:00
Raghubansh Kumar
0b4fc7c768 New testcases for fgetc() and fgets() functions 2007-07-21 07:55:07 +00:00
Jani Taskinen
a22a6711ad MFH: Fixed compile warnings 2007-07-21 01:24:26 +00:00
Jani Taskinen
10a6af6bd0 MFH: cs+ws+compile warning fixes 2007-07-21 00:51:17 +00:00
Jani Taskinen
bffb8c406c MFH: fix warnings 2007-07-20 23:53:40 +00:00
Raghubansh Kumar
d62163292f Fix for fill_file() in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:07:02 +00:00
Antony Dovgal
bfed3520c9 MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:56 +00:00
Antony Dovgal
93af1c1f84 MFH: fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:49:45 +00:00
Antony Dovgal
a091268eef MFH 2007-07-19 15:15:26 +00:00
Antony Dovgal
0806c6c804 add new tests from HEAD 2007-07-19 15:04:15 +00:00
Antony Dovgal
79e53b202c fix ws & folding 2007-07-19 14:32:55 +00:00
Antony Dovgal
297f069eb6 MFH 2007-07-19 12:16:30 +00:00
Jani Taskinen
09d9338040 MFH:- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4) 2007-07-19 10:50:16 +00:00
Christopher Jones
d2219c0a1a MFH: add casts to fix compilation warnings 2007-07-18 15:10:42 +00:00
Raghubansh Kumar
9d7e023e37 New testcases for filesystem handling function : unlink() 2007-07-18 04:59:46 +00:00
Jani Taskinen
addd471501 MFH:- Fixed bug #42019 (configure option --with-adabas=DIR does not work) 2007-07-17 12:12:26 +00:00
Nuno Lopes
e73b3b0dc4 update for latest library rlease 2007-07-17 10:29:32 +00:00
Jani Taskinen
e8f3167cd3 MFH: removed dots from error messages 2007-07-17 09:09:42 +00:00
Jani Taskinen
0b31350607 MFH:- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform") 2007-07-17 08:40:24 +00:00
Antony Dovgal
aaa16ad82b initialize glob struct 2007-07-16 20:29:21 +00:00
Ilia Alshanetsky
39c1705848 Fixed a possible crash inside the constructor 2007-07-16 18:00:18 +00:00
Raghubansh Kumar
38002b9f7f fix tests 2007-07-16 17:55:39 +00:00
Raghubansh Kumar
c9aedbdda1 New testcases 2007-07-16 17:34:44 +00:00
Antony Dovgal
b355edcc3a MFH 2007-07-16 13:29:47 +00:00
Antony Dovgal
2399b208db MFH: split test 2007-07-16 10:59:17 +00:00
Jani Taskinen
c77bcba737 - Remove ereg/ from PHP_5_2 branch. (not yet wanted here :) 2007-07-15 19:43:06 +00:00
Derick Rethans
cd34e1c27a - MFH: Let's always use the macro as llabs() requires c99. 2007-07-13 17:49:50 +00:00
Antony Dovgal
241e66a708 MFH: split the test 2007-07-13 16:47:39 +00:00
Zoe Slattery
a7b240b337 Assert test cases 2007-07-13 15:20:12 +00:00
Jani Taskinen
ad61002dc4 MFH: fix wrong logic 2007-07-13 15:09:19 +00:00
Jani Taskinen
9d53e19697 MFH: cleanups + fixes 2007-07-13 14:23:59 +00:00
Dmitry Stogov
6c5e9cc6e4 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown 2007-07-13 14:00:05 +00:00
Rob Richards
01fe5a0f22 MFH: use macro - llabs not always available on win32 2007-07-13 12:50:00 +00:00
Jani Taskinen
06877d0064 - Do not break thousands of scripts.. (will remove in 5.3) 2007-07-13 10:55:43 +00:00
Antony Dovgal
40e44e99d6 MFH: don't allow $PHP_OCI8 to be empty if OCI8 is enabled
fixes bug #41988
2007-07-13 09:24:30 +00:00
Dmitry Stogov
1e768865dc Fixed memleak 2007-07-13 09:14:03 +00:00
Jani Taskinen
3dff7a7dba MFH: - Make sure people call ldap_first_attribute() before ldap_next_attribute() 2007-07-13 02:00:39 +00:00
Jani Taskinen
95f8148f18 MFH:- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions)
# This removes an useless parameter from 2 functions. Perhaps the next
# release should be 5.3.0, there are lot of other new things done already.
# Sneak in namespaces too.. ;)
2007-07-13 01:24:16 +00:00
Jani Taskinen
f54f453209 MFH: - Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter). 2007-07-12 22:08:58 +00:00
Zoe Slattery
55ff728d73 reflectionObject tests 2007-07-12 21:03:39 +00:00
Derick Rethans
af88e0b52c - MFH: Commit generated file. 2007-07-12 18:59:55 +00:00
Derick Rethans
7588023b65 - MFH: Missing file in previous commit. 2007-07-12 18:59:05 +00:00
Derick Rethans
4b64dbb9a1 - MFH: Fixed bug #41964 (strtotime returns a timestamp for non-time string of
pattern '(A|a) .+').
- MFH: Fixed bug #41844 (Format returns incorrect number of digits for negative
  years -0001 to -0999).
- MFH: Fixed bug #41842 (Cannot create years < 0100 & negative years with
  date_create or new DateTime).
- MFH: Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- MFH: Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as
  1999-11-30).
2007-07-12 18:58:00 +00:00
Seiji Masugata
e206802652 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:31:54 +00:00
Jani Taskinen
28a2fe07b4 MFH: close file handles 2007-07-12 11:14:22 +00:00
Jani Taskinen
efe310579e MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached) 2007-07-12 11:03:46 +00:00
Antony Dovgal
9069dde1a4 fix test 2007-07-12 09:26:42 +00:00
Jani Taskinen
eb923bf6fc MFH: - Changed AC_ARG_* options to PHP_ARG_* options.
MFH: - Some cleanups here and there
MFH: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (checks for unknown configure
MFH:   options)
# Note to Marcus: ext/dba/config.m4 needs to be "converted" to use
# the PHP_ARG_* options. I did't touch it needs quite a lot of work to keep
# it's current behaviour regarding "enabled-by-default" parts of it.
#
# Hint: By using the PHP_ARG_* options you have the "default" option.. ;)
2007-07-11 23:20:37 +00:00
Antony Dovgal
4ef905ae59 MFH 2007-07-11 22:16:11 +00:00
Antony Dovgal
d3ac984385 MFH 2007-07-11 22:06:54 +00:00
Jani Taskinen
0261432888 MFH 2007-07-11 21:51:55 +00:00
Zoe Slattery
addad71048 More reflectionClass tests 2007-07-11 20:11:34 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Antony Dovgal
40f32634c2 MFH: fix copy/paste type and bug #41962 2007-07-11 13:27:49 +00:00
Dmitry Stogov
1ad841d53a mproced openssl_x509_parse() to return extensions in readable form 2007-07-11 12:18:14 +00:00
Jani Taskinen
3067f6a937 MFH: Nuked unnecessary AC_MSG_CHECKING 2007-07-11 11:56:03 +00:00
Jani Taskinen
a0a2b24df5 MFH: cleanup, removed unnecessary macro definitions 2007-07-11 11:50:37 +00:00
Raghubansh Kumar
f0a8003c23 better check for skip 2007-07-11 09:13:47 +00:00
Jani Taskinen
45c85130af MFH: Changed AC_ARG_ENABLE to PHP_ARG_ENABLE 2007-07-11 08:47:45 +00:00
Dmitry Stogov
f765f73e5f Fixed memory leak 2007-07-11 07:36:12 +00:00
Dmitry Stogov
2821378c33 Fixed crash on non-string passphrase 2007-07-11 07:26:52 +00:00
Stanislav Malyshev
37781a5a84 Escape mail.force_extra_parameters value 2007-07-10 20:21:24 +00:00
Stanislav Malyshev
143badba52 always check save_path (issue reported by Maksymilian Arciemowicz) 2007-07-10 17:40:41 +00:00
Zoe Slattery
90fd8fd7e8 tests for reflectionClass 2007-07-10 16:25:15 +00:00
Dmitry Stogov
ca854215db Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:11 +00:00
Rob Richards
796d9cd783 fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces
add test
2007-07-10 12:24:51 +00:00
Antony Dovgal
d0ee4977e7 MFH: use safe_emalloc() 2007-07-10 11:08:08 +00:00
Raghubansh Kumar
c5254dbc1d These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:55:34 +00:00
Raghubansh Kumar
f159642284 Fix and smaller testcases for mkdir_rmdir_variation.phpt, popen_pclose_error.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:38:33 +00:00
Dmitry Stogov
539f67ed8f Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
  By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00
Dmitry Stogov
fe9a826605 Proper fix for MOPB-29 2007-07-09 14:31:56 +00:00
Jani Taskinen
21290220f7 MFH: use defined values instead of plain integers 2007-07-09 13:42:05 +00:00
Zoe Slattery
4c22d54e23 ReflectionClass constructor tests 2007-07-09 13:22:10 +00:00
Jani Taskinen
cab5c25dc2 MFH:- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present) 2007-07-09 12:54:11 +00:00
Jani Taskinen
fb8aedb046 MFH 2007-07-09 12:38:02 +00:00
Jani Taskinen
7c6f0bd42b MFH: - Use $PHP_LIBDIR where appropriate 2007-07-09 12:33:43 +00:00
Jani Taskinen
d56933b179 MFH: Fixed bug #41870 (PDO_ODBC module linking fails with iODBC) 2007-07-09 11:13:56 +00:00
Antony Dovgal
e79091eb13 MFH 2007-07-09 09:08:59 +00:00