Commit Graph

16637 Commits

Author SHA1 Message Date
Antony Dovgal
5ec597013e fix arguments-by-ref with 5.x (problem appeared after the last 4.x compat patch)
make sure username_len is always initialized
2005-09-25 18:24:52 +00:00
Marcus Boerger
a2cbf80002 - Make code more readable, fix issue with parameter parsing introduced with
unicode update
2005-09-25 18:06:08 +00:00
Ilia Alshanetsky
6e37a621f8 Fixed bug #34321 (Possible crash in filter code). 2005-09-25 13:26:19 +00:00
Marcus Boerger
7e1763a115 - Implement RecursiveIteratorIterator::setMaxDepth()/getMaxDepth() 2005-09-25 12:01:31 +00:00
Marcus Boerger
da8c0af034 - Rename here too 2005-09-24 23:48:26 +00:00
foobar
6fe5050c45 fix typo 2005-09-24 23:22:44 +00:00
Marcus Boerger
8c131ac952 - Serializeable was renamed to Serializable long ago 2005-09-24 23:18:14 +00:00
Edin Kadribasic
c752d6b2ad MFB: Allow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed for mbstring 2005-09-24 15:22:57 +00:00
Edin Kadribasic
c4e65a4a2d MFB: Build PDO and SQLite as shared 2005-09-24 15:15:13 +00:00
Pierre Joye
97bad74c0f - #33220, fix infinite loop while loading invalid gif, this patch fixes
at least many cases (nlopess)
2005-09-24 14:37:49 +00:00
Edin Kadribasic
8e6b7667c6 MFB: Declare functions used by driver as PDO_API in php_pdo_driver.h 2005-09-24 14:19:24 +00:00
Derick Rethans
47236d7fc7 - Implemented filter_int, filter_float and filter_bool. 2005-09-23 23:09:47 +00:00
Marcus Boerger
6265c1623f - Remove unused variable 2005-09-23 23:02:29 +00:00
foobar
be3a2c634d - Improved the fix for #21306 a bit 2005-09-23 08:13:57 +00:00
Antony Dovgal
47ed27c6bb fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effect) for real 2005-09-22 20:14:15 +00:00
Antony Dovgal
0b57661b2d .. and the fix 2005-09-22 16:42:21 +00:00
Antony Dovgal
6a956b3d43 fix Win32 builds for PHP_4_4
(patch by Edin)
2005-09-22 16:25:59 +00:00
Derick Rethans
9000038bd2 - Changed variable handling code so that filter flags work for the unsafe_raw
filter.
- Added better support for \0 characters.
- Added utility function to HTML encode low/high characters.
- Added support for encode low/high flags to the string and special_chars
  filter.
- Added support for strip and encoding flags to the unsafe_raw filter.
2005-09-22 14:32:28 +00:00
Antony Dovgal
22d9a9bb86 prepare to release 1.1.1 2005-09-22 12:15:03 +00:00
Derick Rethans
66e3c106d1 - Removed ALLOW_SIGN filter flag, as this will always be allowed.
- Added ALLOW_SCIENTIFIC flag for the FS_NUMBER_FLOAT filter.
- Implemented string, encoded, special_chars, unsafe_raw, email, url,
  number_int, number_float and magic_quotes filters.
