Commit Graph

5342 Commits

Author SHA1 Message Date
Marcus Boerger
2dc783ab36 - MFB missing initialization 2006-05-10 21:04:40 +00:00
2d509493f1 ChangeLog update 2006-05-10 05:31:56 +00:00
Marcus Boerger
6c0c9f098f - Methods have flags 2006-05-09 22:12:50 +00:00
Marcus Boerger
482d57d5a3 - zend_spprintf() is actually used elsewhere in the engine 2006-05-09 22:09:49 +00:00
Marcus Boerger
4bfc5ff54c - MFB WS/CS, zend_spprintf() must not be exported 2006-05-09 21:30:11 +00:00
Marcus Boerger
ef855827e3 - MFB Missing check 2006-05-09 21:28:47 +00:00
Marcus Boerger
0638c67dab - MFB: WS 2006-05-09 21:26:39 +00:00
111d608ff1 ChangeLog update 2006-05-06 05:31:52 +00:00
Dmitry Stogov
30ff22ca47 Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error). 2006-05-05 08:04:55 +00:00
90941d8111 ChangeLog update 2006-05-05 05:31:54 +00:00
Andrei Zmievski
88b15b79a2 Don't use fixed size buffer in zend_uchar_from_uname(); 2006-05-04 21:44:54 +00:00
Andrei Zmievski
d72d277d32 Oops again. 2006-05-04 21:29:21 +00:00
Andrei Zmievski
7009fb94fe Oops. 2006-05-04 21:23:53 +00:00
Andrei Zmievski
534cad7064 Add a global ASCII connverter, macros to return single codepoints
(UCHAR32), and zend_unicode_to_ascii() function.
2006-05-04 21:22:17 +00:00
d3ef3ced43 ChangeLog update 2006-05-03 05:31:53 +00:00
Dmitry Stogov
2b1e0a8339 Fixed possible crash in highlight_string() (proper place) 2006-05-02 15:49:44 +00:00
d936c5c091 ChangeLog update 2006-04-22 05:31:55 +00:00
Andrei Zmievski
fae915844b Happy, Pierre? 2006-04-21 16:58:14 +00:00
Andrei Zmievski
f096990ea0 Add:
* zend_objects_store_add_ref_by_handle()
 * zend_objects_store_del_ref_by_handle()
 * zend_objects_store_get_object_by_handle()
2006-04-21 16:36:38 +00:00
bb90b758f4 ChangeLog update 2006-04-21 05:31:54 +00:00
Andrei Zmievski
16c55fb25a Move to refcounted implementation of collators. 2006-04-20 21:56:43 +00:00
Dmitry Stogov
3788e9054a Test added 2006-04-20 07:32:17 +00:00
bcf5faf095 ChangeLog update 2006-04-20 05:31:50 +00:00
Dmitry Stogov
39a5677cf3 Fixed cleanup dependent on uninitialized value 2006-04-19 10:29:46 +00:00
6937e71720 ChangeLog update 2006-04-19 05:31:51 +00:00
Sara Golemon
c581700782 Fix ZTS build 2006-04-18 18:57:13 +00:00
Antony Dovgal
a264a5aca3 binary strings exist only in unicode mode 2006-04-18 17:10:30 +00:00
d10e03c482 ChangeLog update 2006-04-16 05:31:54 +00:00
Antony Dovgal
ca715a05e5 MF51: fix #37062 (compile failure on ARM architecture) 2006-04-15 12:54:26 +00:00
ffe27d2dbe ChangeLog update 2006-04-15 05:31:50 +00:00
Antony Dovgal
41f4e16075 make it consistent with the other ones 2006-04-14 21:06:36 +00:00
ef59df70a4 ChangeLog update 2006-04-14 05:31:53 +00:00
Dmitry Stogov
a2a69a3ba2 Fixed bug #36513 (comment will be outputed in last line) 2006-04-13 13:48:40 +00:00
Dmitry Stogov
0699fdfb4f Fixed test 2006-04-13 06:05:16 +00:00
f3514eae3b ChangeLog update 2006-04-13 05:31:51 +00:00
Dmitry Stogov
ec12098c3b Fixed bug #37046 (foreach breaks static scope) 2006-04-12 11:38:09 +00:00
Dmitry Stogov
1681bd494c Fixed bug #37002 (Have to quote literals in INI when concatenating with vars) 2006-04-12 09:52:06 +00:00
faa0b32fec ChangeLog update 2006-04-11 05:31:53 +00:00
Marcus Boerger
509c9d44e2 - Iterators from overloaded objects are allowed to not have keys... 2006-04-10 23:15:26 +00:00
Marcus Boerger
b967992116 - Allowing to pass in ce as NULL has its charme, too 2006-04-10 22:49:09 +00:00
Marcus Boerger
36b3b8ef63 - Fix coverity issue 49: ce might be forwarded as NULL without an exception
being thrown in case the Zend API is being used wrong (in custom exts for
  instance).
