Antony Dovgal
688000ca74
fix access to freed memory in pathinfo()
...
add test
2006-07-17 06:44:45 +00:00
Antony Dovgal
50242cd8c5
3+1 != 3 =)
2006-07-16 15:59:02 +00:00
Marcus Boerger
5544029699
- Fixed Bug #29538 number_format and problem with 0
2006-07-16 10:49:06 +00:00
Marcus Boerger
92a47b44b4
- Pathinfo allows to get filename (Toby S, Christian S)
2006-07-16 10:34:32 +00:00
Marcus Boerger
adc5a7f087
- Update array_fill_keys, better unicode support, use new param parsing API
2006-07-15 12:06:10 +00:00
Marcus Boerger
da5c076100
- Add array_fill_keys() (Matt W, php_lists at realplain com)
2006-07-15 10:10:47 +00:00
Andrei Zmievski
246585490b
Add test for compact().
2006-07-14 23:04:58 +00:00
Antony Dovgal
12f44c2b2b
fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
2006-07-13 11:58:42 +00:00
Antony Dovgal
9de18e2ca2
don't try to compare strings if haystack is "" or shorter than needle
...
add test
2006-07-12 12:33:04 +00:00
Antony Dovgal
8db69d4005
add new tests by Ligaya Turmelle
2006-07-11 21:28:07 +00:00
Antony Dovgal
f41a4f4546
/tmp is often a symlink, use /bin instead
2006-07-11 21:19:56 +00:00
Dmitry Stogov
14a10f441d
Fixed bug #37947 (zend_ptr_stack reallocation problem)
2006-07-10 14:02:54 +00:00
Hannes Magnusson
8f1d44beea
make everyone happy
2006-07-03 22:41:46 +00:00
Hannes Magnusson
302deb04d8
fix tests
2006-07-03 16:03:39 +00:00
Nuno Lopes
ec2b150da0
MFB5.2: fix assert() problems
2006-07-01 12:29:38 +00:00
Hannes Magnusson
d03ba9cdc5
fix test
2006-06-29 14:53:31 +00:00
Antony Dovgal
bfceaaf1d1
unicode_semantics -> unicode.semantics
2006-06-28 15:07:14 +00:00
Hannes Magnusson
0cce3777ea
MFB: bug #37244 (base64_decode violates RFC 3548)
...
-Add test
2006-06-26 22:17:43 +00:00
Hannes Magnusson
f4ea75f240
Added argument info
...
(forces user-space filters to register correct arguments)
Added tests
2006-06-25 22:51:55 +00:00
Antony Dovgal
361c7da159
MFB: improve test
2006-06-25 21:23:38 +00:00
Hannes Magnusson
3f2f258517
Enabled image_type_to_extension() which has been in cvs for 2,5 years now..
...
Added test
2006-06-25 20:52:34 +00:00
Nuno Lopes
b5fda0101c
MFB 5.2
2006-06-20 21:58:03 +00:00
Antony Dovgal
016fe711f9
fix tests
2006-06-20 19:49:44 +00:00
Hannes Magnusson
1cb807ab63
Renamed file to bug37864.phpt
2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc
Test for bug #37864 (file_get_contents() leaks on empty file)
2006-06-20 19:30:19 +00:00
Antony Dovgal
3d0e1456e4
fix test
2006-06-20 19:12:12 +00:00
Antony Dovgal
bc5a9692cb
don't leave garbage in tmp dir
2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3
add test for file_get_contents() leaking on empty file
2006-06-20 18:46:14 +00:00
Antony Dovgal
f59302fe60
fix test to work on all platforms
2006-06-20 13:14:20 +00:00
Hannes Magnusson
a24552497f
Fixed test
2006-06-14 19:47:30 +00:00
Antony Dovgal
12a2d02b99
fix tests
2006-06-01 13:04:10 +00:00
Sara Golemon
a8ca40564c
Minor fixes (bjori)
2006-05-30 19:05:21 +00:00
Antony Dovgal
11b66c6cec
add test
2006-05-29 10:42:37 +00:00
Marcus Boerger
875caa4870
- MFB
2006-05-25 10:50:53 +00:00
Marcus Boerger
c627a4819b
- Add more tests from Ligaya Turmelle
2006-05-23 23:45:39 +00:00
Marcus Boerger
47343620cb
- Add new test
2006-05-23 22:26:55 +00:00
Marcus Boerger
a4d6c5a6f0
- Handle corrupt base64 data in data: url
2006-05-21 13:35:06 +00:00
Antony Dovgal
bd6125c312
add new tests by Ligaya Turmelle
2006-05-19 07:44:58 +00:00
Antony Dovgal
17c98844d5
new mkdir tests
2006-05-16 13:07:07 +00:00
Marcus Boerger
3856d8da6d
- Add strict compliant RFC2397 support (no //)
2006-05-14 18:35:40 +00:00
Marcus Boerger
3b66ab74f9
- RFC2397 add decoding
...
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger
73069100fd
- Change to use dedicated stream ops
2006-05-14 00:45:27 +00:00
Marcus Boerger
4f29479a22
- RFC 2397 meta data handling
2006-05-14 00:40:53 +00:00
Marcus Boerger
29c0f5bede
- Initial RFC2397 support
...
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Antony Dovgal
cf31c2f51a
remove nonexistent tag
2006-04-25 12:50:14 +00:00
Antony Dovgal
7bde7e87eb
MF51: fix possible substr_compare() crash
...
add new tests
2006-04-25 12:49:04 +00:00
Antony Dovgal
8a434f5df0
merge fix for #37158 into HEAD
...
add test
2006-04-22 23:49:39 +00:00
Antony Dovgal
8c086bcf8d
make this test to work on all systems
2006-04-14 20:30:47 +00:00
Antony Dovgal
a44fe39f40
fix test title
2006-04-12 22:21:13 +00:00
Ilia Alshanetsky
490609ffc4
MFB51: fixed test
2006-04-10 23:48:38 +00:00
foobar
6af3218f81
more cleanup (lingering ini settings which do not exist anymore, etc.)
2006-04-10 15:09:15 +00:00
Sara Golemon
b6f62cabff
Silence false positives on test results
2006-04-06 20:03:27 +00:00
Sara Golemon
78d1f7ea40
Silence false positives in test failures
2006-04-06 19:51:36 +00:00
Antony Dovgal
4e85f445f0
add test
2006-04-05 12:29:35 +00:00
Sara Golemon
53450fae8a
Update tests for working with unicode
2006-04-03 05:57:40 +00:00
Dmitry Stogov
d1d9ce8fed
Test for strtr() with non-ascii encoding
2006-03-27 14:37:14 +00:00
Dmitry Stogov
9d9adb2f35
Unicode support
2006-03-27 14:19:18 +00:00
Dmitry Stogov
c744d73d04
Unicode support
2006-03-27 13:37:47 +00:00
Dmitry Stogov
06cfa710b4
Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test
2006-03-27 10:15:02 +00:00
Derick Rethans
3df5f17231
- Commit intermediate work so that I can hack on it on some plane.
2006-03-26 02:15:47 +00:00
Antony Dovgal
a4c6a19335
use set_time_limit(), this test takes forever on AIX
2006-03-22 19:27:28 +00:00
Antony Dovgal
1df7e13f48
fix #36741 (userstreams testcase have off-by-one error on fseek())
2006-03-20 22:08:59 +00:00
Derick Rethans
2ffc93140d
- Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
...
write the uppercased character to the buffer, but only returns the length of
the uppercased letter as per
http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50 .
- Updated is_string():
If Unicode semantics is turned on, return "true" for Unicode strings only.
If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
combining sequences or surrogates are used in the non-array method of calling
this function.
2006-03-17 14:29:05 +00:00
Dmitry Stogov
9d7ca01c8b
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.
2006-03-16 11:32:00 +00:00
Pierre Joye
bb1ec86f9d
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
...
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Dmitry Stogov
b029407078
fixed test file
2006-02-22 12:24:02 +00:00
Dmitry Stogov
36002f16c3
Fixed test file
2006-02-22 12:22:07 +00:00
Ilia Alshanetsky
a605fd39c4
More safe_mode nuking
2006-02-19 18:20:51 +00:00
Ilia Alshanetsky
2fb6ce838b
MFB51: Fixed bug #36351 (parse_url() does not parse numeric paths properly).
2006-02-12 16:40:34 +00:00
Pierre Joye
154bb7c6a7
- MFB:
...
- revert last fix
- ensure that we are in 32bit
- do not try to compare the decimal values but hex, php does not have
unsigned integer
2006-02-09 15:48:18 +00:00
Pierre Joye
6a158cf60d
- MFB: #36306 , crc32() result differs on 32-bit and 64-bit platforms
2006-02-07 00:24:56 +00:00
Ilia Alshanetsky
b031ac3fe4
MFB51: Fixed bug #36148 (unpack("H*hex", $data) is adding an extra
...
character to the end of the string).
2006-01-26 15:48:15 +00:00
Antony Dovgal
04ad1d1462
fix test
2006-01-19 21:27:15 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
38b7befa2e
fix typo
2006-01-16 20:41:00 +00:00
Marcus Boerger
2fe859febb
- Fixed bug #36011
2006-01-14 15:22:19 +00:00
Ilia Alshanetsky
d2397a9301
MFB51: Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to
...
a crash).
2006-01-10 16:14:45 +00:00
Ilia Alshanetsky
0618bc66e8
MFB51: Fixed test
2006-01-10 03:18:52 +00:00
Antony Dovgal
0b9213d82b
fix tests
2006-01-06 21:21:09 +00:00
Derick Rethans
648e20c1b6
- New implementation of the sunset algorithm. Fixes bugs #33789 , #33671 , #32820
...
and #30937 .
#- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to
# wait for Ilia to approve it for 5.1.2).
2006-01-04 12:57:04 +00:00
Ilia Alshanetsky
821e0586df
MFB51: Fixed bug #35817 (unpack() does not decode odd number of hexadecimal
...
values)
2005-12-28 20:56:22 +00:00
Antony Dovgal
38722a19c1
add test for #35821
2005-12-27 22:35:18 +00:00
Antony Dovgal
fbe210b8b5
add new test
2005-12-26 15:15:10 +00:00
Antony Dovgal
1c7661a301
MFB: fix #35781 (stream_filter_append() can cause segfault)
2005-12-23 15:05:42 +00:00
Antony Dovgal
8f5f3d8408
MFB: add test for #35740
2005-12-20 09:52:05 +00:00
Marcus Boerger
25052ff3af
- MFB
2005-12-16 23:21:38 +00:00
Antony Dovgal
f39eed623d
MF51: fix test, add new one
2005-12-16 15:52:54 +00:00
Dmitry Stogov
ce89a8831e
Fixed tests
2005-12-07 15:19:30 +00:00
Dmitry Stogov
25d6294650
Fixed test
2005-12-07 14:32:42 +00:00
Ilia Alshanetsky
5e2bdfcfcc
MFB51: Added tests for new parse_url() and http_build_query() functionality.
2005-12-04 17:58:53 +00:00
Ilia Alshanetsky
7f66777bbf
MFB51: Fixed bug #35427 (str_word_count() handles '-' incorrectly).
2005-11-29 16:14:47 +00:00
Dmitry Stogov
4192685b64
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:44 +00:00
Dmitry Stogov
376d30f441
Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full)
2005-11-16 09:43:56 +00:00
foobar
aeb5830c20
MFB: fixed test
2005-11-01 22:42:03 +00:00
Ilia Alshanetsky
61c8e857e4
MFB51: Fixed bug #35022 , #35019 (Regression in the behavior of key/current
...
functions).
2005-10-30 18:04:20 +00:00
Ilia Alshanetsky
1321658d91
MFB51: Fixed bug #35014 (array_product() always returns 0).
2005-10-30 13:46:34 +00:00
Dmitry Stogov
6ca72e6ea5
Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope)
2005-10-28 10:06:53 +00:00
Dmitry Stogov
47893ed920
Reverted fix for bug #34934 . The bug marked as bogus.
2005-10-24 07:01:43 +00:00
Dmitry Stogov
02090106d8
Fixed bug #34934 (offsetExists is not called from array_key_exists)
2005-10-21 15:20:30 +00:00
Dmitry Stogov
45699741e1
Fixed fgetcsv() and fputcsv() inconsistency.
2005-10-21 12:14:11 +00:00