Commit Graph

5542 Commits

Author SHA1 Message Date
Antony Dovgal
53d94a9821 fix wrong function prototype (see bug #39260) 2006-10-26 09:28:44 +00:00
aca45de82a ChangeLog update 2006-10-25 01:31:04 +00:00
Andrei Zmievski
fbc37c81af Fix key length calculation. 2006-10-24 15:35:16 +00:00
Antony Dovgal
d5fbdc689a fix add_u_assoc_null() macro 2006-10-24 12:46:33 +00:00
8878fefeb6 ChangeLog update 2006-10-21 01:31:08 +00:00
Antony Dovgal
4a98596c90 rename REAL_KEY_SIZE() to USTR_BYTES() and move to zend_unicode.h
this macro is going to be actively used in Unicode version of OCI8 (and other extensions, probably)
2006-10-20 10:33:31 +00:00
b59fcf6572 ChangeLog update 2006-10-20 01:31:17 +00:00
Andrei Zmievski
ac73b4a6e5 Fix potential (and real) leaks due to bad macro writing. Grrr. 2006-10-19 20:54:48 +00:00
Andrei Zmievski
9d4d53515d Fix possible double macro expansion. 2006-10-19 18:27:35 +00:00
Antony Dovgal
15e479e892 fix invalid write 2006-10-19 10:02:34 +00:00
8c5bdbf452 ChangeLog update 2006-10-19 01:31:08 +00:00
Johannes Schlüter
38ea123751 - added missing return... 2006-10-18 17:03:26 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
a980840bb3 ChangeLog update 2006-10-18 01:31:14 +00:00
Andrei Zmievski
1e1f3efb02 Fix thread safety. 2006-10-17 22:15:19 +00:00
Andrei Zmievski
2602e49e65 Implement add_utf8_property_* API. 2006-10-17 17:56:42 +00:00
Dmitry Stogov
de613c8a1b Fixed incorrect parameter name coping 2006-10-17 10:43:37 +00:00
8a73fc9a3c ChangeLog update 2006-10-17 01:31:08 +00:00
Andrei Zmievski
6d38ea2988 Optimize ZEND_U_CASE_EQUAL() and move it to the header file. 2006-10-16 21:13:13 +00:00
Dmitry Stogov
0d7d1b7ffa Fixed bug #39140 (Uncaught exception may cause crash) 2006-10-16 11:13:20 +00:00
f1de0199c3 ChangeLog update 2006-10-14 01:31:14 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
ba13b636e3 ChangeLog update 2006-10-13 01:30:58 +00:00
Dmitry Stogov
b907cd59d5 Make zend_memory_peak_usage() to be avalable even without --enable-memory-limit 2006-10-12 06:47:04 +00:00
3df7420fed ChangeLog update 2006-10-12 01:32:24 +00:00
Andrei Zmievski
97d0372249 Extend zend_fcall_info_args functions. (Patch from Mike Wallner) 2006-10-11 18:37:31 +00:00
Antony Dovgal
104c828662 initialize variable 2006-10-11 16:11:40 +00:00
f9a96f8ce9 ChangeLog update 2006-10-08 01:30:55 +00:00
Andrei Zmievski
d86524570f Hash functions for UTF-8 keys. 2006-10-07 17:34:19 +00:00
788f95587c ChangeLog update 2006-10-07 01:30:59 +00:00
Andrei Zmievski
f47955c66f Patch from Matt W to fix the case of hitting ERANGE too early. 2006-10-06 17:23:05 +00:00
Andrei Zmievski
706d7a3b55 Unicode string support for extension_loaded(). 2006-10-06 17:11:17 +00:00
Andrei Zmievski
de082072cf Unicode string support in get_extension_funcs(). 2006-10-06 17:05:22 +00:00
841a736681 ChangeLog update 2006-10-06 01:32:17 +00:00
Sara Golemon
64806e499e Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts() 2006-10-05 23:24:55 +00:00
Andrei Zmievski
32a2f348af This might not be necessary if we clean it all up ourselves. 2006-10-05 22:45:34 +00:00
Dmitry Stogov
301efee1cf Allow future extensibility without binary compatibility break 2006-10-05 08:09:12 +00:00
254e6a38eb ChangeLog update 2006-10-05 01:30:55 +00:00
Antony Dovgal
5ce3a350e4 add test for #39036 (reproducible with 5.1.6, but works fine in 5.2 and HEAD) 2006-10-04 13:35:31 +00:00
740309a54c ChangeLog update 2006-10-04 01:30:52 +00:00
Antony Dovgal
55de312ce2 throw a warning when doing modulus by 0 (fr #39027) 2006-10-03 17:54:32 +00:00
Sara Golemon
d666c05427 PHP6 Update for get_included_files() and export of path decode for Zend 2006-10-03 16:28:02 +00:00
Dmitry Stogov
e8ddcf1077 Speedup array/HashTable copying. (Matt W) 2006-10-03 11:10:54 +00:00
Dmitry Stogov
ea1cd51094 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:35 +00:00
Dmitry Stogov
aaed3f9fcb Fixed memory leak (Nuno) 2006-10-03 07:31:10 +00:00
c88c6deeee ChangeLog update 2006-10-03 01:30:52 +00:00
Antony Dovgal
36b78b78a4 fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:05:02 +00:00
365be9cd62 ChangeLog update 2006-10-01 01:30:51 +00:00
Ilia Alshanetsky
13a9ddb973 MFB: Added safety checks against integer overflow. 2006-09-30 17:17:31 +00:00
6084ba053b ChangeLog update 2006-09-30 01:31:05 +00:00
Andrei Zmievski
966d8022b9 Fix off-by-one error. 2006-09-29 20:59:26 +00:00
9ae218ef45 ChangeLog update 2006-09-29 01:30:57 +00:00
Antony Dovgal
e6ebe4dab3 new tests 2006-09-28 12:08:44 +00:00
Antony Dovgal
766c159460 add new tests 2006-09-28 11:45:55 +00:00
Dmitry Stogov
d746725744 Fixed wrong return value 2006-09-28 07:16:59 +00:00
e19c133571 ChangeLog update 2006-09-28 01:30:58 +00:00
Antony Dovgal
3408bafa32 use if() instead of ?: and avoid possible optimization problems 2006-09-27 15:40:09 +00:00
9a6366309c ChangeLog update 2006-09-27 01:30:54 +00:00
Dmitry Stogov
798d93c4da Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:31:04 +00:00
Dmitry Stogov
59d0c16391 Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:54 +00:00
18e28ba12f ChangeLog update 2006-09-22 01:30:55 +00:00
Sara Golemon
3b24a795a6 Add missing function protos 2006-09-21 23:58:06 +00:00
036403114e ChangeLog update 2006-09-21 01:30:59 +00:00
Andrei Zmievski
7ff8b9b090 Bug fixes for substr_replace(). 2006-09-20 20:30:19 +00:00
f717a00c7b ChangeLog update 2006-09-20 01:31:03 +00:00
Dmitry Stogov
7aeb4421b7 Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks) 2006-09-19 21:36:00 +00:00
Andrei Zmievski
1efe216585 Use internal converter name to speed up instantiation. 2006-09-19 20:44:37 +00:00
Sara Golemon
3f56da6eba Add INI controlled default stream encoding (unicode.stream_encoding).
Add convenience function stream_defualt_encoding() for setting it.
2006-09-19 20:36:48 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Dmitry Stogov
c0dbffaa3c Forgotten part of patch (Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT) 2006-09-19 07:40:38 +00:00
Dmitry Stogov
70ad4607d7 ZTS fix 2006-09-19 07:39:25 +00:00
b874530ad3 ChangeLog update 2006-09-19 01:30:58 +00:00
Andrei Zmievski
81b83f327b More work on Unicode support in PCRE. When UG(unicode) is on, all
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Dmitry Stogov
9d55b3d3fc Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry) 2006-09-18 14:35:37 +00:00
Dmitry Stogov
5bda51a5c0 Fixed non-specialized executor 2006-09-18 12:03:21 +00:00
0ca3729f73 ChangeLog update 2006-09-15 01:30:55 +00:00
Dmitry Stogov
5adb0b309f Reinamed variables to avoid name conflicts 2006-09-14 10:32:57 +00:00
Dmitry Stogov
a9f035d5c1 *** empty log message *** 2006-09-14 09:59:23 +00:00
Dmitry Stogov
1f12ada0f7 Added is_zend_mm() to allow runtime check for zend memory manager 2006-09-14 08:55:17 +00:00
e4086a79c3 ChangeLog update 2006-09-14 01:30:53 +00:00
Antony Dovgal
eec02cb1be fix tests 2006-09-13 14:00:44 +00:00
80460edba1 ChangeLog update 2006-09-13 01:30:57 +00:00
Dmitry Stogov
5574651edb Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts) 2006-09-12 11:01:31 +00:00
424b469b8f ChangeLog update 2006-09-12 01:31:11 +00:00
Dmitry Stogov
9b222e6f07 fix 2006-09-11 17:18:47 +00:00
Andrei Zmievski
21bc25e025 Add a couple more UTF-8 functions. 2006-09-11 16:32:02 +00:00
Antony Dovgal
398a45429e fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) 2006-09-11 14:28:19 +00:00
Antony Dovgal
50222ced54 fix tests 2006-09-11 14:27:25 +00:00
Antony Dovgal
3aeebd120f add tests 2006-09-11 14:13:05 +00:00
Antony Dovgal
6c0d0217ca fix test 2006-09-11 08:10:03 +00:00
aee2284473 ChangeLog update 2006-09-09 01:31:01 +00:00
Andrei Zmievski
82ace06252 convert_to_string_with_converter_ex() 2006-09-08 17:19:42 +00:00
c20aae3e5d ChangeLog update 2006-09-07 01:30:54 +00:00
Dmitry Stogov
97fdcf0f3b Fixed php_admin* bypass by ini_restore() 2006-09-06 08:54:57 +00:00
Dmitry Stogov
2ea26c6570 Reverted last Ilia's patch (for #38579).
The patch didn't fix the bug and made new one.
2006-09-06 06:51:05 +00:00
1b7eded7ab ChangeLog update 2006-09-06 01:30:56 +00:00
Ilia Alshanetsky
2f0d258606 MFB: Fixed bug #38579 require_once/include_once optimization causes files
to be loaded multiple times.
2006-09-05 15:52:42 +00:00
146e04696c ChangeLog update 2006-09-05 01:30:56 +00:00
Dmitry Stogov
72594b81b8 Removed unreachable handlers 2006-09-04 13:59:07 +00:00
a49d277977 ChangeLog update 2006-09-01 01:30:54 +00:00