2005-09-22 10:06:57 +00:00
Marcus Boerger
a28c82fceb - Fixed Bug #34590 User defined PDOStatement class can't implement methods 2005-09-21 22:53:50 +00:00
Marcus Boerger
d9ed9945cb - MFB 2005-09-21 18:49:37 +00:00
Dmitry Stogov
af0dd442f3 Fixed memory corruption 2005-09-21 15:54:42 +00:00
Dmitry Stogov
18c1c3a82f Allow fopen() make HTTPS requests throug HTTP proxies 2005-09-21 15:04:48 +00:00
Ilia Alshanetsky
ac43306e72 MFB: fixed compiler warnings 2005-09-21 13:23:12 +00:00
Ilia Alshanetsky
db186add45 Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:15:20 +00:00
Johannes Schlüter
01f01cdb48 - Remove HTML fragments from phpcredits() in CLI mode 2005-09-20 22:17:34 +00:00
foobar
6f0648dab6 - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN) 2005-09-20 20:56:21 +00:00
Ilia Alshanetsky
75555bc472 Allow overloading of PDO constructor. 2005-09-20 19:52:05 +00:00
Marcus Boerger
97bedcc064 - Provide helper function to avoid TSRM issues with exception base and root 2005-09-20 18:46:15 +00:00
Derick Rethans
bc0308b2e4 - Moved constants to private .h file
- Added comments to filter stubs as per discussion with Ilia
- Renamed regexp to validate_regexp filter
- Added stubs for validate_url, validate_email and validate_ip filters.
- Implemented "string" (stripped) filter
2005-09-20 15:01:42 +00:00
Stanislav Malyshev
961d12fa2d fix crash on restarting static PHP having session modules loaded 2005-09-20 14:05:16 +00:00
Dmitry Stogov
140b23620b ZTS fix 2005-09-20 06:17:30 +00:00
Ilia Alshanetsky
71f9416fda MFB: remove PDO_ prefix 2005-09-20 00:46:07 +00:00
Wez Furlong
ed6fa70f49 use PDO:: class constants 2005-09-20 00:45:16 +00:00
Ilia Alshanetsky
3953b14024 Make PDO use class constants 2005-09-20 00:33:42 +00:00
Marcus Boerger
2c6cf58a96 - Add eytension consts to extension output (Johannes)
- Fix WS in output
2005-09-19 20:29:33 +00:00
Antony Dovgal
c6e6b44b82 MF5.0: add new test 2005-09-19 18:59:50 +00:00
Dmitry Stogov
b45944a5b3 Fixed access to uninitialized value 2005-09-19 18:47:36 +00:00
Marcus Boerger
b4271e8f3f - Fix filename in docu 2005-09-19 18:28:01 +00:00
Marcus Boerger
97948f29a9 - Add deprecated/compatibility class for BC 2005-09-19 18:25:23 +00:00
Marcus Boerger
2568c8a0cb - More TSRM fixes 2005-09-19 18:17:39 +00:00
Marcus Boerger
a3aa58fdea - Fix building with 5.0 2005-09-19 18:05:00 +00:00
Dmitry Stogov
f6a20bad6e Unicode support 2005-09-19 07:49:13 +00:00
Dmitry Stogov
4d8290d000 Unicode support 2005-09-19 07:23:47 +00:00
Dmitry Stogov
9fc1de0181 Fixed test file 2005-09-19 06:11:12 +00:00
Marcus Boerger
8663b3a191 - Update docu: new slides are available 2005-09-18 17:51:37 +00:00
Marcus Boerger
d9604967ff - Observer/Subject have been renamed 2005-09-18 17:44:50 +00:00
Marcus Boerger
eede773730 - Add missing docu 2005-09-18 17:39:12 +00:00
Marcus Boerger
7a9c654f83 - Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR 2005-09-18 17:32:52 +00:00
Marcus Boerger
02038b4ac4 - Rename 'CachingRecursiveIterator' to 'RecursiveCachingIterator' so that
all of those follow the naming scheme 'Recursive<*>Iterator'
2005-09-18 16:51:24 +00:00
Marcus Boerger
445e382454 - Move RecursiveArrayIterator into .c
- Add ability to control iterator class of ArrayObject
- Implement option to make CachingIterator cache all read elements
- Implement ArrayAccess to CachingIterator to access cached elements
- Update docu
- Update tests
2005-09-18 11:34:36 +00:00
Antony Dovgal
1b1c0e3c78 check class_entry of this_ptr in Reflection API, so we won't get an alien this_ptr
when called statically in a function that is called statically too (without being
declared as static)
2005-09-16 20:20:46 +00:00
Dmitry Stogov
746e88e3d5 Fixed bug #34478 (Incorrect parsing of url's fragment (#...)) 2005-09-16 15:47:42 +00:00
Marcus Boerger
35c85a23f1 - MFB 2005-09-16 15:23:37 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Marcus Boerger
50301ddc98 - Rename file class again by popular demmand: calling it SplFileObject now
# Any other idea about the name? Or should i come up with a renaming plan
# for the upcoming versions? :-)
2005-09-15 14:07:39 +00:00
Marcus Boerger
5f437cd590 - Changed in version 5.1 2005-09-15 03:52:58 +00:00
Marcus Boerger
849fb07201 - MFB 2005-09-15 03:48:38 +00:00
Marcus Boerger
8aa7f36a3b - Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:31:37 +00:00
Rasmus Lerdorf
868c4b72df Add FS_STRIPPED alias 2005-09-15 03:16:09 +00:00
Ilia Alshanetsky
f7a4a852df Fix error detection for queries such as OPTIMIZE 2005-09-14 15:34:42 +00:00
Derick Rethans
6e3d5a9e22 - Rename icu_loc* to i18n_loc*
- Added i18n_strtotitle (name is not sure yet) - work in progress.
2005-09-14 14:56:01 +00:00
Andrei Zmievski
387e353009 Fix for Unicode access. 2005-09-13 21:04:07 +00:00
Ilia Alshanetsky
a383bd062c Make key() and current() take argument by value. 2005-09-13 13:22:49 +00:00
Antony Dovgal
d94f338cf4 fix #34450 (Segfault when calling mysqli_close() in destructor) 2005-09-13 09:19:58 +00:00
foobar
e720736a4f - Fixed build with phpize 2005-09-12 17:14:20 +00:00
Ilia Alshanetsky
58fda11b15 Fixed bug #34456 (Possible crash inside pspell extension).
# Patch by Nuno Lopes
2005-09-12 15:26:48 +00:00
Dmitry Stogov
03c6efab67 Additinal fix for bug #34277 (array_filter() crashes with references and objects) 2005-09-12 09:58:35 +00:00
Derick Rethans
161777af26 - Reimplement SORT_LOCALE_STRING with ICU locales. 2005-09-12 09:53:23 +00:00
Dmitry Stogov
1e32cdbb7d Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) 2005-09-12 08:23:49 +00:00
Dmitry Stogov
f4a3454c52 Fix for exceptions in __sleep() 2005-09-12 07:14:54 +00:00
Dmitry Stogov
b81255d4fd ZTS fix 2005-09-12 06:31:54 +00:00
Wez Furlong
37ace0651b merge other PDO fixes from 5.1 branch.
Allow pdo_sqlite to build against 5.0 and 5.1 too.
2005-09-11 05:08:49 +00:00
Wez Furlong
d84239ae87 touch file 2005-09-11 05:04:43 +00:00
Wez Furlong
434fa24dfa Merge changes from 5.1 branch.
Add compat header that allows PDO head to compile against PHP 5.0 and PHP 5.1.
2005-09-11 05:04:00 +00:00
Wez Furlong
739c0680d0 actually reset the statement when closeCursor() is called. 2005-09-11 04:59:41 +00:00
Rolland Santimano
05e365bab3 - str_pad(): Use u_countChar32() for codepoint counting, eumalloc/eurealloc() for Unicode mallocs. 2005-09-09 19:07:18 +00:00
Antony Dovgal
4c8425e9ba new test 2005-09-09 14:08:03 +00:00
Antony Dovgal
98899d1083 fix problem appearing when binding empty values 2005-09-09 14:00:03 +00:00
Ilia Alshanetsky
5754b7321a Allow retrieval of query parse errors from SQLite.
# Patch by Nuno Lopes
2005-09-08 21:07:26 +00:00
Ilia Alshanetsky
1e13bca414 Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). 2005-09-08 14:49:58 +00:00
Derick Rethans
9d04a8e369 - Make ord() work on binary strings too. 2005-09-08 14:07:40 +00:00
Antony Dovgal
034e794fe9 use "connections" instead of "links" everywhere to avoid possible confusion 2005-09-08 13:16:24 +00:00
Dmitry Stogov
b0b0f8147d Fixed craches in substr_replace() 2005-09-08 12:40:01 +00:00
Antony Dovgal
fb8258e8b7 fix phpinfo() output for iconv extension
(convert unicode values to string before outputting them)
2005-09-08 11:48:07 +00:00
Dmitry Stogov
49c3b14f53 Unicode support for PHP constants 2005-09-08 11:10:34 +00:00
Rob Richards
d1cf2c5ffe add save options parameter 2005-09-08 10:34:37 +00:00
Rob Richards
65f96ca6f2 add additional constants
remove un-needed ifdefs
2005-09-08 10:33:57 +00:00
Dmitry Stogov
90b45fcbbd Fixed crash on AIX 2005-09-08 06:18:47 +00:00
Rolland Santimano
a441e78984 - Unicode impl of substr_replace() 2005-09-08 05:05:36 +00:00
Derick Rethans
f872d3346c - Fix buglett with date() that cause truncated strings to be returned when
Unicode is turned on.
2005-09-07 19:09:27 +00:00
Dmitry Stogov
7eeb91187b Fixed memory allocation bug 2005-09-07 15:34:50 +00:00
Antony Dovgal
324080065d new test 2005-09-07 15:27:09 +00:00
Ilia Alshanetsky
2195f7ec74 Upgraded sqlite2 lib to 2.8.16 2005-09-07 15:10:15 +00:00
Antony Dovgal
49cf0eff6a add Andi & Wez as lead maintainers and make myself lead too 2005-09-07 13:05:51 +00:00
Antony Dovgal
984f303713 I doubt that all these people are going to develop it in PECL,
so remove them and fix those complains about non-existing users.
2005-09-07 12:44:19 +00:00
Antony Dovgal
8137d9a075 prepare to PECL release 2005-09-07 12:40:38 +00:00
Edin Kadribasic
adcc19f9ec Support for Windows (Michael Wallner) 2005-09-07 11:16:57 +00:00
Antony Dovgal
ec8531cfb1 don't try to fetch resource when there is 0 args 2005-09-07 08:58:32 +00:00
Dmitry Stogov
18e259480e Fixed unicode support for substr_count() 2005-09-07 07:00:03 +00:00
Antony Dovgal
1287891c3b removed __FUNCTION__ (by popular demand) 2005-09-06 21:44:53 +00:00
Antony Dovgal
4a2b8cb6d0 fix credits 2005-09-06 21:42:26 +00:00
Edin Kadribasic
b5a5b22cbb Sync windows build and link against instant client libs 2005-09-06 21:38:16 +00:00
Edin Kadribasic
e18b812ba6 Remove utf-8 chars 2005-09-06 21:30:28 +00:00
Antony Dovgal
726f3e3881 workaround for some b0rked compilers 2005-09-06 21:11:19 +00:00
Antony Dovgal
e0ed2b45ff new tests 2005-09-06 19:33:18 +00:00
Antony Dovgal
3df94e1112 Updated OCI8 driver
This updated fixes (this list is not complete):
-------------------
#33915 - crash in _oci_close_session
#26393 - Segfault during request shutdown in _oci_close_session() (oci8.c:2443)

