Commit Graph

445 Commits

Author SHA1 Message Date
Dmitry Stogov
51640ce6a4 optimization 2007-09-29 08:52:04 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
189ac4f201 Late Static Binding (Dmitry, Etienne Kneuss) 2007-09-26 07:16:33 +00:00
Antony Dovgal
e8a72ac5e1 prohibit arguments by ref in magic methods 2007-08-31 12:36:00 +00:00
Dmitry Stogov
c7d82c75c9 Added namespace related optimizations and comments 2007-08-20 09:48:41 +00:00
Sara Golemon
b1bc911cee Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc 2007-07-21 05:27:07 +00:00
Dmitry Stogov
5e21f121ec Fixed compilation on Windows 2007-07-14 08:51:17 +00:00
Sara Golemon
06bad726a2 Wrong function name in error message 2007-07-13 23:51:51 +00:00
Dmitry Stogov
1f413bbc37 Namespaces 2007-07-12 09:23:48 +00:00
Dmitry Stogov
34383f0bd0 Made uniform error reporting for unicode/non-unicode modes 2007-07-11 12:57:36 +00:00
Antony Dovgal
d547768308 fix folding and ws 2007-07-10 14:42:43 +00:00
Antony Dovgal
232eebb8f7 fix indentation and make Andrey happy =) 2007-07-06 12:17:51 +00:00
Antony Dovgal
eab558a79e fix #41517 (different behaviour of floatval() in Unicode mode) 2007-05-28 20:26:52 +00:00
Marcus Boerger
dc41d46e5b - Extensions are indexed lowercased and not case aware 2007-05-16 18:56:38 +00:00
Antony Dovgal
fcc82f1834 allow passing Unicode strings when a boolean is expected 2007-05-14 12:47:23 +00:00
Dmitry Stogov
9b6f46a86c Fixed wrong deallocation 2007-05-04 16:51:18 +00:00
Antony Dovgal
fe6fd4ed38 fix disabled classes 2007-05-04 12:17:30 +00:00
Johannes Schlüter
b9c840c58d - Fix "f" modifier for zend_parse_parameters_ex in case of a __call call
(fixes Zend/tests/bug19859.phpt and Zend/tests/bug34260.phpt)
2007-04-30 19:51:20 +00:00
Johannes Schlüter
3a89cfae67 - Fix zend_parse_parameters_ex() for format specifiers like "+f", like multiple
values followed by forced parameters. Fixes tests like
  ext/standard/tests/array/007.phpt and others
2007-04-16 18:50:05 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Marcus Boerger
10f0e0a5fa - Fix potential issue with 'f'-parameter parsing
- Complete zend_fcall_info_*() API
2007-02-08 14:33:16 +00:00
Marcus Boerger
70777b7df6 - More ZEND_API's 2007-02-08 12:29:57 +00:00
Andrei Zmievski
135c947f8d - Add ^ specifier that returns original string type before conversion.
- Add ZVAL_ENC_STRING[L] macro that allows returning either a binary
  string or an encoded strings as Unicode based on type, instead of
  UG(unicode)
2007-02-02 21:49:38 +00:00
Antony Dovgal
92bf7d9872 -exactly 1 arguments
+exactly 1 argument
2007-02-02 12:51:37 +00:00
Sara Golemon
7dcebde684 Add add_property_zstr(l)(_ex)() 2007-01-07 06:16:57 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
722ad46c38 fix leak in zend_disable_class() 2006-12-20 23:00:54 +00:00
Andrei Zmievski
de0f972b2b Check for conversion failure in "s&" and return appropriately. 2006-12-20 20:43:52 +00:00
Marcus Boerger
da3d27dc4e - Implement parameter parsing 'x' 2006-12-19 22:21:18 +00:00
Dmitry Stogov
bea2519575 Fixed buffer overflow. (Rob) 2006-12-01 14:57:44 +00:00
Antony Dovgal
0e647693df fix leak in zend_register_functions()
this is very odd, but Zend MM said nothing about it..
2006-11-20 22:08:27 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +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
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
Andrei Zmievski
97d0372249 Extend zend_fcall_info_args functions. (Patch from Mike Wallner) 2006-10-11 18:37:31 +00:00
Andrei Zmievski
d86524570f Hash functions for UTF-8 keys. 2006-10-07 17:34:19 +00:00
Dmitry Stogov
e8ddcf1077 Speedup array/HashTable copying. (Matt W) 2006-10-03 11:10:54 +00:00
Sara Golemon
3b24a795a6 Add missing function protos 2006-09-21 23:58:06 +00:00
Andrei Zmievski
7ff8b9b090 Bug fixes for substr_replace(). 2006-09-20 20:30:19 +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
70ad4607d7 ZTS fix 2006-09-19 07:39:25 +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
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
Andrei Zmievski
11ca9006a2 Add APIs for UTF-8 strings (common with XML, PCRE, etc) 2006-08-28 17:14:49 +00:00
Andrei Zmievski
2701f53af6 add_next_index_zstr[l]() 2006-08-14 21:05:22 +00:00
Andrei Zmievski
180e98f5cb Typo. 2006-08-14 20:45:32 +00:00
Andrei Zmievski
ea7ab72fe7 Set T_arg_type to default string type if we were not able to determine
it from the args.
2006-08-14 20:40:26 +00:00