Commit Graph

19885 Commits

Author SHA1 Message Date
Raghubansh Kumar
1aa5830044 New testcases for strrchr() function 2007-09-29 16:59:07 +00:00
Raghubansh Kumar
efc32bacaa New testcases for stripos() function 2007-09-29 16:56:46 +00:00
Raghubansh Kumar
2a22e422ad New testcases for sprintf() function 2007-09-29 16:54:57 +00:00
Raghubansh Kumar
b9ccaf44fb New testcases for join() function 2007-09-29 16:52:54 +00:00
Raghubansh Kumar
3253c3b6dd New testcases for htmlspecialchars_decode() function 2007-09-29 16:51:42 +00:00
Raghubansh Kumar
482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00
Nuno Lopes
887d439404 use FREE_ZVAL() instead of free() to free a zval 2007-09-29 11:24:05 +00:00
Nuno Lopes
e029a0ee59 fix a few compiler warnings (mostly use of unitialized values) 2007-09-29 11:18:42 +00:00
Johannes Schlüter
059b506d38 - Merge minor namespace related stuff (README and tokenizer) 2007-09-28 21:02:19 +00:00
Dmitry Stogov
f37e408ed8 Support for namespaces 2007-09-28 19:53:42 +00:00
Antony Dovgal
d84755e758 ws 2007-09-28 05:33:11 +00:00
Jani Taskinen
09b6f37f20 MFH:
- Added ".htaccess" style user-defined php.ini files support for
  CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)
