1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Commit Graph

4904 Commits

Author SHA1 Message Date
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