Ilia Alshanetsky
e8ccee4873
MFB: Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:09:42 +00:00
Sara Golemon
9b4bc8d489
Oi
2006-10-09 02:55:38 +00:00
Sara Golemon
25af62e3f4
Fix realpath() in unicode mode
2006-10-09 02:52:27 +00:00
Sara Golemon
1caed2fa18
Add stream_resolve_include_path()
2006-10-09 02:48:06 +00:00
Hannes Magnusson
6d5c5bce5a
Fix test
2006-10-08 20:06:04 +00:00
Sara Golemon
3a40f32c6e
Fix win32 (again), just temporarily convert the classname to ascii on this platform...
2006-10-08 18:00:44 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
e531458f89
Remove double "wrong param count" warnings
2006-10-07 22:55:18 +00:00
Sara Golemon
62f01f5e6c
Win32 build gets confused by expansion of U_STRING_DECL macro with constants
2006-10-07 04:45:42 +00:00
Andrei Zmievski
562e88a30f
Default to ZEND_STR_TYPE.
2006-10-07 00:41:14 +00:00
Andrei Zmievski
92886ccdec
Unicode support in is_callable().
2006-10-06 20:11:25 +00:00
Andrei Zmievski
73ea9b8be5
Unicode support in uniqid().
2006-10-06 20:00:37 +00:00
Andrei Zmievski
d019da8692
Mark memory funcs with U.
2006-10-06 18:03:41 +00:00
Andrei Zmievski
c25a48dcb3
Mark with U.
2006-10-06 18:02:04 +00:00
Andrei Zmievski
54174862f0
Mark pageinfo.c funcs with U.
2006-10-06 18:01:20 +00:00
Andrei Zmievski
5064851c9d
Mark rand.c functions with U.
2006-10-06 18:00:13 +00:00
Sara Golemon
17cdda770d
Forgot to mark these u-safe
2006-10-06 17:41:30 +00:00
Andrei Zmievski
0ba9147d9b
TODO
2006-10-05 22:44:31 +00:00
Andrei Zmievski
0decd2d4e7
Unicode support for str_replace() and str_ireplace().
...
# This was not trivial.
2006-10-05 22:40:38 +00:00
Antony Dovgal
373098b296
add test
2006-10-05 19:49:20 +00:00
Ilia Alshanetsky
4492d8f089
MFB: Fixed missing open_basedir check inside chdir() function.
2006-10-04 23:20:54 +00:00
Andrei Zmievski
f630127685
- Mark stristr() with U.
...
- zpp support for ucwords()
2006-10-04 17:38:09 +00:00
Andrei Zmievski
4b3a597d29
Unicode support in substr_compare().
2006-10-04 17:25:12 +00:00
Edin Kadribasic
328dc8d62d
Update credits
2006-10-04 12:53:03 +00:00
Antony Dovgal
88e893b50a
fix #39032 (strcspn() stops on null character)
2006-10-04 11:12:21 +00:00
Antony Dovgal
8d85069827
return false on invalid mode and don't segfault
2006-10-04 10:52:32 +00:00
Antony Dovgal
a99e3ec1b3
remove TSRMLS_CC, php_stream_path_decode() is a macro
2006-10-03 23:26:14 +00:00
Antony Dovgal
1bdcfa172a
use correct type for p_len
2006-10-03 23:09:08 +00:00
Sara Golemon
6fbd520e93
PHP6 updates for convert_uu(en|de)code()
2006-10-03 19:51:35 +00:00
Sara Golemon
934c3781b2
Update proc_open() for PHP6
2006-10-03 19:37:01 +00:00
Antony Dovgal
ea11c9b8e8
nuke unused variables
2006-10-03 18:40:14 +00:00
Antony Dovgal
efe92dc230
fix build
2006-10-03 18:38:57 +00:00
Andrei Zmievski
481e9fd525
Unicode support in strripos().
2006-10-03 18:13:36 +00:00
Ilia Alshanetsky
25ac82bbb6
MFB: optimize zend_hash_init() with known hash table sizes.
2006-10-03 17:45:16 +00:00
Hannes Magnusson
0eaea000db
compact() doesnt throw "wrong param count"
2006-10-03 16:36:57 +00:00
Antony Dovgal
7dd21d2b9f
fix ZTS build
2006-10-03 13:44:14 +00:00
Sara Golemon
260836ec7a
Flag the easy stuff out of the way, proc_open() is the real beast in here
2006-10-02 21:02:08 +00:00
Andrei Zmievski
0b34032e49
- Fix strrpos() logic (which was broken even in PHP 5).
...
- Optimizations for a couple of functions.
2006-10-02 19:18:14 +00:00
Sara Golemon
d2aebce18f
Update glob() for PHP6
2006-10-02 18:14:42 +00:00
Sara Golemon
2dccf612fc
Switch opendir/chroot/chdir to new path_param API and upgrade scandir() for PHP6
2006-10-02 17:45:30 +00:00
Andrei Zmievski
e673ae2eb9
Make stripos() work with Unicode strings.
2006-10-02 16:52:22 +00:00
Hannes Magnusson
9c669ecf1f
Protos
2006-10-02 07:54:37 +00:00
Sara Golemon
a4b9e3719b
Apply new path encoding style to the rest of e/s/file.c
...
This layout is definately simpler to maintain
and every bit as functional as the other version.
2006-10-02 03:13:47 +00:00
Sara Golemon
d2ff6db191
Apply simplified path encoding to copy() and give it a context param.
...
Funnily enough, this makes the copy() implementation almost identical
to what it was back in PHP5.
2006-10-02 02:47:34 +00:00
Sara Golemon
e321287b4f
Try out simplified API for encoding paths/filenames
2006-10-02 02:24:29 +00:00
Sara Golemon
7f21f36e45
ZTS fix
2006-10-02 01:11:04 +00:00
Sara Golemon
a6a92fc458
Allow unicode-ascii to binary conversion and do proper path conversion for file variants
2006-10-02 00:32:13 +00:00
Ilia Alshanetsky
30885c8d99
MFB: Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
...
session.save_path, allowing them to account for extra parameters).
2006-10-01 21:00:00 +00:00
Ilia Alshanetsky
cda99a3563
MFB: Added missing API function declaration.
2006-09-29 22:36:00 +00:00
Ilia Alshanetsky
6dd4ae4c4a
MFB: Added missing declaration of the php_get_uname() PHPAPI function.
2006-09-29 21:40:35 +00:00
Andrei Zmievski
2db5bfbadd
Heck, might as well commit this..
2006-09-29 21:00:07 +00:00
Hannes Magnusson
2288a69be1
fix proto
2006-09-29 13:22:43 +00:00
Antony Dovgal
f17a799f86
fix test name
2006-09-28 22:01:46 +00:00
Ilia Alshanetsky
7d3e03b2a7
MFB: Fixed bug #38859 (parse_url() fails if passing '@' in passwd).
2006-09-28 14:52:55 +00:00
Antony Dovgal
a005d97eeb
fix #38981 (using FTP URLs in get_headers() causes crash)
2006-09-28 12:55:02 +00:00
Antony Dovgal
d0a747e937
fix #38961 (metaphone() results in segmentation fault on NetBSD)
2006-09-27 08:31:35 +00:00
Ilia Alshanetsky
ea18d7ed7b
MFB: 64bit fix (Possible fix for bug #38961 )
2006-09-26 15:40:59 +00:00
Ilia Alshanetsky
0f9b85cc82
MFB: Fixed bug #38891 (get_headers() do not work with curl-wrappers).
2006-09-25 16:02:19 +00:00
Dmitry Stogov
c64e0f0e21
ZTS fix
2006-09-25 06:59:02 +00:00
Sara Golemon
423af2f426
PHP6 Updates and some very minor feature add in dns_get_record()
2006-09-25 02:27:24 +00:00
Sara Golemon
406f600d01
Make settype($var, 'string'); behave like $var = (string)$var;
...
e.g. switch between (binary) and (unicode) depending on UG(unicode)
2006-09-25 01:37:55 +00:00
Sara Golemon
b8f5020a92
Flag a couple more unicode ready functions
2006-09-25 01:33:57 +00:00
Sara Golemon
e6ba834b50
base64 functions are basicly binary-only ops
2006-09-25 01:27:11 +00:00
Sara Golemon
37bf98099f
PHP6 Update: fsockopen/psfockopen
2006-09-24 21:43:41 +00:00
Sara Golemon
e1c934d56c
PHP6 Updates for rmdir/mkdir/rename
2006-09-24 21:40:44 +00:00
Sara Golemon
f8fdb67056
PHP6 Updates for popen() and related functionality
2006-09-24 20:33:14 +00:00
Sara Golemon
74e30fd41d
PHP6 Update for get_meta_tags() -- What a silly function...
2006-09-24 20:01:29 +00:00
Sara Golemon
7b082203e5
PHP6 Updates
2006-09-24 18:23:47 +00:00
Sara Golemon
a515fde08a
PHP6 Updates w/ minor refactoring
2006-09-24 17:59:40 +00:00
Sara Golemon
1f8bbc65a6
PHP6 Updates
2006-09-24 17:09:46 +00:00
Sara Golemon
1a13bdc516
PHP6 Updates
2006-09-24 17:03:58 +00:00
Antony Dovgal
b6f2e80f03
add missing parameter to opendir() and fix segfault
2006-09-23 12:32:32 +00:00
Antony Dovgal
cad50f1dd2
one more try to fix ZTS build
2006-09-23 12:22:07 +00:00
Antony Dovgal
e02e25dca2
fix ZTS build
2006-09-23 12:17:43 +00:00
Antony Dovgal
b202bcda65
fix possible segfault in #38891
2006-09-23 11:58:49 +00:00
Sara Golemon
7b0305b311
PHP6 Updates
2006-09-22 23:57:38 +00:00
Sara Golemon
6dffc7bf14
Fix copy() from last commit and add a few more PHP6 updates
2006-09-22 21:48:33 +00:00
Sara Golemon
6905daca8e
Update copy() for PHP6
2006-09-22 20:02:26 +00:00
Sara Golemon
3191ed0e85
Update stream_copy_to_stream() for PHP6
2006-09-22 19:54:30 +00:00
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
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
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
7ff8b9b090
Bug fixes for substr_replace().
2006-09-20 20:30:19 +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
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
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
Ilia Alshanetsky
9d48f6fb61
MFB: Additional expand_filepath() checks
2006-09-16 18:31:07 +00:00
Antony Dovgal
c912fa4a90
fix leak when call to shutdown function fails
2006-09-15 09:11:31 +00:00
Antony Dovgal
e264e460a4
fix double free(), add test
2006-09-15 07:26:19 +00:00
Dmitry Stogov
e8f1640adb
Write valid run-time value for Zend Memory Manager
2006-09-14 08:56:11 +00:00
Ilia Alshanetsky
675bda66b6
MFB: Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:53:33 +00:00
Antony Dovgal
ffe419fefc
add new tests, increase code coverage
2006-09-07 11:47:57 +00:00
Ilia Alshanetsky
803b3f4d77
MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:31:47 +00:00
Nuno Lopes
e09ffb06f1
MFB: fix gcc warning
2006-09-04 19:16:21 +00:00
Pierre Joye
08b433783c
- updates
2006-08-31 22:52:29 +00:00
Antony Dovgal
d08f2e8897
more z/Z fixes
2006-08-31 14:41:15 +00:00
Antony Dovgal
1e284298d7
more z/Z fixes
2006-08-31 14:19:33 +00:00
Antony Dovgal
f53f3b01dd
fix ZTS build
2006-08-30 20:24:32 +00:00
Ilia Alshanetsky
922fd02404
Avoid TSRMLS_FETCH
2006-08-30 18:40:26 +00:00
Antony Dovgal
a08e79e900
fix leak in iptcembed()
2006-08-30 16:30:03 +00:00
Antony Dovgal
8149e6251e
make sure ext/standard is down before ext/session ( fixes #38534 )
2006-08-28 19:56:06 +00:00
Antony Dovgal
8d28cf264a
fix tests
2006-08-28 19:52:01 +00:00
Antony Dovgal
efb89cfbe1
set BG(locale_string) to NULL on shutdown (partly fixes #38534 )
2006-08-28 18:58:22 +00:00
Hannes Magnusson
089b2ab93f
Register missing math constants (been missing since 4.0.2!)
...
Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 18:20:39 +00:00
Hannes Magnusson
ea2891fa9d
Fix tests on freebsd
2006-08-27 15:06:15 +00:00
Antony Dovgal
1fbee1aee3
tm_yday may be 0 (Solaris)
2006-08-24 11:27:06 +00:00
Antony Dovgal
8bb1361f23
this fixes segfault in strptime() on 64bit Linuxes, caused by the missing declaration
...
unfortunately defining _XOPEN_SOURCE breaks the build (some odd dependencies in glibc headers) and this seems to be the best solution
2006-08-24 11:05:38 +00:00
Antony Dovgal
2fdd51a1a0
add test
2006-08-22 19:51:34 +00:00
Dmitry Stogov
9ea1f365d9
ZTS fix
2006-08-22 04:54:00 +00:00
Ilia Alshanetsky
285e5f69d6
MFB: Fixed bug #38524 (strptime() does not initialize the internal date
...
storage structure).
2006-08-20 18:20:59 +00:00
Andrei Zmievski
9f8bcf3f51
Unicode support for str_word_count() (using the same semantics as for
...
binary strings).
# These semantics seem quite broken, by the way, as it counts words
# ending or starting with dashes (-). Since this shouldn't really be
# used to count words in Unicode world anyway, supporting the "broken"
# behavior is okay if it helps people with migration.
2006-08-18 18:01:58 +00:00
Antony Dovgal
84060835f7
add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
...
(feature request #38496 )
2006-08-18 12:50:36 +00:00
Andrei Zmievski
253a82d0cc
Simplify php_u_trim().
2006-08-16 18:07:22 +00:00
Sebastian Bergmann
8551b6d2dc
Sync with php_trim() API change.
2006-08-16 08:51:34 +00:00
Andrei Zmievski
2dcfe8aaf5
Fix some trim() issues.
2006-08-15 20:38:12 +00:00
Antony Dovgal
3431cc4a1f
don't try to use "auto", "none" and "pass" charsets returned from mbstring
2006-08-15 15:09:21 +00:00
Antony Dovgal
c1b3a17034
new tests
2006-08-15 08:53:55 +00:00
Andrei Zmievski
bd927905ee
Unicode support for strcoll().
2006-08-14 22:00:46 +00:00
Andrei Zmievski
aa9de18ef5
Unicode support for str_split().
2006-08-14 21:04:50 +00:00
Andrei Zmievski
01e677b37b
Unicode support in chunk_split().
2006-08-14 20:43:23 +00:00
Edin Kadribasic
56a821ec02
Fixed windows build.
...
Looking at the macro definition it seems that the second argument
to U_STRING_DECL can only be a string literal, not an indetifier.
2006-08-14 11:59:07 +00:00
Ilia Alshanetsky
fa48ce6810
MFB: Various security fixes
2006-08-10 19:02:32 +00:00
Ilia Alshanetsky
b97c393f87
MFB: Added support for httpOnly flag for session extension and cookie
...
setting functions.
2006-08-10 13:56:54 +00:00
Antony Dovgal
3cf1565d90
typos in comments and other minor improvements
2006-08-10 13:44:00 +00:00
Antony Dovgal
8a159b3efc
initialize variable
2006-08-10 09:31:24 +00:00
Antony Dovgal
6ca1ce9986
fix test
2006-08-09 20:34:00 +00:00
Antony Dovgal
704dc9be61
fix ZTS build
2006-08-09 20:31:06 +00:00
Andrei Zmievski
8d953e611d
Unicode support for str_shuffle().
2006-08-09 20:19:06 +00:00
Andrei Zmievski
7201041bc0
Upgrade str_rot13() to work with IS_UNICODE type.
2006-08-09 20:03:22 +00:00
Frank M. Kromann
4fef78869b
Fix ZTS builds
2006-08-09 18:15:06 +00:00
Andrei Zmievski
533196671f
addcslashes() and stripcslashes() should work only on binary strings.
2006-08-09 17:40:21 +00:00
Antony Dovgal
fddbbb0831
fix test
2006-08-08 22:05:20 +00:00
Antony Dovgal
2168051985
initialize vars
2006-08-08 22:01:48 +00:00
Antony Dovgal
f56a71c63c
fix tests to be able to run just .phpt's
2006-08-08 22:01:24 +00:00
Andrei Zmievski
1b18b5a68f
Convert nl2br() to suppor IS_UNICODE.
...
# Hmm, it's a bit ugly..
2006-08-08 21:03:11 +00:00
Antony Dovgal
6b2273b905
fix tests
2006-08-08 20:24:13 +00:00
Antony Dovgal
9c125e6911
fix tests
2006-08-08 20:17:31 +00:00
Antony Dovgal
664ed4959e
fix test
2006-08-08 20:13:27 +00:00
Antony Dovgal
d350e4b038
fix logic and memleak
2006-08-08 18:06:43 +00:00
Antony Dovgal
94912e5e02
fix leak in assert()
2006-08-08 17:32:19 +00:00
Antony Dovgal
dbe2092313
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Antony Dovgal
af688c3394
add new test
2006-08-08 09:50:54 +00:00
Antony Dovgal
9cc9f2da3e
use memrchr/zend_memrchr instead of strrchr
...
fix wrong test
2006-08-08 09:48:08 +00:00
Antony Dovgal
9e8c4eb56d
fix test
2006-08-08 09:23:11 +00:00
Antony Dovgal
8320b9a8f0
fix typo and invalid read
2006-08-08 08:59:51 +00:00
Antony Dovgal
5f50f4ac84
fix test in unicode mode
2006-08-07 22:16:09 +00:00
Antony Dovgal
d8cef5a15d
fix test
2006-08-07 22:14:15 +00:00
Andrei Zmievski
50cb40f389
Simplify strrchr().
2006-08-04 23:20:04 +00:00
Andrei Zmievski
ad017699b1
Upgrade pathinfo() to Unicode support.
2006-08-04 21:06:11 +00:00
Andrei Zmievski
9ff2107cc1
Upgrade dirname() to support IS_UNICODE.
2006-08-04 18:09:46 +00:00
Antony Dovgal
fa6d24b330
add new test
2006-08-04 15:01:29 +00:00
Antony Dovgal
7d109bc627
fix #38322 (reading past array in sscanf() leads to arbitary code execution)
2006-08-04 11:49:18 +00:00
Andrei Zmievski
49f1d3a779
Upgraded basename() to work on IS_UNICODE strings as well.
2006-08-03 23:45:27 +00:00
Andrei Zmievski
768a9227ed
- Adjusted php_u_strtoupper/php_u_strtolower/php_u_strtotitle API to be
...
more sane.
- Upgrade strtoupper(), strtolower(), strtotitle() to use params API.
2006-08-03 23:09:29 +00:00
Andrei Zmievski
72adc1b397
Update similar_text() to use params API.
2006-08-03 21:46:16 +00:00
Andrei Zmievski
f6f8792be4
A few fixes noted during analysis.
2006-08-02 21:53:43 +00:00
Andrei Zmievski
09811323a9
bin2hex() should accept only binary strings.
2006-08-02 20:38:39 +00:00
Dmitry Stogov
be56f79c6f
zts fix
2006-08-02 07:54:41 +00:00
Andrei Zmievski
263d329acd
Fix leaks.
2006-08-02 02:11:56 +00:00
Andrei Zmievski
b67e1d9f92
Add SORT_LOCALE_STRING support to array_multisort() and mark it with U.
2006-08-01 22:28:26 +00:00
Andrei Zmievski
7b0fc1bb1c
Whew. Fix up extract to params API, Unicode support, and simplify it as
...
well.
2006-08-01 21:50:44 +00:00
Antony Dovgal
20b0975a43
fix test
...
I really hope there are no systems where /dev is a symlink
2006-07-28 13:47:41 +00:00
Antony Dovgal
f6de0063dd
patch for #37846 (wordwrap() wraps incorrectly)
...
by Dmitry Kononov <ddk at krasn dot ru>
2006-07-28 12:21:34 +00:00
Antony Dovgal
9f8046454b
fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there
2006-07-26 08:57:11 +00:00
Hannes Magnusson
0ba734cb6e
Update protos & arginfo for memory_get_usage() & memory_get_peak_usage()
2006-07-25 16:40:11 +00:00
Dmitry Stogov
61d39cf1c1
Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
2006-07-25 13:41:08 +00:00
Marcus Boerger
7dfc69f42e
- Correctly handle binary proeprty names which are not mangled
2006-07-24 23:28:00 +00:00
Marcus Boerger
eb0fd63012
- zend_(u_)_unmangle_property_name() has changed
2006-07-24 17:55:41 +00:00
Marcus Boerger
f55c2d0885
- Tiny piece of unicode support
2006-07-23 06:05:23 +00:00
Andrei Zmievski
bcb2df2974
Apply Matt W's patch (with a fix) for array_combine() binary key safety.
2006-07-21 23:47:40 +00:00
Andrei Zmievski
54528ce322
Remove references to BG(user_compare_fnnc_name).
...
# Less bickering, more coding!
2006-07-21 23:29:25 +00:00
Andrei Zmievski
d32d425468
Make array_*intersect* functions use params API with FCI cache and mark
...
them with U.
2006-07-21 23:25:08 +00:00
Dmitry Stogov
7a09b15702
ZTS fix
2006-07-21 07:34:18 +00:00
Andrei Zmievski
40b4c60b9a
Make array_walk(_recursive) use params API with FCI cache and mark them
...
with U.
2006-07-20 23:21:32 +00:00
Andrei Zmievski
6e9dcc4800
Make all array_*diff* functions use params API (along with FCI cache)
...
and mark them with U.
# What a mess (before my changes of course) :)
2006-07-20 22:51:20 +00:00
Andrei Zmievski
e9a9a26e7e
Rewrite array_map() to use params API with fci cache and mark it with U.
2006-07-20 20:54:23 +00:00
foobar
b3f926bf21
update
2006-07-20 10:08:31 +00:00
Michael Wallner
73ba3e2592
- added error_get_last() function
2006-07-19 12:25:02 +00:00
Dmitry Stogov
6687f0377b
New memory manager
2006-07-18 09:08:06 +00:00
Andrei Zmievski
675832c204
Update array_filter() and array_reduce() to use params API with FCI
...
cache and mark them with U.
2006-07-17 22:18:01 +00:00
Andrei Zmievski
34e5b3befa
Upgrade uasort() and uksort() to use params API with FCI cache and mark
...
them with U.
2006-07-17 21:20:02 +00:00
Andrei Zmievski
fdf280b41b
- Upgrade usort() to support Unicode (including valid Unicode callbacks).
...
- Make usort() use 'f' specifier for function call info/cache.
2006-07-17 20:52:12 +00:00
Michael Wallner
6ad2093794
MFB52: fix bug #37945 pathinfo() cannot handle argument with special
...
characters like german "Umlaute"
2006-07-17 20:43:07 +00:00
Andrei Zmievski
0bb270d352
- Use zend_uchar for param type
...
- %v is for UG() - dependent strings, which is not the case here
- 'T' is only useful for multiple parameters, so use 't' instead
2006-07-17 19:32:10 +00:00
Antony Dovgal
a3952b7495
tweak constant() to use the brand new unicode parameters API
2006-07-17 07:11:06 +00:00
Antony Dovgal
8177adf8fb
make use of new param parsing API
...
use convert_to_text(), which makes constant() unicode aware
finally nuke invalid reads
2006-07-17 07:02:26 +00:00
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
Pierre Joye
02a92e7eb5
- MFB: PATHINFO_FILENAME constant registration (Sara)
2006-07-16 15:56:00 +00:00
Antony Dovgal
6b4bfe4a35
all stream functions are actually macros that already have TSRMLS_CC,
...
no need to pass it manually
2006-07-16 15:54:25 +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
d795e0b9bb
- Implement todo: SplFileObject: ability to set the CSV separator per object
2006-07-15 14:31:51 +00:00
Marcus Boerger
dd47d64887
- Readd proto
2006-07-15 12:09:13 +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
Andrei Zmievski
853ab6e09f
Adjust array_pad(), array_reverse(), and array_unique() for params API
...
and mark them with U.
2006-07-14 22:41:22 +00:00
Andrei Zmievski
5766cdbd01
- Simplify array_combine() and adjust for params API
...
- Adjust array_count_values() and array_rand() for params API and mark
with U
2006-07-14 22:15:54 +00:00
Andrei Zmievski
40cabdca59
Adjust array_key_exists(), array_slice(), and array_splice() for params
...
API and mark them with U.
2006-07-14 21:16:30 +00:00
Sara Golemon
74eb59da59
#38105 (4/3) ustrlen != USTRLEN, update variable names used to keep this block's meaning clear
2006-07-14 20:50:45 +00:00
Antony Dovgal
44ad98405f
MFB: rephrase the error message ( fixes #38106 )
2006-07-14 20:45:37 +00:00
Andrei Zmievski
8d28257255
Make array_change_key_case() -- a candidate for the quite possibly the
...
most useless function ever -- use params API and mark it with U.
2006-07-14 20:07:57 +00:00
Sara Golemon
165b2f2b76
#38105 (3/3) Default file_put_contents() to FILE_TEXT when unicode.semantics=on and flags param not specified
2006-07-14 19:16:23 +00:00
Andrei Zmievski
6dfb4768b4
Update end(), prev(), next(), reset(), current(), and key() for params
...
API and mark with U.
2006-07-14 18:12:45 +00:00
Andrei Zmievski
0322c14d14
Update array_search()/in_array() for params API and mark with U.
2006-07-14 18:03:13 +00:00
Andrei Zmievski
f344fe0153
Update array_keys() and array_values() for params API and mark with U.
2006-07-14 17:55:27 +00:00
Andrei Zmievski
c30d1ecf11
- Simplify array_fill().
...
- Do params API for a couple of funcs and mark them as Unicode
compliant.
2006-07-14 17:35:54 +00:00
Antony Dovgal
8d8344272e
WS and CS fixes
...
I suppose STR_FREE() is better than if(..) {efree (..);}
2006-07-14 08:38:30 +00:00
Dmitry Stogov
73001d4257
Fixed unserialize() in unicode mode
2006-07-14 08:29:06 +00:00
Andrei Zmievski
f717e25ce7
FIXME note
2006-07-13 22:26:50 +00:00
Andrei Zmievski
c8254d82d7
Update array_sum() and array_product() (U).
2006-07-13 22:26:42 +00:00
Andrei Zmievski
8553cf9da8
Mark a few more funcs.
2006-07-13 22:03:42 +00:00
Andrei Zmievski
2fbc36496f
- Let the caller output a warning instead of having
...
zend_get_unified_string_type() do it.
- Mark a few more functions are Unicode compatible.
2006-07-13 21:27:48 +00:00
Andrei Zmievski
c01957091a
- Make compact() normalize variablem name before checking symtable.
...
- Mark tested/upgraded functions with 'U' flag.
2006-07-13 21:08:43 +00:00
Antony Dovgal
87d846c2cb
initialize variables
2006-07-13 17:55:50 +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
9aa7c1d6e9
fix assert() in Unicode mode
2006-07-12 22:19:12 +00:00
Andrei Zmievski
938f6d4141
Use zend_convert_from_unicode() in var_dump().
2006-07-12 17:23:53 +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
Hannes Magnusson
12fbcb6344
nuke types in arginfo
2006-07-02 00:10:36 +00:00
Nuno Lopes
ec2b150da0
MFB5.2: fix assert() problems
2006-07-01 12:29:38 +00:00
Hannes Magnusson
226fa23b51
Do not force pass by-ref, these functions only prefer by-ref
2006-06-30 18:16:50 +00:00
Antony Dovgal
9f65fd37c6
add error messages to disk_free_space() & disk_total_space() (feature request #37971 )
2006-06-30 10:52:51 +00:00
Antony Dovgal
a6e26b742a
fix off-by-one in addslashes() in Unicode mode
2006-06-30 09:35:21 +00:00
Hannes Magnusson
d03ba9cdc5
fix test
2006-06-29 14:53:31 +00:00
Hannes Magnusson
b9c078acf4
url->URL
2006-06-29 14:42:30 +00:00
Hannes Magnusson
0a2cfcce41
MFB: url -> URL
2006-06-29 14:32:24 +00:00
Antony Dovgal
bfceaaf1d1
unicode_semantics -> unicode.semantics
2006-06-28 15:07:14 +00:00
Hannes Magnusson
ba0175365c
arginfo fixes
2006-06-27 22:14:07 +00:00
Hannes Magnusson
29ca8007ee
Add arginfo for sys_getloadavg()
...
iUpdate arginfo for base64_decode()
2006-06-26 22:19:04 +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
e9c59b98ac
MFB: sys_getloadavg()
2006-06-26 20:28:30 +00:00
Rasmus Lerdorf
157ce4f35e
Cleaner fix
2006-06-26 13:10:31 +00:00
Rasmus Lerdorf
eef9835bb1
sapi_getenv() estrdups the returned string now, so we need to free it
2006-06-26 13:03:41 +00:00
Hannes Magnusson
731c3e4db0
Removed custom deprecate error messages
...
Use the fancy ZEND_ACC_DEPRECATED flag.
2006-06-26 11:31:19 +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
Hannes Magnusson
57e8133427
Fixed image_type_to_extension()
...
Added support for IMAGETYPE_JPX & IMAGETYPE_JB2
2006-06-25 20:51:31 +00:00
Hannes Magnusson
bf0a79d381
Updated protos
...
Fixed vim folding
2006-06-25 19:19:31 +00:00
Hannes Magnusson
9f96f0340b
Argument info
2006-06-25 19:17:20 +00:00
Ilia Alshanetsky
a2b61371cd
MFB: Change E_ERROR to E_RECOVERABLE_ERROR
2006-06-23 11:40:14 +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
Ilia Alshanetsky
4ccab9d5ab
MFB: Fixed ZTS build
2006-06-11 20:47:55 +00:00
Hannes Magnusson
53d262c04d
Nuke unused var
2006-06-11 20:33:29 +00:00
Ilia Alshanetsky
2863d56d8a
MFB: Fully print array() in phpinfo().
2006-06-11 16:27:41 +00:00
Ilia Alshanetsky
6434512a05
MFB: Improved performance of str_replace() when doing 1 char to 1 char or 1
...
char to many chars replacement by 30-40%.
2006-06-10 15:51:23 +00:00
Andrei Zmievski
a871adf6bb
MFB
2006-06-03 18:58:40 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
be96a46e96
- fix encoding
2006-06-02 20:09:22 +00:00
Michael Wallner
4ce0141713
- new output control code
...
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
2006-06-02 19:51:43 +00:00
Ilia Alshanetsky
c270a8e627
MFB: fixed compiler warning
2006-06-01 22:42:53 +00:00
Antony Dovgal
01bc25e4b6
suppress_errors is used only on Win32, no need to look for it on other systems
2006-06-01 14:03:38 +00:00
Antony Dovgal
3e5407b16d
nuke unused variable
2006-06-01 13:45:16 +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
Ilia Alshanetsky
1aadb29d51
MFB: Added memory_get_peak_usage() function for retrieving peak memory
...
usage of a PHP script.
2006-05-30 14:51:54 +00:00
Antony Dovgal
11b66c6cec
add test
2006-05-29 10:42:37 +00:00
Antony Dovgal
d5f90c48c7
initialize srcstream
...
use different variable in local scope
2006-05-29 10:42:10 +00:00
Antony Dovgal
f59d444d8a
prevent resource leaking when passing invalid stream resource as second argument
2006-05-29 10:23:53 +00:00
Johannes Schlüter
40da89d6b9
- Fix str_replace with unicode strings as key
2006-05-28 21:09:58 +00:00
Marcus Boerger
875caa4870
- MFB
2006-05-25 10:50:53 +00:00
Ilia Alshanetsky
940ed4a426
MFB: Fixed bug #37563 (array_key_exists performance is poor for &$array).
2006-05-24 23:14:36 +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
Marcus Boerger
e7d381f7b6
- Drop unneccesary check and change to safe_emalloc
2006-05-21 13:25:16 +00:00
Hartmut Holzgraefe
205bdeda41
Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
2006-05-19 10:44:34 +00:00
Antony Dovgal
bd6125c312
add new tests by Ligaya Turmelle
2006-05-19 07:44:58 +00:00
Dmitry Stogov
ab9e070bbf
Optimized zend_try/zend_catch macroses (eliminated memcpy())
2006-05-19 06:11:02 +00:00
Ilia Alshanetsky
1dd395b27f
MFB: Fixed bug #37505 (touch() truncates large files).
2006-05-19 02:51:18 +00:00
Ilia Alshanetsky
1226d31151
MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then
...
E_ERROR
2006-05-16 14:12:52 +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
Ilia Alshanetsky
7dd87b5307
MFB: Fixed bug #37394 (substr_compare() returns an error when offset equals
...
string length).
2006-05-10 13:07:56 +00:00
Hartmut Holzgraefe
daa5febadf
Added php_get_tmpdir() function that returns the default directory for
...
temporary files (as requested in bug #35380 )
2006-05-06 09:59:02 +00:00
Sara Golemon
d77a8562c2
Unicode Updates:
...
file() now unicode ready
get_meta_tags() updated for FS encoding, but content is still non-unicode
2006-05-02 18:23:32 +00:00
Marcus Boerger
dcc51c1977
- WS
2006-05-01 15:59:56 +00:00
Frank M. Kromann
954199c9fb
More ZSTR() fixes
2006-04-29 14:53:26 +00:00
Frank M. Kromann
e6e2754439
Remove ZSTR() from stream macros. Calling function must apply this macro
2006-04-28 19:03:58 +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
Frank M. Kromann
1791befa0c
Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR)
2006-04-22 10:39:31 +00:00
Antony Dovgal
acf25d1aac
fix typo (see #35900 )
2006-04-19 08:43:05 +00:00
Sara Golemon
ea106887a7
Silence compiler warnings
2006-04-18 19:10:12 +00:00
Andrei Zmievski
efd298e2eb
I'm not sure what the heck people were thinking here, but it should be
...
fixed finally. Please test.
2006-04-18 05:18:12 +00:00
Andrei Zmievski
6b336175a6
Fix trim("a") bug.
2006-04-18 02:40:29 +00:00
Sara Golemon
04ecb8b1fd
Fix 'soft line break' handling in convert.quoted-printable-decode
2006-04-17 19:25:48 +00:00
Ilia Alshanetsky
78b81f2591
MFB51: fixed typo
2006-04-16 17:41:26 +00:00
Ilia Alshanetsky
53ab6c0920
MFB51: Fixed bug #37045 (Fixed check for special chars for http redirects).
2006-04-16 16:55:25 +00:00
Antony Dovgal
8c086bcf8d
make this test to work on all systems
2006-04-14 20:30:47 +00:00
Sara Golemon
1e9a9d596b
MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file
2006-04-14 17:44:56 +00:00
Antony Dovgal
becb273c16
MF51: fix #37077 (stream_socket_server() leaks when the port is not allowed)
2006-04-14 10:01:34 +00:00
Sara Golemon
d05836890b
Preserve full name of filter for use in stream_get_meta_data()
2006-04-13 04:41:08 +00:00
Sara Golemon
0b84c73635
Allow http:// wrapper to automatically apply correct unicode.from.* filter based on content-type header
2006-04-12 22:40:56 +00:00
Antony Dovgal
a44fe39f40
fix test title
2006-04-12 22:21:13 +00:00
Johannes Schlüter
e7747e8d74
- Fix bug #37060 (Type of retval of Countable::count() is not checked)
2006-04-12 19:29:52 +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
foobar
a6a3c9059d
- Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:04 +00:00
foobar
0e8b5470be
fix credits
2006-04-10 09:46:32 +00:00
Ilia Alshanetsky
f58ef85af5
MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir).
2006-04-09 17:58:02 +00:00
Sara Golemon
5a9feaa6b1
Plug leak which occurs in unicode mode
2006-04-06 20:05:43 +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
Ilia Alshanetsky
1df7d39695
Fixed bug #36957 (serialize() does not handle recursion).
2006-04-05 02:28:39 +00:00
Derick Rethans
1bad8fea12
- No need to have this one twice here... (Thanks Steph)
2006-04-04 06:04:49 +00:00
Ilia Alshanetsky
a24cb8773f
MFB51: Fixed an unlikely, but possible memory leak.
2006-04-03 13:46:35 +00:00
Antony Dovgal
0b0fff07b2
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Sara Golemon
53450fae8a
Update tests for working with unicode
2006-04-03 05:57:40 +00:00
Sara Golemon
b2523b29b8
Update filename handling and mark various functions for unicode safety
2006-04-01 00:05:31 +00:00
Sara Golemon
fd606a8d78
Add API hooks and unicode.filesystem_encoding for handling unicode
...
conversions of filename entries.
Normal path conversions will simply use this converter,
Certain other protocols (such as http) which specify a
required character set (utf8), may override the conversion
by defining a path_encode() and/or path_decode() wrapper ops method.
2006-03-31 22:51:37 +00:00
Antony Dovgal
ec376e510c
MF51: fix compile failure with old GCC (see bug #36931 )
2006-03-31 11:11:26 +00:00
Antony Dovgal
4f1da95828
fix TSRM build
2006-03-30 19:59:51 +00:00
Ilia Alshanetsky
0f48af3cec
MFB51: Fixed XSS inside phpinfo() with long inputs.
2006-03-30 19:16:28 +00:00
Sara Golemon
51b9a0f269
Make php_stream_copy_to_mem() unicode aware and
...
update userspace function file_get_contents().
Note: fgc()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow fgc() to return binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-30 00:22:51 +00:00
Sara Golemon
1c97a0d78c
Update php_stream_passthru() to handle unicode data.
...
This updates userspace functions fpassthru() and readfile()
UG(output_encoding) is used by php_stream_passthru() to translate
unicode stream contents back to an outputable character set.
Note: readfile()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow readfile() to output binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-29 22:52:24 +00:00
Andrei Zmievski
d57e79782e
Bug!
2006-03-29 05:56:06 +00:00
Sara Golemon
30a2bd1d11
Another (and hopefully last) major streams commit.
...
This moves unicode conversion to the filter layer
(rather than at the lower streams layer)
unicode_filter.c has been moved from ext/unicode to main/streams
as it's an integral part of the streams unicode conversion process.
There are now three ways to set encoding on a stream:
(1) By context
$ctx = stream_context_create(NULL,array('encoding'=>'latin1'));
$fp = fopen('somefile', 'r+t', false, $ctx);
(2) By stream_encoding()
$fp = fopen('somefile', 'r+');
stream_encoding($fp, 'latin1');
(3) By filter
$fp = fopen('somefile', 'r+');
stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ);
stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE);
Note: Methods 1 and 2 are convenience wrappers around method 3.
2006-03-29 01:20:43 +00:00
Ilia Alshanetsky
75c7f810ea
MFB51: Check 2nd parameter of tempnam() against path components.
2006-03-27 23:41:05 +00:00
Andrei Zmievski
e85495f6f1
Fix UErrorCode check.
2006-03-27 23:05:38 +00:00
Andrei Zmievski
d761aa7eb2
Typo.
2006-03-27 22:16:53 +00:00
Andrei Zmievski
626be75d6c
Make a UTODO note.
2006-03-27 21:19:12 +00:00