2007-09-28 02:05:10 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
bea9591f47 MFB52: ws+cs 2007-09-27 13:15:40 +00:00
Dmitry Stogov
10150ea755 Improved ext/soap to support element names in context of XMLShema's <any> 2007-09-27 10:01:43 +00:00
Antony Dovgal
84195223ec MFH: fix coverity issue #412 2007-09-27 09:18:50 +00:00
Antony Dovgal
7a954c4c48 MFH: fix coverity issue #411 2007-09-27 09:15:09 +00:00
Dmitry Stogov
65741beb79 MFH: Improved ext/openssl
. Added support for OpenSSL digest functions
. Added support for OpenSSL cipher functions
. Added access to internal values of DSA, RSA and DH keys
2007-09-27 08:46:00 +00:00
SVN Migration
0e5d551a56 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
Raghubansh Kumar
2ff92b584e new testcases for strrev() function 2007-09-26 14:40:14 +00:00
Antony Dovgal
72fc33ef6a MFH 2007-09-26 10:55:07 +00:00
Raghubansh Kumar
433d1a5d02 New testcases for crc32() function 2007-09-26 06:03:55 +00:00
Rui Hirokawa
e94f26f356 MFH: added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:51:36 +00:00
Ilia Alshanetsky
ddc1871576 Improve check for filename (fixed coverity issue #355) 2007-09-22 15:55:35 +00:00
Ilia Alshanetsky
24c806c41b Fixed memory leak inside array_intersec (coverity issues #403,#404) 2007-09-22 15:38:00 +00:00
Ilia Alshanetsky
91e8740fe4 Fixed memory leak inside array_diff() (coverity issues #401,#402) 2007-09-22 15:32:11 +00:00
Ilia Alshanetsky
9307163e67 Fixed memory leak inside pack() (coverity issues #398,#399,#400) 2007-09-22 15:25:46 +00:00
Raghubansh Kumar
b17d0085f3 New testcases for strspn() function 2007-09-22 10:51:38 +00:00
Raghubansh Kumar
0aa09167c1 New testcases for strcspn() function 2007-09-22 10:36:15 +00:00
Raghubansh Kumar
eb3f8fda65 New testcases for strtok() function 2007-09-22 07:39:57 +00:00
Raghubansh Kumar
32b432f878 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:58:33 +00:00
Raghubansh Kumar
12bc950491 update and split of testcases for functions array_search() and in_array() 2007-09-22 06:53:58 +00:00
Antony Dovgal
074b4e51f0 MFH: check the return value of getgroups() for -1 (coverity issue #390) 2007-09-21 14:05:18 +00:00
Antony Dovgal
43cc8937b2 MFH: plug leak on error (coverity issue #405) 2007-09-21 13:51:49 +00:00
Antony Dovgal
366c113156 MFH: plug leak on error (coverity issue #407) 2007-09-21 13:37:30 +00:00
Dmitry Stogov
9ee4848c3f Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc(). 2007-09-21 13:10:59 +00:00
Antony Dovgal
3587185a89 MFH: fix invalid read when opendir over FTP fails (coverity issue #462) 2007-09-21 12:57:38 +00:00
Stanislav Malyshev
7985002fc6 better fix for iconv_substr 2007-09-20 22:35:24 +00:00
Nuno Lopes
fa0efe45e0 fix crash when fetching a node type that doesnt exist
# reported in a manual user note
2007-09-20 22:25:06 +00:00
Stanislav Malyshev
c70e307e77 fix potential overflow (Mattias Bengtsson) 2007-09-20 21:55:14 +00:00
Stanislav Malyshev
cfd8f6d775 add test for dl() with long name 2007-09-20 18:44:24 +00:00
Jani Taskinen
30dc58671d MFH 2007-09-20 14:28:12 +00:00
Jani Taskinen
c932082f7b MFH 2007-09-20 13:49:33 +00:00
Ilia Alshanetsky
84d594e4b6 Fixed test for glob() affected by previous patch 2007-09-20 13:29:04 +00:00
Rob Richards
adb1cd835d MFH: fix bug #42139 (XMLReader option constants are broken using XML())
add test
2007-09-20 09:30:45 +00:00
Dmitry Stogov
8d377a698a Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements) 2007-09-20 09:22:59 +00:00
Antony Dovgal
f67c0222fe MFH 2007-09-20 08:10:44 +00:00
Ilia Alshanetsky
47950d10cf Fixed regression in glob() when enforcing safe_mode/open_basedir checks on
paths containing '*'
2007-09-19 22:37:58 +00:00
Antony Dovgal
77951494b7 MFH 2007-09-19 11:25:57 +00:00
Stanislav Malyshev
f7e4ff1054 one more test 2007-09-19 00:49:02 +00:00
Stanislav Malyshev
1ef91c8494 limit iconv parameters here too 2007-09-19 00:33:43 +00:00
Stanislav Malyshev
2fe9599880 limit iconv parameter sizes - workaround for glibc bug 2007-09-19 00:30:52 +00:00
Stanislav Malyshev
15a715ae73 add length tests for iconv functions 2007-09-19 00:18:01 +00:00
Rui Hirokawa
beeddd8873 MFH: fixed bug #42502 va_* cannot detect. 2007-09-18 21:35:39 +00:00
Rui Hirokawa
507112e44d modified line end CR -> CR+NL 2007-09-18 21:33:29 +00:00
Stanislav Malyshev
280e6464e8 limit dl() argument length (patch by Christian Hoffmann) 2007-09-18 20:19:34 +00:00
Ilia Alshanetsky
785b9d76f8 Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime
values).
2007-09-18 19:49:54 +00:00
Raghubansh Kumar
35990e7c5b better output matching/fixes 2007-09-15 07:29:55 +00:00
Raghubansh Kumar
ec3a713fbb Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:03:14 +00:00
Raghubansh Kumar
b59c171e23 New testcases for strncasecmp() 2007-09-14 19:02:07 +00:00
Raghubansh Kumar
6d12620591 New testcases for chop() 2007-09-14 18:58:02 +00:00
Raghubansh Kumar
e1a08e5d55 New testcases for wordwrap() 2007-09-14 18:53:38 +00:00
Raghubansh Kumar
4799047e07 New testcases for strncasecmp() function 2007-09-14 18:26:44 +00:00
Raghubansh Kumar
aafdc266bf New testscases for chop() function 2007-09-14 18:24:47 +00:00
Zoe Slattery
619b218e9a Changing to use %a to match recent run-tests.php patch 2007-09-14 16:28:54 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Nuno Lopes
b121ffae92 fix expected output 2007-09-14 15:04:19 +00:00
Raghubansh Kumar
0cb6cfcd87 better comments 2007-09-14 14:31:55 +00:00
Raghubansh Kumar
f22626ba5a New testcases for wordwrap() function 2007-09-14 14:14:48 +00:00
Raghubansh Kumar
4903f48eaa fix test 2007-09-14 09:38:13 +00:00
Nuno Lopes
bb2ec1c790 fix test, particularly when running with valgrind, bacause it may take more than one second to execute both instructions and thus get different dates 2007-09-13 19:58:26 +00:00
Nuno Lopes
b0e393e543 attemp to set locale if it exists. fix skip condition 2007-09-13 19:51:34 +00:00
Nuno Lopes
e3e2a62d44 fix test expected output 2007-09-13 18:55:28 +00:00
Nuno Lopes
69fbaf7d10 fix skip reasons. the word 'skip' should be followed by a single space and doesnt need any \n at the end 2007-09-13 18:24:26 +00:00
Ilia Alshanetsky
2cfdcd265d Added a note indicating that the tests may fail to due libc implementation 2007-09-13 15:36:37 +00:00
Jani Taskinen
859a017f95 MFH: cs/ws 2007-09-13 07:42:12 +00:00
Stanislav Malyshev
f39d5a2f21 docs say dl() parameter can be filename only - enforce it 2007-09-13 00:56:31 +00:00
Stanislav Malyshev
1f45d49a0c fix crash if stream is empty and reader function sets buffer as null 2007-09-12 21:21:18 +00:00
Ilia Alshanetsky
910850be51 Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT). 2007-09-12 18:26:49 +00:00
Jani Taskinen
bf132de1eb MFH:- Fixed bug #42627 (bz2 extension fails to build with -fno-common) 2007-09-12 11:44:26 +00:00
Nuno Lopes
b24d4ddac9 fix bug #39651: proc_open() append mode doesnt work on windows 2007-09-12 11:42:43 +00:00
Raghubansh Kumar
99c6da86f3 marked with Bug #42038 2007-09-12 09:47:35 +00:00
Andrey Hristov
dc34874dc9 Fix stupid error, which happens only on Windows. And we thought this has
been fixed. Now my_thread_end() should be called and there should be no
warnings in the error logs of exiting thread, which hasn't deinited, and
leaks.
2007-09-12 09:12:56 +00:00
Raghubansh Kumar
5e6724b122 marked with Bug# 42638 2007-09-12 08:27:35 +00:00
Ilia Alshanetsky
79325e3c55 MFH: Fixed function definition 2007-09-11 23:34:25 +00:00
Pierre Joye
fd15282c77 - [DOC] add alpha support for imagefilter's IMG_FILTER_COLORIZE 2007-09-11 21:03:48 +00:00
Nuno Lopes
336111e4e9 remove the -DHAVE_CONFIG_H switch again to fix things on windows
this means that the upgrade script strips the #ifdef automatically
2007-09-11 16:17:34 +00:00
Rob Richards
7f7c158096 MFH: revert config header change 2007-09-11 11:25:20 +00:00
Jani Taskinen
3327653e19 - Fix tests (we are not interested what the old value was for the ini option) 2007-09-11 10:23:04 +00:00
Raghubansh Kumar
b33ea59337 fix test 2007-09-11 05:21:40 +00:00
Ilia Alshanetsky
ea6de20d86 Fixed Bug #42596 (session.save_path MODE option does not work). 2007-09-10 23:42:54 +00:00
Antony Dovgal
a09eadc95b fix tests 2007-09-10 10:28:54 +00:00
Antony Dovgal
99695744ac split one more ten-in-one test
and fix \v\f stuff while we're here..
2007-09-09 22:28:06 +00:00
Scott MacVicar
734dfc8b75 MFH: Fixed bug 42549 (ext/mysql failed to compile with libmysql 3.23) 2007-09-09 16:08:17 +00:00
Pierre Joye
7ea43ee23a - re-add fix for libgd #106, imagerectangle draws 1x1 rectangles
as 1x3 rectangles
2007-09-09 13:05:51 +00:00
Rob Richards
20296c625d MFH: point to valid config header 2007-09-08 09:57:22 +00:00
Pierre Joye
793956a0e1 - #42592, remove ending dot in warning msg 2007-09-07 18:23:58 +00:00
Raghubansh Kumar
a14ef42c0c New testcases for ucwords() function 2007-09-07 14:44:52 +00:00
Raghubansh Kumar
67b4492c47 New testcases for strncmp() function 2007-09-07 14:20:12 +00:00
Raghubansh Kumar
cf2121887c New testcases for stripslashes() function 2007-09-07 13:51:26 +00:00
Zoe Slattery
b7a47a439b fixing error in expected output 2007-09-07 10:28:03 +00:00
Ilia Alshanetsky
022d4fc0b6 Added missing safety checks for 2nd parameter of setlocale() function 2007-09-07 02:28:42 +00:00
Derick Rethans
e280715150 - MFH: Add a comment why not ~0 or -1. 2007-09-06 13:28:05 +00:00
Andrey Hristov
09fbf87a6c Fixed leaks with multiple connects using one mysqli object.
HEAD will be fixed during the next mysqlnd merge

Fixed failing test for bug38710, 5.0 version is bad, 5.1 is ok.
2007-09-06 10:07:42 +00:00
Raghubansh Kumar
af40765f8f New testcases for addslashes() function 2007-09-06 04:01:25 +00:00
Ilia Alshanetsky
49c91f6e33 MFH: fixed typo in function name 2007-09-05 13:03:59 +00:00
Andrey Hristov
649152ca49 Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion)
Fixed regression of bug 38710. Already fixed in HEAD.
#HEAD will be fixed when doing the next merge from svn
2007-09-05 12:36:44 +00:00
Dmitry Stogov
e56466edc8 Fixed bug #42214 (SoapServer sends clients internal PHP errors) 2007-09-05 11:20:45 +00:00
Dmitry Stogov
ee944bd1b5 Fixed bug #42488 (SoapServer reports an encoding error and the error itself breaks). 2007-09-05 10:18:23 +00:00
Antony Dovgal
2198abb1c4 MFH: detect endianness in compile time when using Apple's GCC (fixes universal binary build) 2007-09-04 18:46:21 +00:00
Rui Hirokawa
b9424cdfaf MFH: fixed bug #29955 invalid case conversion in iso-8859-9. 2007-09-04 14:14:11 +00:00
Ilia Alshanetsky
72f910c012 Fixed possible buffer overflows inside the fnmatch() and glob() functions 2007-09-04 12:51:49 +00:00
Zoe Slattery
b78b25a336 Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 09:01:02 +00:00
Raghubansh Kumar
5096c8d232 fix tests 2007-09-04 08:37:51 +00:00
Ilia Alshanetsky
59a410cb76 Fixed bug #42506 (php_pgsql_convert() timezone parse bug) 2007-09-03 15:36:04 +00:00
Ilia Alshanetsky
09cad322fa Fixed bug #42468 (Write lock on file_get_contents fails when using a
compression stream).
2007-09-03 02:53:56 +00:00
Derick Rethans
152d379950 - MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:38:39 +00:00
Nuno Lopes
c6f777da1f adapt for PCRE 7.3
remove ability to include config.h from php_pcre.c, as it seems pretty useless and produces a few warnings
2007-09-01 17:51:35 +00:00
Nuno Lopes
3edd2a69f2 upgrade to PCRE 7.3 2007-09-01 17:48:43 +00:00
Nuno Lopes
a3e6be974f new test 2007-09-01 17:47:13 +00:00
Antony Dovgal
eaa89d2443 1.2.4 2007-08-31 22:30:27 +00:00
Antony Dovgal
19b1e39830 fix package2.xml 2007-08-31 22:26:13 +00:00
Antony Dovgal
c230fa2b76 add Chris to the maintainers 2007-08-31 21:44:57 +00:00
Christopher Jones
63bfa32aee New tests for getAttribute 2007-08-31 21:09:43 +00:00
Christopher Jones
af387e49ba Add $dbh->getAttribute() support for ATTR_SERVER_VERSION, ATTR_SERVER_INFO, ATTR_CLIENT_VERSION, ATTR_AUTOCOMMIT. Sync WS between PHP 5 & 6 and add a couple of casts. 2007-08-31 21:08:48 +00:00
Antony Dovgal
a1ac6e1ee3 update changelog, prepare for 1.2.4 release 2007-08-31 12:10:54 +00:00
Dmitry Stogov
83647013af Fixed bug #42359 (xsd:list type not parsed) 2007-08-31 10:48:45 +00:00
Jani Taskinen
cac7e107c6 MFH: ws + protos 2007-08-31 10:46:19 +00:00
Dmitry Stogov
fdf96bed47 Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic compliant wsdl) 2007-08-31 09:36:02 +00:00
Dmitry Stogov
ba1f56cb6d Fixed bug #42326 (SoapServer crash) 2007-08-31 08:07:28 +00:00
Jani Taskinen
cd0cfdfc39 MFH 2007-08-31 07:42:05 +00:00
Christopher Jones
4450386ae0 New tests 2007-08-30 17:33:00 +00:00
Rob Richards
78b2aaa954 MFH: fix bug #42462 (Segmentation when trying to set an attribute in DOMElement) 2007-08-30 16:32:34 +00:00
Hannes Magnusson
2fc92c9172 - Fixed bug #42452 (PDO classes do not expose Reflection API information)
- Fixed tests
2007-08-30 14:06:12 +00:00
Raghubansh Kumar
5081b960e5 fix test: do not run when noatime set 2007-08-30 04:04:58 +00:00
Raghubansh Kumar
16980248cc fix test: do not run on MACOS 2007-08-29 10:11:40 +00:00
Pierre Joye
a83c2153f9 - gd bug #102, alternative fix when an old library is used 2007-08-29 06:26:30 +00:00
Raghubansh Kumar
3b32190c91 fix test, do not run on macos 2007-08-29 04:38:09 +00:00
Pierre Joye
73fcf22627 - revert fix for #106
- add news entry for pslib fix
  NB: Please next time, inform us before a complete freeze is done for
      a given branch. And a week for a RC is defitively too short.
2007-08-27 08:27:45 +00:00
Pierre Joye
0d98b9a1d9 - MFB: gd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 20:35:11 +00:00
Zoe Slattery
9dfb01d3b1 adding check for rc1 to version-compare test 2007-08-24 14:47:50 +00:00
Derick Rethans
80b4ee9f44 - MFH: Make version_compare() also understand the lower case variant of "RC". 2007-08-23 18:38:42 +00:00
Jani Taskinen
de85bf4060 MFH: ws + cs changes (sync to ease merging patches around!) 2007-08-23 12:23:59 +00:00
Jani Taskinen
19401951c0 MFH: sync 2007-08-23 11:42:21 +00:00
Raghubansh Kumar
ede06426ee fix tests 2007-08-23 09:32:37 +00:00
Ilia Alshanetsky
89c0ba1685 Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir
bypass).
2007-08-23 02:04:39 +00:00
Ilia Alshanetsky
f30f2ef733 Fixed bug #42368 (Incorrect error message displayed by pg_escape_string). 2007-08-22 22:40:29 +00:00
Jani Taskinen
8ab9984707 MFH:- Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:59:45 +00:00
Dmitry Stogov
8a61fc9b6e Fixed bug #42183 (classmap cause crashr in non-wsdl mode) 2007-08-22 14:18:10 +00:00
Johannes Schlüter
254992907c - MFH: Fix Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:45:53 +00:00