Commit Graph

6418 Commits

Author SHA1 Message Date
Sanjay Mantoor
4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Alexey Zakhlestin
374086f172 MFB: skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:57 +00:00
Alexey Zakhlestin
d8393b570c MFB: these tests work just fine on macos-x 2008-10-21 12:48:37 +00:00
Felipe Pena
4443f9d90f - Revert 2008-10-16 13:04:30 +00:00
Alexey Zakhlestin
2b7351c0e4 MFB: Fixed compilation warnings: tsrm_ls is not used here (anymore?) 2008-10-16 12:21:27 +00:00
Kalle Sommer Nielsen
e667c25403 [DOC] Remove define_syslog_variables() and define_syslog_variables ini option 2008-10-15 18:41:18 +00:00
Arnaud Le Blanc
d4cb99a976 Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:02 +00:00
Mikko Koppanen
723b88f964 Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:31:21 +00:00
Antony Dovgal
746aa4485e use HashPosition to prevent race condition in multithreaded env 2008-10-02 08:46:04 +00:00
Scott MacVicar
fb3d413bf0 Remove license condition that is no longer required. 2008-10-01 11:01:26 +00:00
Sanjay Mantoor
497e58ebf5 New testcases for array_diff_uassoc() function 2008-09-26 11:57:41 +00:00
Nuno Lopes
2c49010756 MFB: clean some dead code 2008-09-23 15:22:05 +00:00
Antony Dovgal
22802419ba fix segfault with serialize(new __PHP_Incomplete_Class) found by Felipe
add test
2008-09-16 14:36:10 +00:00
Dmitry Stogov
f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Arnaud Le Blanc
c2f830ca21 MFB / fix tests 2008-09-14 14:57:26 +00:00
Arnaud Le Blanc
8225d21a2d Fix str len in stripos when $offset argument is given 2008-09-14 14:56:34 +00:00
Arnaud Le Blanc
35fad44b7b Fix leak in fgetc() 2008-09-14 14:55:50 +00:00
Antony Dovgal
63ffff111c fix typo
test before commit!
2008-09-12 10:30:18 +00:00
Felipe Pena
a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +00:00
Lars Strojny
7949c4d771 prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:24 +00:00
Sanjay Mantoor
5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Stanislav Malyshev
3a55154b6b add some windows-style INI entries to tests 2008-09-11 00:50:08 +00:00
Felipe Pena
1ae8e8b94e - Fixed some wrong format parameters 2008-09-08 01:30:55 +00:00
Felix De Vliegher
3d539dacd6 MFB: Tests for get_browser(). 2008-09-06 23:20:53 +00:00
Pierre Joye
c0c6854c50 - #45985, touch on opened file raises a warning 2008-09-04 08:03:31 +00:00
Jani Taskinen
a4a02f3830 [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:19:21 +00:00
Jani Taskinen
231604ae2d update credits: new sapi, stuff moved to pecl.. 2008-08-30 23:59:35 +00:00
Jani Taskinen
782c11a4e0 - Move the tests where they belong 2008-08-30 23:20:25 +00:00
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Felipe Pena
15697830b4 - Fixed tests 2008-08-29 15:47:00 +00:00
Dmitry Stogov
7c111e1e80 Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:41 +00:00
Antony Dovgal
ae7119239a fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:13:57 +00:00
Felipe Pena
a69b38f7e9 - Removed the undocumented object support in the leftover array functions [DOC]
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 02:48:28 +00:00
Pierre Joye
c96aec4634 - MFB:inline definition (win32) 2008-08-26 06:54:37 +00:00
Felipe Pena
d3ed3e3a36 - New test 2008-08-25 19:38:18 +00:00
Jani Taskinen
49a3de0ace - Fix win32 build 2008-08-25 14:10:22 +00:00
Felipe Pena
b1e51d0555 - Fixed tests 2008-08-25 13:44:33 +00:00
Jani Taskinen
c20a11231c - Nuke unncessary checks already done elsewhere (ZEND)
- Use the correct type header files if available. (win32 does what it does)
- inline definition is in php_config.h, so include it always.
2008-08-25 13:42:46 +00:00
Jani Taskinen
1736edba99 fix test: no crap left behind 2008-08-25 13:40:33 +00:00
Jani Taskinen
d3b358cf3d - Nuke duplicate macro call 2008-08-25 12:14:48 +00:00
Pierre Joye
7700551e7a - more fixes for inet_* with vc9/xp 2008-08-23 20:31:27 +00:00
Pierre Joye
662e4b7725 - fix build 2008-08-23 17:08:30 +00:00
Arnaud Le Blanc
ceb0e0ee64 Fix build on solaris 2008-08-23 13:57:01 +00:00
Felipe Pena
7de23da81e - Removed unused arguments 2008-08-22 15:51:50 +00:00
Pierre Joye
adfa214688 - drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Pierre Joye
dcb0cc3d2b - [DOC] fix test, chr uses codepoint as input 2008-08-21 23:28:21 +00:00
Pierre Joye
1f0f4b56e7 - use date.timezone ini setting 2008-08-21 18:36:44 +00:00
Pierre Joye
d61c5689c2 - use date.timezone ini setting instead of ENV 2008-08-21 18:33:06 +00:00
Pierre Joye
e80e2e8ef6 - fix test on windows 2008-08-21 18:24:53 +00:00
Marcus Boerger
6b1377b1f5 - Fix 64bit issue 2008-08-21 16:55:31 +00:00
Pierre Joye
e6edc95f50 - different parser message on windows 2008-08-21 13:04:43 +00:00
Pierre Joye
aafdb1a2e3 - "fix" crash on windows 2008-08-21 12:38:34 +00:00
Pierre Joye
73b03d9f8f - use 'C' (and enable it on windows) 2008-08-21 12:24:24 +00:00
Pierre Joye
6e41f9069f - don't skip if windows matches 2008-08-21 12:13:31 +00:00
Pierre Joye
26a4e6d61f - MFB: use "C" instead of "" (and enable it on windows) 2008-08-21 12:06:02 +00:00
Dmitry Stogov
6905205ad1 Adder error code into error message 2008-08-21 11:28:09 +00:00
Pierre Joye
e3a0de9e45 - skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:35 +00:00
Pierre Joye
10f187e7ff - make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:34 +00:00
Pierre Joye
4c86d24f5e - make it portable 2008-08-21 09:43:38 +00:00
Antony Dovgal
d5c8e59d97 revert for now 2008-08-21 08:37:01 +00:00
Pierre Joye
17422e1f32 - +skip 2008-08-21 08:30:28 +00:00
Pierre Joye
0ce0493942 - MFB: skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:55 +00:00
Pierre Joye
96310b8905 - work around ENV VC6 bug 2008-08-20 22:19:57 +00:00
Lars Strojny
fefef1621f Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:16 +00:00
Felipe Pena
6bdded7863 - Fixed test 2008-08-20 13:54:13 +00:00
Pierre Joye
4f5715d260 - MFB: strncpy returns the byte copied not error code or 0 2008-08-20 13:31:30 +00:00
Antony Dovgal
1cab2c1e24 fix warning 2008-08-20 09:00:37 +00:00
Antony Dovgal
17eab7f0da fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:23 +00:00
Antony Dovgal
9bb1694aa4 shudown crypt correctly and fix memleak in ZTS mode 2008-08-19 15:14:15 +00:00
Felipe Pena
30f7bd1cb6 - MFB: New parameter parsing API
- Fixed tests
2008-08-19 02:51:28 +00:00
Pierre Joye
d57790d04d - MFB: don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:26:30 +00:00
Pierre Joye
635c978762 - new parameter API error 2008-08-18 18:10:36 +00:00
Jani Taskinen
1f2d50e7c7 - Fix include 2008-08-18 10:40:05 +00:00
Dmitry Stogov
6552f469e5 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:00 +00:00
Dmitry Stogov
6944510111 Reverted wrong "fix" 2008-08-18 09:20:56 +00:00
Pierre Joye
171791837d - this change was not part of the env patch 2008-08-18 07:47:52 +00:00
Pierre Joye
8114893b3e - MFB: unix is too young (<1970), make the test portable 2008-08-18 07:20:56 +00:00
Pierre Joye
7a1487b025 - [DOC] make putenv behaves like unix putenv on Windows:
.  FOO=1234 => set FOO to 1234
 .  FOO= => set FOO to an empty string
 .  FOO= => unset FOO
 . Use Set/GetEnvironmnent variable only
2008-08-18 07:09:20 +00:00
Arnaud Le Blanc
70f66898a4 Fix tests (closes #45841) 2008-08-18 04:45:25 +00:00
Moriyoshi Koizumi
ab976fe2d4 - Beware of signedness 2008-08-18 03:26:06 +00:00
Felipe Pena
d54a413912 - New parameter parsing API 2008-08-17 22:11:21 +00:00
Arnaud Le Blanc
c9789b9eb3 Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:51:36 +00:00
Pierre Joye
d3b8d9f635 - add %a for Compiler/architecture 2008-08-17 16:43:36 +00:00
Pierre Joye
e3e8c437ba - [DOC] improve fix for #43261 for % and " 2008-08-17 15:23:23 +00:00
Pierre Joye
2345321956 - fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:06 +00:00
Pierre Joye
614299969b - MFB:
- fix or improve tests
 - add dump of the array_diff for compare_stats
2008-08-17 11:10:52 +00:00
Felipe Pena
7148ea9561 - New parameter parsing API
- Fixed tests
2008-08-16 21:16:25 +00:00
Pierre Joye
37fe35f1c3 - remove confusion for non windows/linux users 2008-08-16 13:27:18 +00:00
Hannes Magnusson
16a53bd75d Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:26 +00:00
Pierre Joye
a279b66f9c - MFB: wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:34 +00:00
Pierre Joye
44ddda0c2d - make it portable without loosing pertinent data 2008-08-15 19:33:43 +00:00
Pierre Joye
2d2c2de62f - make it portable without loosing pertinent data 2008-08-15 19:25:56 +00:00
Pierre Joye
0b9d80861a - fix test
- add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:09 +00:00
Pierre Joye
31e17fd3fa - New parameter parsing API > new warning 2008-08-15 16:50:55 +00:00
Dmitry Stogov
2f3e1ae545 Fixed possible infinity loop in tests 2008-08-15 09:27:14 +00:00
Jani Taskinen
48442e4ab8 - Fix tests 2008-08-14 23:43:21 +00:00
Jani Taskinen
45e2d7bd58 fix test 2008-08-14 23:28:47 +00:00
Jani Taskinen
06137bf0ce - Fix test: Do not leave your crap behind! 2008-08-14 23:25:27 +00:00
Jani Taskinen
ce8106ff13 fix test 2008-08-14 20:33:20 +00:00
Antony Dovgal
c7a1743048 [DOC] add quoted_printable_encode() 2008-08-14 10:11:26 +00:00
Antony Dovgal
586759c740 fix folding 2008-08-14 10:10:56 +00:00
Antony Dovgal
c6ed73718e fix build 2008-08-14 09:41:47 +00:00
Kalle Sommer Nielsen
09b362ff07 Fix arginfo for nl2br 2008-08-14 09:26:54 +00:00
Kalle Sommer Nielsen
f358d03691 Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element) 2008-08-14 02:55:13 +00:00
Felipe Pena
1e919abde7 - Fix build on BSD (5_3 and 5_2 are OK) 2008-08-14 01:13:18 +00:00
Jani Taskinen
bc6a9ad209 [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC]  startup:
[DOC]
[DOC]  To disable: Override default php.ini by using both -c and -n with
[DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC]              to an empty string.
[DOC]
[DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC]             to another path.

- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Felipe Pena
8a4e3981ed - Fixed tests 2008-08-12 20:00:28 +00:00
Felipe Pena
cbad1c9e7c - New parameter parsing API 2008-08-12 19:38:05 +00:00
Pierre Joye
70b94f2adb - update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:04:50 +00:00
Pierre Joye
dce0ac6e08 - not supported on windows 2008-08-12 11:55:47 +00:00
Arnaud Le Blanc
baae1c3fb1 clear stat cache in chroot() 2008-08-11 23:14:21 +00:00
Arnaud Le Blanc
0fa58b5775 Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:17 +00:00
Arnaud Le Blanc
0ea8978235 Check the relevant path for open_basedir in symlink() 2008-08-11 15:29:06 +00:00
Pierre Joye
a37e9d2e0f - skip on wndows, chgrp not supported 2008-08-11 13:29:16 +00:00
Pierre Joye
8369777cae - removed commented code 2008-08-11 13:14:01 +00:00
Pierre Joye
94b661a37f - [DOC] detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Felipe Pena
b9b83ec794 - New parameter parsing API (for *printf()) 2008-08-10 21:48:22 +00:00
Pierre Joye
4a015008b6 - fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly) 2008-08-10 21:34:02 +00:00
Felipe Pena
f168ea0fb3 - New parameter parsing API (for min() and max()) 2008-08-10 17:49:30 +00:00
Pierre Joye
bb8085acc4 - fix string len 2008-08-10 14:15:31 +00:00
Arnaud Le Blanc
eebec53bc0 Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c Fixed test 2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Antony Dovgal
37b57badf0 disable the test on AIX - unlink() deletes directories there (omg..) 2008-08-09 22:35:17 +00:00
Antony Dovgal
c5b2255843 fix typo 2008-08-09 21:02:30 +00:00
Hannes Magnusson
cd353d6c26 Fix build on FreeBSD4.11 (bug#45757) 2008-08-08 08:19:46 +00:00
Felix De Vliegher
7da0fe6ef0 MFB: Basic and error tests for stream_filter_remove(). 2008-08-07 22:32:43 +00:00
Nuno Lopes
83938211db MFB: upgrade to PCRE 2008-08-07 12:51:05 +00:00
Arnaud Le Blanc
a51e5ebaeb Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Antony Dovgal
951fe380b3 fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:15 +00:00
Stanislav Malyshev
9d04ad3dc2 fix test 2008-08-05 21:59:11 +00:00
Stanislav Malyshev
fb9945422e fix memnstr bug by Laurent Gaffie 2008-08-05 21:23:20 +00:00
Jani Taskinen
a445bcdb2f - Add test for bug #45712 2008-08-05 12:36:21 +00:00
Arnaud Le Blanc
4386384222 Fixed test 2008-08-05 10:09:12 +00:00
Dmitry Stogov
83c993baab Fixed test 2008-08-04 07:16:29 +00:00
Jani Taskinen
9a3b00b16e missing eol 2008-08-03 12:04:57 +00:00
Jani Taskinen
6928f2e279 - Fix comment 2008-08-03 12:03:02 +00:00
Arnaud Le Blanc
630fb69796 MFB: Allow urlencode()d filer names in php://filter (fixes #43008) 2008-08-02 06:37:34 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Johannes Schlüter
e0e15347e2 - Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:17:07 +00:00
Pierre Joye
b1f466b3ed - missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:07 +00:00
Felipe Pena
663450701d - Fix memory leak 2008-07-29 16:51:21 +00:00
Arnaud Le Blanc
d739f8f0da Fixed previous fix 2008-07-29 13:57:20 +00:00
Felipe Pena
886087b701 - Fix the fix 2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939 - Fix mem. leak 2008-07-29 12:36:36 +00:00
Felipe Pena
a9e846b21e - Fixed tests 2008-07-29 12:20:39 +00:00
Arnaud Le Blanc
aa34fda7ee When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:03:57 +00:00
Elizabeth Marie Smith
fec135a4e3 Secure versions of string functions don't exist for VC6 2008-07-28 16:48:38 +00:00
Pierre Joye
852fef98ed - vc6 is picky about brackets when used with a defined type... 2008-07-28 16:32:48 +00:00
Pierre Joye
5ba946926f - #45430, windows implementation of crypt is not TS
- add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
- Make crypt features portable:
  - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
  - if one algo is missing, php's implemetation is used
  - Windows always use php's implementation
- removed old code in windows/
2008-07-28 11:34:53 +00:00
Jani Taskinen
093b7afd9e update credits 2008-07-26 22:40:45 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Jani Taskinen
b3ec151f8f MFB: generated with a bit newer re2c 2008-07-25 09:17:52 +00:00
Michael Wallner
6e228f0c76 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:10 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Felipe Pena
997c24d068 - New parameter parsing API 2008-07-24 12:48:47 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Felipe Pena
9c262a3343 - Improved parameter handling 2008-07-24 03:06:16 +00:00
Lars Strojny
441848362d array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:38:10 +00:00
Felipe Pena
211064f588 - Fixed tests 2008-07-23 19:49:07 +00:00
Felipe Pena
cc9a38bdca - New parameter parsing API 2008-07-23 19:33:58 +00:00
Felipe Pena
ca536ea944 - Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
(patch by ilewis at uk dot ibm dot com)
2008-07-23 16:27:16 +00:00
Jani Taskinen
5e1f4665e3 Fix test (bug #44985) 2008-07-23 14:15:00 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Antony Dovgal
40b04059f9 fix test 2008-07-23 10:26:39 +00:00
Antony Dovgal
624122daff sync test with other branches 2008-07-23 09:29:09 +00:00
Arnaud Le Blanc
4102806c0c Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:26:26 +00:00
Scott MacVicar
955466e479 MFB: Fix windows build error. 2008-07-22 21:56:25 +00:00
Scott MacVicar
9f26bea98f Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:18:37 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Pierre Joye
d3b351114a - fix build 2008-07-22 10:04:53 +00:00
Scott MacVicar
69ee229b97 Fix integer oveflow in strrpos() 2008-07-22 01:05:55 +00:00
Lars Strojny
817546a99f Fixing tests broken by the introduction E_USER_DEPRECATED 2008-07-21 22:06:01 +00:00
Felipe Pena
2d1fbe1328 - Fixed tests 2008-07-21 14:31:40 +00:00
Felipe Pena
6842e84b34 - MFB: New parameter parsing API 2008-07-21 14:29:46 +00:00
Jani Taskinen
f25ac22c58 MFB: The rest of the fix too for previous commit 2008-07-21 11:27:45 +00:00
Kalle Sommer Nielsen
348cec30d0 Forgot to fix title 2008-07-21 11:09:23 +00:00
Jani Taskinen
f6404d756c MFB:- Fixed bug #40079 (php_get_current_user() not thread safe). 2008-07-21 10:16:32 +00:00
Jani Taskinen
3ea12e99c0 ws 2008-07-21 10:10:34 +00:00
Steph Fox
d5970d85be MFB Make compiler/architecture info potentially cross-platform 2008-07-21 09:58:28 +00:00
Felipe Pena
d986dd8bc1 - MFB: Added arginfo 2008-07-20 14:29:30 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Scott MacVicar
fa85c408a9 Fix bug when < is used within attribute. 2008-07-15 14:44:46 +00:00
Felix De Vliegher
4b1c0f0722 MFB: Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:15:32 +00:00
Josie Messa
0d4efeb6f2 - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:28:51 +00:00
Felipe Pena
2a55e75300 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:34:43 +00:00
Felipe Pena
9277fc89c4 - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:43:06 +00:00
Antony Dovgal
3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Antony Dovgal
e5612456de fix skip messages 2008-07-11 09:16:50 +00:00
Antony Dovgal
8e28f5d4c0 check for posix_getuid() 2008-07-11 09:15:37 +00:00
David Soria Parra
82830dd06f PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:36:15 +00:00
Etienne Kneuss
cecf208c3f Fix resolution rule of count vs. handler 2008-07-09 21:29:39 +00:00
Jani Taskinen
c344b35cc8 - Update credits 2008-07-07 10:38:16 +00:00
Dmitry Stogov
d8aad16dd0 Use new parameter parsing API 2008-07-01 10:01:25 +00:00
Antony Dovgal
640cdfa3ad int -> long 2008-07-01 08:17:19 +00:00
Antony Dovgal
9c6362a1dd this should be long 2008-07-01 08:15:44 +00:00
Felipe Pena
c110a49b03 - Fixed tests 2008-06-26 11:07:14 +00:00
Felix De Vliegher
8c22747b68 MFB: tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:12:40 +00:00
Felix De Vliegher
0a7198a297 MFB: tests for ob_get_flush(), testfest task number #131 2008-06-24 10:33:38 +00:00
Felix De Vliegher
d54cf79cbc Testcases for vfprintf(), testfest task #133. 2008-06-22 13:31:10 +00:00
Felix De Vliegher
ce79e30177 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:51:37 +00:00
Dmitry Stogov
c5031f96bb Added test for bug #45312 2008-06-19 12:10:00 +00:00
Philip Olson
dd0b906ec6 updated website team info 2008-06-18 05:17:55 +00:00
Zoe Slattery
4576f6348a Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:22:42 +00:00
Felipe Pena
5b4685d724 - Fixed tests 2008-06-13 13:43:55 +00:00
Zoe Slattery
c108d791fc Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:33:15 +00:00
Zoe Slattery
9b5e867bdc Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:14:20 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Steve Seear
79cb128c59 Filesystem tests. 2008-06-11 12:40:34 +00:00
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Antony Dovgal
bfda5b1b58 fix typo 2008-06-10 08:14:45 +00:00
Rasmus Lerdorf
3dc903400b Merge from PHP_5 - don't echo raw cookie values here 2008-06-09 14:05:49 +00:00
Rob Richards
cb972c1da6 rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:34:45 +00:00
Matt Wilmas
0cc9f01212 Initialize with length instead of 0 (and thanks Antony for finding) 2008-06-02 11:20:17 +00:00
Antony Dovgal
e58b49fc4c fix uninitialized variable 2008-06-02 10:27:42 +00:00
Scott MacVicar
ba1e3103b3 Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:52:06 +00:00
Matt Wilmas
3a9eea4a8d Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:54:16 +00:00
Felipe Pena
e4fc964ab3 - Added check for encoding optional parameter (avoiding the segfault in filter.c: strlen(encoding))
If the parameter is not suplied, it will try to use the UG(stream_enconding)
2008-05-28 18:02:52 +00:00
Felipe Pena
4fd6a040b9 - Added zval separation (avoid crash when using fwrite($fp, $fp)). 2008-05-28 17:24:47 +00:00
Pierre Joye
99250fba7e - c/p evilness 2008-05-27 18:27:23 +00:00
Pierre Joye
d3bff02b63 - Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:21 +00:00
Matt Wilmas
25958acac4 Regenerate 2008-05-27 11:27:58 +00:00
Steph Fox
87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Steph Fox
a4cb8c536f - killed off UEXPECT 2008-05-27 09:34:55 +00:00
Steph Fox
4ccb8869e7 - killed off UEXPECT 2008-05-27 07:46:51 +00:00
Steph Fox
08253045d4 - killed off UEXPECT
- no getmxrr() under doze
2008-05-27 07:41:44 +00:00
Steph Fox
5078c3a00a - killed off UEXPECT 2008-05-27 07:38:00 +00:00
Steph Fox
1b04aaf1ed - killed off UEXPECT 2008-05-27 00:08:03 +00:00
Steph Fox
fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00
Steph Fox
24d1d8459c - killed off UEXPECT
- everything passes here on my box, yay
2008-05-26 23:54:20 +00:00
Steph Fox
8c15398ca6 - killed off UEXPECT 2008-05-26 23:48:29 +00:00
Steph Fox
f6cc4ee4df - killed off UEXPECT
- Tony has a patch that should fix all these
2008-05-26 23:45:15 +00:00
Steph Fox
b00be96ec2 - killed off UEXPECT
- another of those parser differences in assert_02.phpt. Please check.
2008-05-26 23:42:10 +00:00
Steph Fox
833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00
Pierre Joye
dac1a1014d - [DOC] restore get_magic_quotes_gpc and get_magic_quotes_runtime
they always return false.
  (let save the world, spare bandwidth and kill the trolls 1/2)
2008-05-24 14:36:16 +00:00
Marcus Boerger
42c955d77b - Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:35 +00:00
Matt Wilmas
e2730a196f Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:19 +00:00
Kalle Sommer Nielsen
3273ed8ec0 Enable inet_pton() and inet_ntop() on Windows in HEAD 2008-05-22 22:07:21 +00:00
Felipe Pena
ad69a4c588 - MFB: Making compatible with 64bit platform 2008-05-18 15:52:42 +00:00
Felipe Pena
f4458df3d4 - Improved fix (used 's' in parameter parsing) 2008-05-16 12:11:15 +00:00
Felipe Pena
7bfcde4894 - MFB: Added conversion to string. 2008-05-16 03:11:56 +00:00
Antony Dovgal
b3e245110d and the last one.. 2008-05-14 13:13:02 +00:00
Antony Dovgal
a7ec33a1ef revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:46:49 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
Scott MacVicar
a2ef7d48d0 Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:58:50 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +00:00
Felipe Pena
27c72fd2e1 - Fix data size 2008-05-08 17:22:07 +00:00