#32741 - hang on ociexecute() with collections (only with 10g, works with 9i)
#32325 - can't retrieve collection using OCI8
#33583 - Apache1.3.33 Segmentation fault with php5 & OCI_New_Collection

#32361 - connection oci_connect stay persist after process the php
#29013 - multiple logins cause handles become invalid
#28944 - OCITypeByName: OCI-21522 with two connections

Fixed by connection handling rewrite.

#32140 - NVARCHAR columns are truncated
#31042 - oci_fetch_* sets field value to false
#27156 - OCIFetchInto returns false as column value when column contains >1 umlaut

Fixed by multiplying buffer size by 3.

#33866 - OCIlogon do not returns conn resource for account with expired paswd
#33365 - logon fails when password expires

Fixed by adding new oci_password_change() call syntax.

#33159 - DB-connect via webserver fails after DB-restart ORA-24327
#30808 - oci8 cannot connect after restarting DB
#30127 - lost oracle connection. need restart apache.
#29902 - oci8 doesn't disconnect sessions, overloads oracle server
#29779 - (the same issue with the Oracle server going offline)
#26829 - Killed Oracle Sessions openned with OCIPLogon()

Fixed by adding oci8.ping_interval option.

#32988ext/oci8: OCI doesn't support DB external authentication

Fixed by adding support of external credentials (turned off by default).

