Commit Graph

5015 Commits

Author SHA1 Message Date
Andrei Zmievski
91619d9e1d Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings
but convert them to binary. We can revisit supporting something like 'U'
format in the future, if it's needed.
2006-11-30 21:18:22 +00:00
Andrei Zmievski
8ce99ad71b Make quoted_printable_decode() take only ASCII strings. 2006-11-30 18:32:59 +00:00
Ilia Alshanetsky
053747b512 MFB: Use reantrant crypt_r() whenever possible. 2006-11-30 16:00:05 +00:00
Ilia Alshanetsky
b9e264d497 MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp()
are not thread safe).
2006-11-29 23:46:25 +00:00
Antony Dovgal
9ed4f515d1 fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:10:49 +00:00
Antony Dovgal
4b52ecf332 add php_unescape_html_entities() proto to the header 2006-11-28 20:40:29 +00:00
Ilia Alshanetsky
969ce8a603 MFB: Added a meta tag to phpinfo() output to prevent search engines from
indexing the page.
2006-11-26 16:26:32 +00:00
Antony Dovgal
a1f6c395cf fix #39621 (str_replace() is not binary safe on strings with equal length) 2006-11-24 21:57:31 +00:00
Antony Dovgal
5bc9641a77 add missing argument to zend_parse_parameters() 2006-11-24 21:54:41 +00:00
Nuno Lopes
2eef6c8793 more tests 2006-11-24 20:20:51 +00:00
Andrei Zmievski
f2ab79dfc7 Unicode support in get_html_translation_table(). 2006-11-22 22:18:46 +00:00
Andrei Zmievski
bb765e86ef *** empty log message *** 2006-11-22 21:22:27 +00:00
Andrei Zmievski
ddee40dffb Unicode support in ftok(). 2006-11-22 21:22:14 +00:00
Andrei Zmievski
5732620630 - Unicode support for tick functions.
- Update unicode-progress.txt
2006-11-22 19:13:19 +00:00
Pierre Joye
19abc4b507 - #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
5f29b8e40e fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:58:11 +00:00
Andrei Zmievski
b767e3cf9f Unicode support in import_request_variables(). 2006-11-21 22:21:38 +00:00
Andrei Zmievski
7cb10e9620 Note. 2006-11-21 18:45:21 +00:00
Andrei Zmievski
e6284e9cbc Unicode support in highlight_string(). 2006-11-21 18:40:58 +00:00
Antony Dovgal
ee8e633e8b remove redundant error message
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:40:38 +00:00
Antony Dovgal
8373efc9b9 fix #39551 (Segfault with stream_bucket_new in user filter)
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Antony Dovgal
90afd8b5b8 improve test 2006-11-20 20:54:52 +00:00
Antony Dovgal
b198d2d028 fix test on Solaris 2006-11-20 16:28:14 +00:00
Antony Dovgal
7032c7dddf efree() if not NULL 2006-11-20 11:12:35 +00:00
Ilia Alshanetsky
75f45d8458 MFB: pack()/unpack() tests 2006-11-19 18:31:22 +00:00
Ilia Alshanetsky
316e7a5b2d MFB: Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 2006-11-19 18:21:50 +00:00
Andrei Zmievski
97270f4e75 Use u_memcpy() instead of memcpy(). 2006-11-17 16:45:28 +00:00
Andrei Zmievski
b1d83fec6b Fix memory leaks and segfault. 2006-11-17 16:44:23 +00:00
Derick Rethans
7e56771f94 - Add the strtr implementation for unicode for the case where there are
characters with a code point value >= 256.
2006-11-16 20:33:44 +00:00
Antony Dovgal
c41f14297c fix tests (add missing SKIPIF sections and a fix for FreeBSD) 2006-11-16 13:49:01 +00:00
Antony Dovgal
107229611b more new tests, yikes! 2006-11-16 13:00:03 +00:00
Antony Dovgal
0ca02684c1 fix array_key_exists() with NULL key in Unicode mode 2006-11-15 22:43:19 +00:00
Antony Dovgal
1063fa6a90 add new tests 2006-11-15 22:42:28 +00:00
Antony Dovgal
37754b437f fix memory leak and typo in zend_parse_parameters(), which caused segfault
add test
2006-11-15 22:09:25 +00:00
Antony Dovgal
7c08c95070 fix leak appearing when converting object to NULL
add test
2006-11-15 17:28:56 +00:00
Antony Dovgal
bbc854a4bd add new tests 2006-11-15 17:26:54 +00:00
Antony Dovgal
a92ccf9ab1 fix test on AIX 2006-11-15 12:11:07 +00:00
Antony Dovgal
f9847c0d0e fix test 2006-11-15 11:27:10 +00:00
Antony Dovgal
af43feda28 fix test 2006-11-15 10:48:30 +00:00
Antony Dovgal
f9d4063fed one more test 2006-11-14 22:23:23 +00:00
Antony Dovgal
41bb09b30d add new tests 2006-11-14 21:59:02 +00:00
Derick Rethans
3a659a6a05 - No idea if we actually support 16 bit systems, but this just looked wrong 2006-11-14 14:41:09 +00:00
Antony Dovgal
c7fd59af0f don't forget to close the stream when/if flock() fails 2006-11-13 20:31:15 +00:00
Antony Dovgal
49a2ae60d0 fix leaks in get_meta_tags() when used with b0rked HTML
add test
2006-11-13 20:17:05 +00:00
Ilia Alshanetsky
a65efab679 MFB: php_splice() optimization 2006-11-13 15:34:49 +00:00
Hannes Magnusson
6d22129d9b Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:11:58 +00:00
Andrei Zmievski
2d40fd328d Allow mixing Unicode/binary string types. 2006-11-10 12:01:50 +00:00
Dmitry Stogov
768185e58f Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:40 +00:00
Dmitry Stogov
afe251ab8d Faster and better licensed implementation 2006-11-10 10:11:05 +00:00
Dmitry Stogov
dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00