2006-04-10 22:37:55 +00:00
Dmitry Stogov
68dd370e96 Fixed possible crash in interactive mode 2006-04-10 12:27:17 +00:00
ca88b09b5e ChangeLog update 2006-04-08 05:31:55 +00:00
Dmitry Stogov
ee4fb4c41d - Fixed storing NULL pointers in HashTable
- Optimized zend_hash_reverse_apply()
2006-04-07 10:05:17 +00:00
14ba1088ad ChangeLog update 2006-04-07 05:31:53 +00:00
Andrei Zmievski
f37190dc57 MFB 2006-04-06 21:16:28 +00:00
Sara Golemon
5f5faedf18 Overload 'duplicate' arg as applied to:
add_((next_)?index|assoc)_(ascii|rt)_stringl?(_ex)?
and
(ZVAL|RETVAL|RETURN)_(ASCII|RT|U)_STRINGL?

#define ZSTR_DUPLICATE (1<<0)
#define ZSTR_AUTOFREE (1<<1)

Duplicate keeps traditional value of '1', additional bit '2' tells
unicode mode conversion to automatically free the original string
in order to avoid leaks due to conversion on a value otherwise being
"given" to the engine.

/* Uses s as-is for non-unicode, or frees s after converting to unicode */
{
  char *s = estrdup("Hello");
  ZVAL_RT_STRING(pzv, s, ZSTR_AUTOFREE);
}

/* Duplicates for non-unicode, or converts (but doesn't free original) */
{
  char *s = "Hello";
  ZVAL_RT_STRING(pzv, s, ZSTR_DUPLICATE);
}

/* Uses as-is for non-unicode, or converts (but doesn't free original) */
{
  char *s = "Hello";
  zval zv;
  ZVAL_RT_STRING(&zv, s, 0);

  /* use zv for some temporary purpose */

  /* It's now necessary to manually free this generated value */
  if (UG(unicode)) {
    zval_dtor(&zv);
  }
}
2006-04-06 18:02:39 +00:00
282807267d ChangeLog update 2006-04-06 05:31:50 +00:00
Antony Dovgal
3305bba32b MF51: fix #36944 (strncmp & strncasecmp do not return false on negative string length) 2006-04-05 11:36:28 +00:00
c3c95c61fb ChangeLog update 2006-04-01 06:31:49 +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
8eb12d6116 ChangeLog update 2006-03-31 06:31:50 +00:00
Antony Dovgal
eea22a0ffa MF51: fix compilation on AIX 2006-03-30 21:39:15 +00:00
Dmitry Stogov
01cb2b07ed Unicode support 2006-03-30 08:15:18 +00:00
66287d9fb6 ChangeLog update 2006-03-30 06:31:53 +00:00
Antony Dovgal
6a53a49c8b MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
39392cce19 ChangeLog update 2006-03-29 06:31:49 +00:00
Antony Dovgal
e98f9777db initialize bucket #0 with nulls 2006-03-28 21:58:21 +00:00
Antony Dovgal
f34d655334 MF51: fix #36897 (debug_print_backtrace() doesn't return void but array(0) {}) 2006-03-28 19:43:37 +00:00
25a73301a5 ChangeLog update 2006-03-28 06:31:49 +00:00
Andrei Zmievski
a65a781b16 Note 2006-03-28 06:30:47 +00:00
Antony Dovgal
31123e33b3 MF51: fix #36878 (error messages are printed even though an exception has been thrown) 2006-03-27 22:07:50 +00:00
Andrei Zmievski
978c58ad78 Add UTODO. 2006-03-27 19:15:58 +00:00
Andrei Zmievski
443f9d0844 Mark with UTODO instead of FIXME. 2006-03-27 17:34:06 +00:00
Dmitry Stogov
0e114d4295 Fixed test 2006-03-27 13:42:04 +00:00
Dmitry Stogov
ba72ff3fcc Fixed bug during function/class declaration in unicode mode 2006-03-27 09:44:03 +00:00
Dmitry Stogov
d7491a3e7e Fixed meory leak in case of unknown pragma 2006-03-27 08:09:08 +00:00
Dmitry Stogov
3cffaf78a3 Better but incomplete fix for bug #36840 2006-03-27 07:35:05 +00:00
03b5fefd39 ChangeLog update 2006-03-27 06:31:51 +00:00
Dmitry Stogov
bdfa3b1d36 Fixed ZTS build 2006-03-27 06:02:42 +00:00
Andrei Zmievski
c2bca6239d Fix a case where we could have an encoding conversion exception thrown
while building exception trace args!
2006-03-27 03:47:50 +00:00
Andrei Zmievski
90d03ff1e2 Use (unsigned char) to make sure that only the control chars are
replaced with '?';
2006-03-27 03:41:39 +00:00
Andrei Zmievski
19e6c92ad0 Skip BOM for UTF-16/32 converters when setting subst char. 2006-03-27 03:17:49 +00:00
Andrei Zmievski
29552a6472 Some functions may want to accept only Unicode or binary strings,
without having auto-conversion from the other string type. Add 'U' and
'S' specifiers for this. Also, remove traces of 'native' strings.
2006-03-27 02:52:06 +00:00
Andrei Zmievski
1709428494 Implement to-Unicode conversion error behavior. Note the adjusted APIs. 2006-03-26 06:19:24 +00:00
Andrei Zmievski
930bde5897 * Remove unicode.from_error_mode and unicode.from_subst_char from INI
settings.
* Add unicode_set_error_mode() and unicode_set_subst_char() functions to
  manipulate these global settings.