Added new INI options:
----------------------
oci8.ping_interval
oci8.max_persistent
oci8.persistent_timeout
oci8.privileged_connect
oci8.statement_cache_size
oci8.default_prefetch
oci8.old_oci_close_semantics

See the updated docs for the detailed descriptions.

Major changes:
--------------
- connection handling algorithm rewritten. That should add stability and fix all non-reproducible crashes etc;
- extension refactored and divided into several files to improve readability and to make it easier to maintain;
- added support of statement caching;
- added support of privileged connections using external credentials;
- added new INI options to manage persistent connections;
- fixed oci_close() to close connections correctly.
2005-09-06 19:31:59 +00:00
Derick Rethans
8774e8e1aa - Updated the framework, cleaned up some code.
#- Basically the only real thing left is the body for the filters.
2005-09-06 18:46:37 +00:00
Rolland Santimano
8404034552 Pointer arithmetic with char * rather than void * 2005-09-05 16:37:45 +00:00
foobar
7036ac440c touch 2005-09-05 16:20:56 +00:00
foobar
80079e61a5 - Fixed bug #34311 (unserialize() crashes with characters above 191 dec) 2005-09-05 16:19:35 +00:00
Rolland Santimano
8d5d2125d0 - Unicode impl of str_pad() 2005-09-05 10:55:35 +00:00
Frank M. Kromann
6e6def1e77 MFB: Fix for #34369
Add extra parameter to mssql_connect to force a new connection
2005-09-05 05:05:34 +00:00
Marcus Boerger
5deac4859e - Add missing docu tag 2005-09-04 18:57:21 +00:00
Marcus Boerger
4cba6ac94d - Update docu 2005-09-04 18:51:50 +00:00
Edin Kadribasic
856b81ff0c touch 2005-09-04 00:58:49 +00:00
Edin Kadribasic
baecb3d18d MFB 2005-09-04 00:58:21 +00:00
Edin Kadribasic
0161d1bfd1 MFB 2005-09-03 23:52:56 +00:00
Marcus Boerger
a826dd2918 - Fix docu 2005-09-02 19:16:43 +00:00
Marcus Boerger
03136fc95d - Update docu 2005-09-02 19:15:30 +00:00
Ilia Alshanetsky
3ed0413de5 Resolved bug #34240.
# Thanks to xuefer at 21cn dot com for providing it.
2005-09-02 17:25:10 +00:00
Rob Richards
9a95a98628 Fix crash: handler name not length needs to be passed to php_error_docref 2005-09-02 15:38:22 +00:00
Derick Rethans
5169c32573 - Added date_time_set, date_date_set and date_isodate_set() functions, and
setTime, setDate and setISODate() methods.
2005-09-02 14:57:42 +00:00
Derick Rethans
42fe62541e - Update timezone database to version "2005m". 2005-09-02 12:31:41 +00:00
Derick Rethans
9495b782b2 - Added comments into the database file, so that we can more easily spot
changes.
2005-09-02 11:39:42 +00:00
Derick Rethans
31f3f81c82 - MF51: Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). 2005-09-02 09:41:08 +00:00
Derick Rethans
e4fd549af9 - Fixed bad MF51. 2005-09-02 09:39:21 +00:00
foobar
f52a9e84ed - Moved pfpro, ovrimos and mcve to PECL
# Pierre will create the packages for these
2005-09-02 09:10:01 +00:00
Rob Richards
acfde98e6e Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:37:29 +00:00
foobar
d61c1eeeba MFB 2005-09-02 05:18:30 +00:00
George Schlossnagle
fbd6ce4db5 Resolution to http://pecl.php.net/bugs/bug.php?id=5193 for all drivers. 2005-09-01 14:39:58 +00:00
George Schlossnagle
23a74267d9 protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193 2005-09-01 14:31:34 +00:00
Dmitry Stogov
176a76dbec MFH 2005-09-01 13:03:48 +00:00
Derick Rethans
06562e3e8e - Fixed bug #33414 (Comprehensive list of incorrect days returned after
strtotime() / date() tests).
2005-09-01 12:41:43 +00:00
Dmitry Stogov
cbd1c89e81 Fixed bug #34277 (array_filter() crashes with references and objects) 2005-09-01 11:58:41 +00:00
Dmitry Stogov
7b7551085b Support for class constants and static members for internal classes 2005-09-01 10:05:01 +00:00
Ilia Alshanetsky
f376178101 Fixed bug #34001 (pdo_mysql truncates numberic fields at 4 chars) 2005-09-01 01:56:36 +00:00
foobar
805bb588d9 Fixed bug #34323 2005-08-31 22:29:24 +00:00
Rob Richards
af7f90f6c7 make sxe_properties_get respect namespace scope 2005-08-31 17:00:22 +00:00
foobar
39e0c382df Update credits 2005-08-31 15:01:13 +00:00
foobar
f35af61ef8 Moved to PECL 2005-08-31 14:55:13 +00:00
Derick Rethans
447425d9f1 - Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number). 2005-08-31 14:31:45 +00:00
foobar
315cdad9b0 - Fixed bug #34306 (wddx_serialize_value() crashes with long array keys) 2005-08-31 14:30:46 +00:00
George Schlossnagle
c2e9f5d9a5 Set port even if host is localhost.
Should resolve 34072
2005-08-31 03:48:01 +00:00
Ilia Alshanetsky
50fb7a8261 Added optional parameter to http_build_query() to allow specification of
string separator.
2005-08-31 01:19:40 +00:00
Ilia Alshanetsky
4f1520912c Fixed bug #32589 (possible crash inside imap_mail_compose() function). 2005-08-30 22:02:43 +00:00
George Schlossnagle
26fd380b1d this is the number of params, not the top index 2005-08-30 19:59:11 +00:00
George Schlossnagle
6a687a1fad this is the number of params, not the top index (otherwise unix_socket doesnt work 2005-08-30 19:55:54 +00:00
Marcus Boerger
0165ab6251 - Adds module registering a function to struct zend_internal_function.
(Johannes)
# This information is by reflection API and error messages.
2005-08-30 18:27:17 +00:00
Derick Rethans
cbe8be6a17 - Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9). 2005-08-30 09:17:56 +00:00
Marcus Boerger
650c3d2094 - Fix const speling (correct in branshes where did it vanish here) 2005-08-30 07:27:06 +00:00
Dmitry Stogov
93c08f1c8b Fixed possible memory leak 2005-08-30 07:19:59 +00:00
Marcus Boerger
51e3db28ea - Fix #34299: ReflectionClass::isInstantiable() returns true for abstract classes 2005-08-29 22:11:53 +00:00
Dmitry Stogov
a3b7eb2284 Fixed gcc 4 compatibility 2005-08-29 06:51:14 +00:00
Ilia Alshanetsky
019aec0a6c touch 2005-08-28 16:57:30 +00:00
Ilia Alshanetsky
bb38017142 Upgrade sqlite lib to 3.2.5 2005-08-28 16:57:01 +00:00
Rob Richards
4509fb9d5d Fixed bug #34276 (setAttributeNS doesn't work with default namespace)
Add test
2005-08-28 16:22:03 +00:00
foobar
bc1f800a72 - Fixed bug #34284 (CLI phpinfo showing html on _SERVER["argv"]) 2005-08-28 01:02:54 +00:00
foobar
fc97c0212e - Fixed bug #34221 (Compiling xmlrpc as shared fails other parts) 2005-08-28 00:43:29 +00:00
Rolland Santimano
c7ad26fbf4 - Unicode impl of substr_count() 2005-08-27 19:14:05 +00:00
Marcus Boerger
271f5d04ec - Check for static libs, too 2005-08-26 15:24:26 +00:00
Rolland Santimano
c81d6d6cfd - Updated strrev() to handle base+combining sequences 2005-08-26 10:21:07 +00:00
Ilia Alshanetsky
c1e661ce70 MFH: Fixed bug #34214 (base64_decode() does not properly ignore whitespace) 2005-08-26 03:32:53 +00:00
Rob Richards
de9e0c588f Fix URI escaping 2005-08-26 02:29:32 +00:00
Marcus Boerger
b5ad2a4b20 - Bugfix #34257 lib64 not handled correctly in ming extension 2005-08-25 20:49:49 +00:00
Dmitry Stogov
fc03492c0b Fixed memory leaks 2005-08-25 13:53:38 +00:00
foobar
0ed53849a5 MFB 2005-08-25 12:26:12 +00:00
Derick Rethans
d468a854f9 - Fixed bug #34087 for real. 2005-08-25 09:46:31 +00:00
Sara Golemon
23b729dc15 sizeof(char) != sizeof(UChar) Don't tell ucnv_toUnicode it has more space than it really does 2005-08-25 08:59:24 +00:00
Dmitry Stogov
fe88b03b99 ZTS fix 2005-08-25 06:50:16 +00:00
Andrei Zmievski
64dbc03c93 Fix ZTS. 2005-08-24 17:16:14 +00:00
Derick Rethans
c4d08b15f0 - Make it compile in ZTS mode
#- *untested*
2005-08-24 17:10:25 +00:00
Derick Rethans
e87054dbec - Fix test. 2005-08-24 14:17:58 +00:00
Derick Rethans
e226f0f87f - Fixed bug #34087 (strtotime() does not work with date format "Y/m/d").
- Make use of YYMAXFILL.
- Added support for using a . as hour/minute/second separator.
2005-08-24 13:47:28 +00:00
Dmitry Stogov
47539d32d0 Fixed boolean encoding (from 0/1 to false/true) to support some buggy soap SDKs.
Fixed support for missing nillable elements of sequnces.
2005-08-24 11:46:27 +00:00
Johannes Schlüter
a221a9742a - Fix alphabetic order and add missing class 2005-08-24 10:16:45 +00:00
foobar
36ee721519 Test for bug #34214 2005-08-23 21:39:39 +00:00
Andrei Zmievski
2a8a18b22c Fix verbosity for var_inspect(). 2005-08-23 17:22:54 +00:00
Dmitry Stogov
8f6f97a77d Unicode support 2005-08-23 12:53:31 +00:00
Dmitry Stogov
f4b8f4e958 Unicode support cleanup 2005-08-23 09:33:46 +00:00
Ilia Alshanetsky
739c7d3869 Make dba extension support BerkleyDB 4.3. 2005-08-22 19:59:19 +00:00
Dmitry Stogov
641e6f11e4 Now fread() returns bool(false) on error instead of empty string 2005-08-22 16:42:39 +00:00
Derick Rethans
8deeef8805 - Fixed typo. 2005-08-22 14:16:07 +00:00
Dmitry Stogov
e404ee456b Fixed unicode support for ltrim() 2005-08-22 14:14:10 +00:00
Dmitry Stogov
ab2e9bc9bd Unicode support 2005-08-22 13:32:46 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
Ilia Alshanetsky
c8dedc16a8 Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). 2005-08-21 16:02:25 +00:00
Andrei Zmievski
23086f5f1c Unicode support for ord() and chr(). 2005-08-19 22:00:21 +00:00
Andrei Zmievski
676a3cf46e Use RETVAL_ASCII_STRINGL() here. 2005-08-19 17:53:03 +00:00
Dmitry Stogov
90393d675f Unicode support 2005-08-19 13:20:16 +00:00
Rolland Santimano
973e98f51e - Unicode capable impl() of strrev() 2005-08-19 10:59:19 +00:00
Dmitry Stogov
80079885bb Quick fix (API was changed) 2005-08-19 10:55:05 +00:00
Dmitry Stogov
b0e24970bb Unicode support cleanup 2005-08-19 10:54:26 +00:00
Dmitry Stogov
2b5ebdde1d ZTS fix 2005-08-19 07:49:41 +00:00
Dmitry Stogov
974b209f78 ZTS fix 2005-08-19 07:26:13 +00:00
Andrei Zmievski
fd05d40cbe Rework range() to be able to work on binary strings and also on Unicode
code points. Binary strings are not interpreted as numeric.
2005-08-18 22:51:46 +00:00
Andrei Zmievski
0b036a8fdc Use u_totitle() instead of u_toupper() in ucwords(). 2005-08-18 22:37:22 +00:00
Dmitry Stogov
74dafa95d1 Unicode support for extract() 2005-08-18 15:14:08 +00:00
foobar
03cec74a0d Nuked EOLs from error messages 2005-08-18 13:34:04 +00:00
foobar
dde3f89dd4 Nuked EOL from error message 2005-08-18 12:56:36 +00:00
foobar
b385e0ad39 Nuke EOLs from error messages 2005-08-18 12:54:32 +00:00
foobar
98ce7bf37b - Removed EOL from error message 2005-08-18 12:40:17 +00:00
foobar
4985dd8da3 - Removed EOLs from error messages 2005-08-18 12:37:24 +00:00
Dmitry Stogov
3658f1fb7b Unicode support 2005-08-18 11:47:03 +00:00
Dmitry Stogov
474ff091a2 var_export() should escape \ and ' characters. 2005-08-18 11:13:50 +00:00
Dmitry Stogov
e56f9d2eea Unicode support 2005-08-18 07:16:52 +00:00
Dmitry Stogov
704b4d7b61 Fixed tests 2005-08-18 06:32:39 +00:00
Rolland Santimano
fd4e6da642 - Removed 'proto' from description of internal funcns: ucfirst()/ucwords() 2005-08-18 05:53:46 +00:00
Rolland Santimano
412dac1576 Unicode-capable impl of ucwords() 2005-08-17 20:29:00 +00:00
Andrei Zmievski
202bb697fd Fix bin2hex() to work on binary data and return strings of correct type. 2005-08-17 17:39:04 +00:00
Rolland Santimano
ed370daef5 Unicode impl of ucfirst() 2005-08-17 17:33:19 +00:00
foobar
cbb14bec35 Fix ZTS build 2005-08-17 17:02:46 +00:00
Dmitry Stogov
263d919a20 Unicode support for range() 2005-08-17 15:12:03 +00:00
Dmitry Stogov
21c6c8c8fe Proper handling of unicode strings with \0 in the middle 2005-08-17 15:11:41 +00:00
Dmitry Stogov
0df66e7eaa Unicode support 2005-08-17 14:16:05 +00:00
Dmitry Stogov
6d62ccc769 Unicode support 2005-08-17 14:01:06 +00:00
Dmitry Stogov
48def9a6ad Unicode support 2005-08-17 13:10:04 +00:00
Dmitry Stogov
f4ea6b0656 Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault) 2005-08-17 11:57:10 +00:00
Dmitry Stogov
3509630024 trim() should accept objects with __toString() method 2005-08-17 11:36:32 +00:00
Rolland Santimano
c98838037e php_u_trim_range(): Alloc UChar32 units rather than UChar 2005-08-17 10:26:02 +00:00
Dmitry Stogov
8c63822f0d Fixed implode() bugs 2005-08-17 07:59:31 +00:00
Rolland Santimano
616089e772 Updated implode() impl as per Andrei's comments
[http://news.php.net/php.cvs/33457]
2005-08-17 07:14:12 +00:00
Zeev Suraski
63c6feaff7 Add SoapClient::__setSoapHeaders() 2005-08-17 07:04:50 +00:00
Ilia Alshanetsky
e7ad6720fa Provide a common handler for "close".
Macro the name validation.
2005-08-16 23:10:36 +00:00
Marcus Boerger
5085c21d7e - TSRM Fix 2005-08-16 20:22:33 +00:00
Marcus Boerger
4a43e9c812 - TSRM Fix 2005-08-16 20:15:21 +00:00
Andrei Zmievski
06c3c85e19 md5() and md5_file() should return binary strings when raw_output is
set.
2005-08-16 19:45:00 +00:00
Andrei Zmievski
c79fbfe6f3 And here 2005-08-16 19:43:23 +00:00
Andrei Zmievski
b477936661 And here. 2005-08-16 18:22:22 +00:00
Derick Rethans
1ee41e0d92 - Fixed a couple of bugs in the new smart_str macros, and allow them to
allocate two extra bytes (so that we can pad them with two \0's for UTF-16)
- Fixed usage of smart_str's in the PAD and INS_STRING macros.
2005-08-16 18:02:41 +00:00
Antony Dovgal
5adc3ce7c6 nuke unused vars 2005-08-16 16:57:59 +00:00
Dmitry Stogov
27f39c6826 Unicode support 2005-08-16 16:29:16 +00:00
Dmitry Stogov
d0944d74f4 Unicode support 2005-08-16 15:09:51 +00:00
Ilia Alshanetsky
b3d7ae9399 Fixed bug #34148 (+,- and . not supported as parts of scheme). 2005-08-16 14:10:13 +00:00
Rolland Santimano
3b4b22a8fc Unicode capable impl of implode() 2005-08-16 12:04:13 +00:00
Dmitry Stogov
f79fed6286 Unicode support 2005-08-16 10:18:43 +00:00
Dmitry Stogov
7b7a4aac86 Unicode support 2005-08-16 09:25:04 +00:00
Dmitry Stogov
238a40418b Unicode support 2005-08-16 09:11:00 +00:00
Rolland Santimano
bc87019a80 Updated calls to php_trim() to provide arg for returned string type 2005-08-16 06:04:59 +00:00
Rolland Santimano
c1b8eda121 php_trim() takes extra arg to determine string type to be returned 2005-08-16 06:02:56 +00:00
Ilia Alshanetsky
99dd2d008f Input validation part 2. 2005-08-16 00:25:21 +00:00
Ilia Alshanetsky
3ee4d80fc3 MFH: Chunk the output 2005-08-15 23:24:47 +00:00
Antony Dovgal
760313346a eliminate compile warning 2005-08-15 23:01:42 +00:00
Marcus Boerger
a24a21ecf0 - No c comment (+ old non unicode way not needed any longer) 2005-08-15 19:16:30 +00:00
Johannes Schlüter
c5d862c254 - Fix leak with explode of empty unicode string 2005-08-15 19:12:59 +00:00
Dmitry Stogov
909e0a1c4e Unicode support 2005-08-15 17:29:07 +00:00
Rob Richards
bbe63287e7 Fixed bug #34103 (line numbering not maintained in dom document) 2005-08-15 17:13:15 +00:00
Dmitry Stogov
82a504721e Unicode support 2005-08-15 16:13:02 +00:00
Ilia Alshanetsky
7cd5109184 input validation. 2005-08-15 16:01:43 +00:00