Commit Graph

19000 Commits

Author SHA1 Message Date
Andrei Zmievski
ca83e9b7a7 Unicode upgrade for quotemeta(). Yes, I know it's ugly. You try making
it pretty.
2006-09-22 19:35:05 +00:00
Sara Golemon
96f9c9c59c Update stream_get_contents() for PHP6 2006-09-22 18:42:33 +00:00
Andrei Zmievski
cd58faa031 Bring localeconv(), money_format(), and nl_langinfo() to standards. Add
E_STRICT notices about them being deprecated in Unicode mode.
2006-09-22 18:24:12 +00:00
Sara Golemon
29ccb96d9e Tweak file_get_contents()'s return value a little 2006-09-22 18:23:33 +00:00
Andrei Zmievski
50fe3da0af Unicode support in count_chars(). Note that due to the size of the
Unicode character set only mode=1 is supported.
2006-09-22 17:47:09 +00:00
Dmitry Stogov
d365bd66c2 Prevent access to dead zval 2006-09-22 13:39:17 +00:00
Rob Richards
b2a44a9cc6 mark functionality unicode safe
add test
2006-09-22 10:13:27 +00:00
Sara Golemon
a9404e9283 PHP6 Updates 2006-09-22 01:55:47 +00:00
Sara Golemon
b087b2ff62 PHP6 Updates 2006-09-21 23:36:13 +00:00
Ilia Alshanetsky
464c1ae4fe MFB: fix test 2006-09-21 23:07:10 +00:00
Sara Golemon
1aa537ebd4 Update (most of) the functions in streamsfuncs.c
This commit also includes a change to tests/file/stream_rfc2397_002.phpt
which doesn't entirely pass in unicode mode yet, however that's a unicode
issue in the data:// wrapper that needs fixing, not a problem with the
streams layer itself.
2006-09-21 19:53:10 +00:00
Andrei Zmievski
2fb8461016 Fix protos. 2006-09-21 19:30:33 +00:00
Sara Golemon
1d8677bbd4 Add double-width ripemd tests to package2.xml as well 2006-09-21 18:39:30 +00:00
Andrei Zmievski
f09b8eb846 Fix protos. 2006-09-21 18:26:31 +00:00
Sara Golemon
76315cf4c4 Add double-width ripemd tests to package.xml 2006-09-21 18:22:04 +00:00
Rob Richards
1acc8abe56 fix domcomment property handler so it inherits from domcharacterdata
mark tested functions as unicode safe
add tests
2006-09-21 11:53:58 +00:00
Rob Richards
d421131d98 finish unicode updates
update test
2006-09-21 10:31:36 +00:00
Dmitry Stogov
c0894d9d6e ZTS fix 2006-09-21 06:46:00 +00:00
Sara Golemon
67af7e225c Backfill protos for ext/unicode functions 2006-09-20 23:44:23 +00:00
Andrei Zmievski
7ff8b9b090 Bug fixes for substr_replace(). 2006-09-20 20:30:19 +00:00
Andrei Zmievski
9124610982 Install SPL headers. 2006-09-20 20:29:24 +00:00
Dmitry Stogov
90ff4f8f52 Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:43:04 +00:00
Sara Golemon
6781debeb8 Add ripemd256 and ripemd320 algos 2006-09-20 01:48:06 +00:00
Sara Golemon
5cb3858aa3 PHP6 Updates 2006-09-20 00:32:54 +00:00
Ilia Alshanetsky
07f22a8d4c MFB: make input_get_args() not modify the original values. 2006-09-19 23:58:47 +00:00
Ilia Alshanetsky
c1891a9bdf MFB: array_key_exists() should not work by by-ref 2006-09-19 23:45:12 +00:00
Sara Golemon
c8f96d157d Strip unused implementations of md5(), md5_file(), sha1(), and sha1_file()
from this extension.

It was decided a few months ago that those implementations would simply
stay in ext/standard and never leave.
2006-09-19 23:42:49 +00:00
Sara Golemon
17f279b2ca Refactor parameter parsing into the 21st century and flag Unicode readiness 2006-09-19 23:27:03 +00:00
Andrei Zmievski
1fd91e40f8 Unicode support in preg_grep(). 2006-09-19 20:41:56 +00:00
Sara Golemon
3f56da6eba Add INI controlled default stream encoding (unicode.stream_encoding).
Add convenience function stream_defualt_encoding() for setting it.
2006-09-19 20:36:48 +00:00
Andrei Zmievski
723baf6608 Upgrade preg_quote() to support Unicode. 2006-09-19 20:01:10 +00:00
Andrei Zmievski
5066424135 Fix offset calculation in add_offset_pair(). 2006-09-19 17:37:48 +00:00
Ilia Alshanetsky
8690a5a2d9 MFB:
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
	Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
	Fixed test for bug #38253 not to use faulty SQL that generates
	errors in PostgreSQL
2006-09-19 15:46:25 +00:00
Antony Dovgal
19ac74fd23 fix tests 2006-09-19 12:06:49 +00:00
Antony Dovgal
074615035f fix spl tests 2006-09-19 12:01:18 +00:00
Antony Dovgal
ad1d0e6d65 fix tests 2006-09-19 11:49:21 +00:00
Antony Dovgal
5d42e808a3 fix leak in preg_split() 2006-09-19 11:48:59 +00:00
Antony Dovgal
8bc414ee8e fix test 2006-09-19 11:29:50 +00:00
Antony Dovgal
3914ce4c1a fix tests 2006-09-19 11:25:07 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
591477b143 support objects in array_walk*()
add new tests, fix old ones
2006-09-19 09:33:02 +00:00
Antony Dovgal
cb7a7995b6 fix #34066 (recursive array_walk causes segfault)
add tests
2006-09-19 09:02:39 +00:00
Dmitry Stogov
d5ecb40eeb Fixed PCRE related compilation errors 2006-09-19 07:39:07 +00:00
Andrei Zmievski
30d7168bbd Upgrade preg_split() to support Unicode strings. 2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b More work on Unicode support in PCRE. When UG(unicode) is on, all
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Ilia Alshanetsky
b8b3ade128 MFB: Fixed bug #38574 (missing curl constants and improper constant
detection).
2006-09-18 16:13:00 +00:00
Antony Dovgal
f3fa436ba3 fix test 2006-09-18 12:35:59 +00:00
Johannes Schlüter
f1ed29ffd8 - Unicode fix 2006-09-17 09:39:04 +00:00
Ilia Alshanetsky
1d611c862c MFB: One last expand_filepath() check 2006-09-16 19:08:59 +00:00
Nuno Lopes
f2da2decd4 MFB: fix compiler warnings introduced in my previous commit 2006-09-16 19:08:21 +00:00