2006-03-26 01:48:33 +00:00
6702a305a2 ChangeLog update 2006-03-25 06:31:49 +00:00
Andrei Zmievski
de2f7f1d66 Hey! Don't remove vim modeline completely! :) 2006-03-24 16:45:18 +00:00
Antony Dovgal
792a2f6e65 whitespaces -> tabs
no other changes done
2006-03-24 10:25:50 +00:00
Dmitry Stogov
4767e90a47 Fixed bug #36840 (Memory leak if cast operator throws an exception that is caught) 2006-03-24 10:11:49 +00:00
Andrei Zmievski
51977c926c Support warning/exceptions flag for conversion errors. 2006-03-24 07:38:07 +00:00
6237738145 ChangeLog update 2006-03-24 06:31:51 +00:00
Andrei Zmievski
1c09ef8e37 Update conversion error behavior and add some new modes.
# The various escape modes are what ICU calls them. We may want to come
# up with different names for UNICODE/ICU/JAVA ones..
2006-03-23 22:00:42 +00:00
Andrei Zmievski
a27b78c2d2 Add (binary) cast operator. 2006-03-23 21:54:00 +00:00
Andrei Zmievski
b5221e4dd9 Allow conversion between binary/Unicode strings (based on
runtime_encoding setting).
2006-03-23 21:52:49 +00:00
Marcus Boerger
123df34265 - Initialize callable_name if requested 2006-03-23 13:09:28 +00:00
Antony Dovgal
88605a22ff implement correct fix for segfault on 64bit platform 2006-03-23 09:44:30 +00:00
cab8eea2f8 ChangeLog update 2006-03-23 06:31:57 +00:00
Antony Dovgal
763483d18b don't segfault on 64bit platforms 2006-03-22 19:36:10 +00:00
a6bcfeccf7 ChangeLog update 2006-03-21 06:31:49 +00:00
Dmitry Stogov
d2fd87526f Removed unreachable code 2006-03-20 15:12:54 +00:00
49f7b6605c ChangeLog update 2006-03-18 06:31:51 +00:00
Dmitry Stogov
51f7ee02c8 FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
EGV related code is commented.
2006-03-17 08:47:54 +00:00
Dmitry Stogov
53e1f2adfb Optimization of module unloading (temporary modules can be only in the end) 2006-03-17 08:34:34 +00:00
8ec6d16867 ChangeLog update 2006-03-17 06:31:49 +00:00
Dmitry Stogov
ea9b9502e9 typo 2006-03-16 15:42:54 +00:00
Dmitry Stogov
3510eda470 ws 2006-03-16 15:38:29 +00:00
Dmitry Stogov
89a1a4cbc4 Return "new" by reference now throws an E_STRICT error 2006-03-16 15:35:26 +00:00
Dmitry Stogov
dcd1ccd725 Added E_STRICT to E_ALL 2006-03-16 12:12:31 +00:00
Dmitry Stogov
9d7ca01c8b Dropped allow_call_time_pass_reference, the error is maden E_STRICT. 2006-03-16 11:32:00 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
a6ed0cb3e0 ChangeLog update 2006-03-16 06:31:47 +00:00
Dmitry Stogov
18d6d9d633 Fixed zend_u_strtod() that returned uninitialized value in case of empty string 2006-03-15 13:12:32 +00:00
Dmitry Stogov
d3e5691b41 Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) 2006-03-15 11:15:20 +00:00
Dmitry Stogov
d51599dfcd Eliminated run-time constant fetching for TRUE, FALSE and NULL 2006-03-15 09:04:48 +00:00
Dmitry Stogov
a623645b6f Fixed "zend_vm_gen.php --without-specializer" 2006-03-15 08:06:51 +00:00
d06e1f49b6 ChangeLog update 2006-03-15 06:31:57 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Dmitry Stogov
72acb65b24 zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros 2006-03-14 11:24:30 +00:00
Dmitry Stogov
b7933917f6 "jump" -> "goto" 2006-03-14 11:20:19 +00:00
79f91078ef ChangeLog update 2006-03-14 06:31:48 +00:00
Dmitry Stogov
78aed20223 Optimized cleanup loops on request shutdown 2006-03-13 11:13:55 +00:00
29bc693710 ChangeLog update 2006-03-13 06:31:48 +00:00
Ilia Alshanetsky
fe2842d21b MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".
2006-03-12 16:53:41 +00:00
e93bc50c22 ChangeLog update 2006-03-11 06:31:48 +00:00
Dmitry Stogov
bc9eaa011e Fixed compilation error (Rob) 2006-03-10 16:35:57 +00:00
Dmitry Stogov
f0b9848949 Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses 2006-03-10 16:35:21 +00:00
Dmitry Stogov
f8576f84dc Implemented "jump label" operator (limited "goto") 2006-03-10 08:29:43 +00:00
689eea9c3c ChangeLog update 2006-03-08 06:31:47 +00:00
Dmitry Stogov
432cae3222 Reverted "break label" 2006-03-07 08:43:21 +00:00
Andrei Zmievski
9840a792ee *** empty log message *** 2006-03-07 08:33:46 +00:00
Derick Rethans
6709a6bfc9 - Make this compile again 2006-03-07 07:58:56 +00:00
7453c27089 ChangeLog update 2006-03-07 06:31:50 +00:00
Andrei Zmievski
25d1f03526 Mark some functions as Unicode-safe and adjust UTODO notices for others. 2006-03-07 04:30:15 +00:00
Sara Golemon
cc523d42cb Remove register_globals regression test for Pierre 2006-03-07 00:26:27 +00:00
Dmitry Stogov
bc091138a5 fixed compatibility with ext/hash 2006-03-06 09:58:27 +00:00
1af22d5ab8 ChangeLog update 2006-03-06 06:31:47 +00:00
Marcus Boerger
24618f2b3b - Fix comment, too 2006-03-05 18:32:21 +00:00
Marcus Boerger
b0f461e9d9 - Fix Bug #34019 by popular demand: Implementing interface with a
__construct method strange behaviour
2006-03-05 18:23:56 +00:00
Marcus Boerger
fd2b76d505 - Add missing function for completeness 2006-03-05 16:09:45 +00:00
ae47c701b8 ChangeLog update 2006-03-05 06:31:46 +00:00
Johannes Schlüter
5575afef48 - Separate ZEND_METHOD from ZEND_FUNCTION 2006-03-04 14:37:50 +00:00
164ee5c2f4 ChangeLog update 2006-03-04 06:31:46 +00:00
Andrei Zmievski
ba0b3868ee Clean up after Marcus. 2006-03-03 23:23:17 +00:00
Marcus Boerger
03be54de37 - Make unicode handling portable (noted by andrei)
# Actually we should provide much more such unicode strings that we often
# use like 'parent', 'self' and so on.
2006-03-03 23:20:29 +00:00
Marcus Boerger
5d77a462f6 - As expected (but told otherwise) unicode strings indeed need to be
terminated by two \0.
2006-03-03 22:37:47 +00:00
Marcus Boerger
a9ea7e81c6 - Fix issue with uncaught exceptions in unicode mode 2006-03-03 21:58:56 +00:00
Marcus Boerger
4690c282a0 - Add new tests 2006-03-03 18:07:24 +00:00
Dmitry Stogov
dec6f749d9 Regenerated 2006-03-03 16:47:55 +00:00
Dmitry Stogov
2a2050d4e3 Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>". 2006-03-03 13:09:13 +00:00
Dmitry Stogov
bfe01c2c17 Fixed incorrect backtrace type ("::" instead of "->") for __set()/__get() 2006-03-03 12:06:44 +00:00
Dmitry Stogov
62de2d7366 Remove "called at [(null):0]" from debug backtrace 2006-03-03 10:09:35 +00:00
Johannes Schlüter
1ed7db0e3b - Fix typo 2006-03-03 09:56:47 +00:00
37a5ce2d51 ChangeLog update 2006-03-03 06:31:48 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
8f567a5abb ChangeLog update 2006-03-02 06:31:46 +00:00
Marcus Boerger
cd35eae1aa - Use object handler get in the same way as the rest of the engine does 2006-03-02 00:40:19 +00:00
Marcus Boerger
f1d02a87aa - Fix test 2006-03-01 17:20:28 +00:00
Marcus Boerger
9158218d3a - Must use return as in 5.1 after recursion 2006-03-01 16:18:35 +00:00
Marcus Boerger
bf086dff71 - Fix string conversion issues 2006-03-01 16:15:40 +00:00
Marcus Boerger
a3741cf6bc - Constants need to be updated too (when updating class constants) 2006-03-01 16:15:15 +00:00
Marcus Boerger
23a8100309 - Fix warning 2006-03-01 16:14:37 +00:00
3c01a9f641 ChangeLog update 2006-03-01 06:31:45 +00:00
Dmitry Stogov
3413d5df40 Fixed compilation on FreeBSD with gcc-3.2 2006-02-28 18:34:58 +00:00
232eace5c8 ChangeLog update 2006-02-28 06:31:47 +00:00
72345090e7 ChangeLog update 2006-02-27 06:32:01 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
25c8f09752 Unicode support 2006-02-26 07:23:33 +00:00
d952bfcc6a ChangeLog update 2006-02-26 06:31:46 +00:00
Marcus Boerger
44b0637bcd - Deprecation severity shall be E_STRICT (as commented by ilia)
# Actually this conforms with other messages
2006-02-25 17:43:12 +00:00
8299b9ea6f ChangeLog update 2006-02-25 06:31:48 +00:00
Marcus Boerger
8a4c8e8d47 - Add macros to mark functions/alias functions as deprecated
(mentioned by Sara and obviously neccessary)
- Fix function/method flag error detection logic
2006-02-24 13:29:54 +00:00
fea97047e9 ChangeLog update 2006-02-24 06:31:51 +00:00
Andrei Zmievski
7f5c395781 *** empty log message *** 2006-02-23 18:06:36 +00:00
Andrei Zmievski
ea1c076155 Fix a bug where the default value for function argument could be an
array with array (!) keys.
2006-02-23 18:06:04 +00:00
9ca3aa59e6 ChangeLog update 2006-02-23 06:32:01 +00:00
Dmitry Stogov
0342d9f519 Unicode support 2006-02-22 12:02:44 +00:00
Dmitry Stogov
3d0da6184a Unicode support: fixed __toString() in user defined exceptions 2006-02-22 11:38:32 +00:00
Dmitry Stogov
26ddcdb55d Unicode support 2006-02-22 11:37:11 +00:00
Dmitry Stogov
cbd40d1e5d Unicode support: fixed check for class type hint 2006-02-22 10:56:52 +00:00
Dmitry Stogov
1f4d9fa4a7 Unicode support: fixed internal constants usage and get_defined_constants() 2006-02-22 10:02:15 +00:00
Dmitry Stogov
28737451f2 Unicode support: fixed check for direct call to __clone() 2006-02-22 09:03:26 +00:00
Dmitry Stogov
19ebeed0d8 Unicode support: fixed call_user_func(array($this, "self::foo"))
Made check for "self/parent" before calling __autoload()
2006-02-22 08:54:02 +00:00
9f8de03dad ChangeLog update 2006-02-22 06:31:55 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d WS 2006-02-21 08:00:39 +00:00
7bc8d5227d ChangeLog update 2006-02-21 06:31:51 +00:00
Marcus Boerger
a27e272670 - Synch zend_call_function() with VM function call helper 2006-02-20 20:03:36 +00:00
Marcus Boerger
3b3e006e33 - Add deprecation flag and message 2006-02-20 20:00:46 +00:00
Dmitry Stogov
b424a32610 Preparation for portable string API (use macroses to access zval). 2006-02-20 19:03:43 +00:00
9926de1840 ChangeLog update 2006-02-20 06:31:57 +00:00
Marcus Boerger
ffd43034b0 - Interfaces may have static methods to enforce their existance in
implementing classes
2006-02-19 11:55:11 +00:00
Marcus Boerger
89f57ea951 - Static functions cannot be abstract 2006-02-19 11:42:30 +00:00
Marcus Boerger
5a4cfaf96a - Fix method flag handling 2006-02-19 10:39:48 +00:00
99b4f52353 ChangeLog update 2006-02-19 06:31:52 +00:00
Marcus Boerger
d73533a9d4 - There is no %v in sprintf 2006-02-18 19:33:26 +00:00
Marcus Boerger
bc994b981f - Fix integrated iterator index 2006-02-18 17:37:54 +00:00
Marcus Boerger
b60c8056b3 - Fix possible memory corruption/memleak issue with foreach and iterators
- Fix warnings
2006-02-18 17:36:41 +00:00
aa4cfd6d2f ChangeLog update 2006-02-15 06:31:54 +00:00
Antony Dovgal
09b16f0b58 MF51:
fix leak in zend_strtod() on big doubles
add new test
2006-02-14 22:11:36 +00:00
7ab93bee97 ChangeLog update 2006-02-14 06:31:50 +00:00
Dmitry Stogov
ece3854bf6 Typo (misplaced #endif) 2006-02-13 15:35:52 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Marcus Boerger
5a4b6845dc - Fix ini unicode_semantics (patch by Brion Vibber) 2006-02-13 09:23:13 +00:00
277789fb30 ChangeLog update 2006-02-10 06:31:48 +00:00
Andrei Zmievski
d4307e4494 We already have default collator available. 2006-02-09 23:23:02 +00:00
0916b5c607 ChangeLog update 2006-02-09 06:31:47 +00:00
Andrei Zmievski
d8db0d6a15 unicode_semantics cannot be set on per-request basis 2006-02-08 18:52:13 +00:00
72803507f1 ChangeLog update 2006-02-08 06:31:47 +00:00
d2148ac8e5 ChangeLog update 2006-02-07 06:31:46 +00:00
Andrei Zmievski
ef4c06c083 Check for get_properties handler before using it. (Patch from
rrichards@ctindustries.net).
2006-02-07 00:32:16 +00:00
Antony Dovgal
c888a7f8af init variables (continue making GCC happy) 2006-02-06 20:36:51 +00:00
Dmitry Stogov
47c90c571f Fixed bug #36303 (foreach on error_zval produces segfault) 2006-02-06 11:46:12 +00:00
98c15023eb ChangeLog update 2006-02-06 06:31:46 +00:00
Marcus Boerger
50b243babb - Missed one to be public 2006-02-06 01:58:45 +00:00
Marcus Boerger
1630242347 - The next get_iterator() call is supposed to do the check itself 2006-02-06 01:40:42 +00:00
Marcus Boerger
dcf5862221 - Make all default implementations public 2006-02-06 00:49:33 +00:00
Marcus Boerger
2fba438e06 - Need one more thing exported 2006-02-05 23:42:53 +00:00
Marcus Boerger
c8d78028b5 - Disallow foreach($v as &$ref) when $v is an object that implements
interface Iterator. The signature of Iterator::current() doesn't allow
  that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
  this comes with an API change but there is no easier way.
2006-02-05 23:26:55 +00:00
Andrei Zmievski
a6e8746bbe Needs to use .ustr. portion of the union for IS_UNICODE. 2006-02-05 20:54:11 +00:00
Marcus Boerger
44baf1f3ec - Initialize variable 2006-02-05 16:25:46 +00:00
Marcus Boerger
6bfa4b19e1 - Fix comparision where one argument is an object 2006-02-05 13:12:20 +00:00
b352adf0c5 ChangeLog update 2006-02-04 06:31:55 +00:00
Antony Dovgal
a1640d5ef9 duplicate string when needed 2006-02-03 13:24:26 +00:00
Dmitry Stogov
558e883302 Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:33:31 +00:00
b7b5b9fe79 ChangeLog update 2006-02-02 06:31:46 +00:00
Zeev Suraski
8a2a69ad0f Fix possibility of a wrong element being deleted by zend_hash_del() 2006-02-01 01:05:17 +00:00
efae4837cf ChangeLog update 2006-01-25 06:31:47 +00:00
Antony Dovgal
9c8bc2043c improve CS 2006-01-24 23:58:54 +00:00
Marcus Boerger
35e632257e - Add fast access to HashTable 2006-01-24 19:48:11 +00:00
3f5eb39f8c ChangeLog update 2006-01-23 06:31:56 +00:00
Marcus Boerger
b7d473ac00 - WS 2006-01-22 22:15:55 +00:00
Marcus Boerger
f4a0ce710e - Fix method invocation issues 2006-01-22 18:55:02 +00:00
9b674c8a79 ChangeLog update 2006-01-20 06:31:47 +00:00
Antony Dovgal
04ad1d1462 fix test 2006-01-19 21:27:15 +00:00
Dmitry Stogov
d90873d3ce Fixed bug #36071 (Engine Crash related with 'clone') 2006-01-19 07:26:58 +00:00
185dabe26b ChangeLog update 2006-01-19 06:31:47 +00:00
Antony Dovgal
79bebd9bf8 make sure ce_child is properly initialized 2006-01-18 21:06:18 +00:00
1105368b9c ChangeLog update 2006-01-18 06:31:47 +00:00
Antony Dovgal
b8dda54715 fix build 2006-01-17 22:13:39 +00:00
Ilia Alshanetsky
b0b79b138d MFB51: Fixed bug #36046 (parse_ini_file() miscounts lines in multi-line
values).
2006-01-17 19:56:41 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Dmitry Stogov
465b131c2f Fixed bug #36037 (heredoc adds extra line number) 2006-01-17 09:39:33 +00:00
b29d9dbc87 ChangeLog update 2006-01-17 06:31:48 +00:00
Dmitry Stogov
c93396ae1a Fixed bug #36006 (Problem with $this in __destruct()) 2006-01-16 10:12:54 +00:00
806c280d6d ChangeLog update 2006-01-15 06:31:47 +00:00
Marcus Boerger
584c0719e4 - Fix test 2006-01-14 15:55:10 +00:00
Marcus Boerger
2fe859febb - Fixed bug #36011 2006-01-14 15:22:19 +00:00
c043dd301c ChangeLog update 2006-01-08 06:31:44 +00:00
Marcus Boerger
ec20ba1a50 - MFB Second part of is_callable/call_user_func
- Clean a few warnings
2006-01-07 21:29:00 +00:00
Marcus Boerger
416d5f2c0c - MFB missing E_STRICT 2006-01-07 21:16:02 +00:00
Marcus Boerger
ddd5d80194 - MFB zend_is_callable() fixes
# Now to the missing part in zend_call_function()
2006-01-07 20:43:33 +00:00
5f99b7cb52 ChangeLog update 2006-01-07 06:31:44 +00:00
Antony Dovgal
9cd04b68d1 typo 2006-01-06 20:54:46 +00:00
bd53ba7cf9 ChangeLog update 2006-01-06 06:31:45 +00:00
bcb25bffec ChangeLog update 2006-01-05 06:31:47 +00:00
Andi Gutmans
a93ddab01e - More -> 2006 changes 2006-01-05 02:35:02 +00:00
Andi Gutmans
5de7cc3194 - Update copyright notices to 2006 2006-01-04 23:54:12 +00:00
c6a372dba2 ChangeLog update 2006-01-02 06:31:58 +00:00