Commit graph

18436 commits

Author SHA1 Message Date
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
Dmitry Stogov
2d0539e2ba Unicode support (not finished) 2006-07-13 16:47:26 +00:00
Ilia Alshanetsky
3c75c080cf MFB: Fixed test for systems where set_charset() method is unavailable. 2006-07-13 15:42:55 +00:00
Antony Dovgal
b8059674ee Unicode support in ReflectionParameter::__construct() 2006-07-13 12:34:30 +00:00
Antony Dovgal
8376cd2396 nuke unused variable 2006-07-13 12:15:01 +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
Ilia Alshanetsky
896c0e0690 MFB: Fixed compiler warnings. 2006-07-13 00:13: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
Michael Wallner
1d6027adbd - add note why replace is 0, so that I don't wonder again in 2 months
why session_regenerate_id() sends the session cookie twice
2006-07-12 15:28:18 +00:00
Antony Dovgal
550a7186c5 restore missing check and prevent segfaulting
MFB and add test
2006-07-12 13:17:25 +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
3945c5e1c6 MFB: fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 10:15:30 +00:00
Dmitry Stogov
6a12b2de74 Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 09:00:15 +00:00
Hartmut Holzgraefe
4fb0776b8e new test cases for mysqli_warnings and mysql_driver properties 2006-07-12 08:00:24 +00:00
Dmitry Stogov
6abfcba273 Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:55:04 +00:00
Hartmut Holzgraefe
397a46b559 fixed C&P errors in groups handling, activated groups feature 2006-07-12 07:00:48 +00:00
Hartmut Holzgraefe
eef7cb2d75 make sure embedded server is correctly initialized 2006-07-11 23:41:40 +00:00
Hartmut Holzgraefe
45a238c129 skip when testing embedded server 2006-07-11 23:37:41 +00:00
Hartmut Holzgraefe
0bbeae457b no need to test ping and kill with embedded server 2006-07-11 23:34:27 +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
Andrei Zmievski
42b38dc29c Protos. 2006-07-11 20:51:18 +00:00
Andrei Zmievski
62d76d207f Implement getAll() that can be used to get all the pieces defined by the
boundaries.
2006-07-11 19:43:08 +00:00
Andrei Zmievski
dd9b227506 Make next() and previous() take optional step parameter and optimize
return value usage.
2006-07-11 17:59:46 +00:00
Andrei Zmievski
12615846a4 Implement getRuleStatus() and getRuleStatusArray() as well as related
constants.
2006-07-11 17:48:14 +00:00
Antony Dovgal
84c2620ab0 fix typo
add test with error messages
2006-07-11 16:32:47 +00:00
Andrei Zmievski
4187b2e1a5 Use object flags. 2006-07-11 16:20:21 +00:00
Dmitry Stogov
1e0999fd46 Nuke signed/unsigned compiler warnings 2006-07-11 14:36:05 +00:00
Dmitry Stogov
c429225904 Nuke signed/unsigned compiler warnings 2006-07-11 14:24:39 +00:00
Antony Dovgal
c68b28f250 fix segfault in jfmonthname(), add test
fix tests (I don't have /home/hartmut here =))
2006-07-11 14:15:38 +00:00
Antony Dovgal
af234920c6 MFB: eliminate compile warnings 2006-07-11 12:37:26 +00:00