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
Dmitry Stogov
447cc0eb15
Show name of storage layer in case of initialization fault
2006-08-31 13:00:12 +00:00
73fbbb48ec
ChangeLog update
2006-08-31 01:30:59 +00:00
Antony Dovgal
cb415ed1bf
s/pinter/pointer/
2006-08-30 22:29:17 +00:00
Antony Dovgal
d65b68d09f
fix minor issue in autoload with unicode enabled
2006-08-30 12:32:20 +00:00
Antony Dovgal
33ad684e86
fix off-by-one in zend_fetch_dimension_address_inner()
2006-08-30 09:58:10 +00:00
7a3c936490
ChangeLog update
2006-08-30 01:30:51 +00:00
Antony Dovgal
be3e5292cd
fix compile warning
2006-08-29 22:01:20 +00:00
939f60c618
ChangeLog update
2006-08-29 01:30:55 +00:00
Andrei Zmievski
11ca9006a2
Add APIs for UTF-8 strings (common with XML, PCRE, etc)
2006-08-28 17:14:49 +00:00
Antony Dovgal
dd9165d60a
fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method)
2006-08-28 10:25:49 +00:00
b823e3882f
ChangeLog update
2006-08-26 01:31:05 +00:00
Andrei Zmievski
dd2e2abc9c
Fix some API definitions.
2006-08-25 20:47:23 +00:00
e84d563306
ChangeLog update
2006-08-25 01:30:59 +00:00
Dmitry Stogov
6832a53898
Fixed bug #38315 (Constructing in the destructor causes weird behaviour)
2006-08-24 09:42:51 +00:00
2d8596e593
ChangeLog update
2006-08-24 01:30:51 +00:00
Dmitry Stogov
aaa3ecee8a
Fixed bug #38265 (heap corruption)
2006-08-23 13:01:04 +00:00
790050b6d7
ChangeLog update
2006-08-23 01:30:59 +00:00
Dmitry Stogov
b590503bdf
Fixed "win32" storage manager
2006-08-22 05:54:35 +00:00
91da517692
ChangeLog update
2006-08-20 01:31:00 +00:00
c3d1deca0b
ChangeLog update
2006-08-16 01:30:56 +00:00
Antony Dovgal
9ea866fab4
apply more correct fix for bug #38461
2006-08-15 20:30:26 +00:00
Antony Dovgal
e17c15ba03
fix #38461 (setting private attribute with __set() produces segfault)
2006-08-15 13:19:00 +00:00
Antony Dovgal
946a29753c
add test
2006-08-15 08:58:24 +00:00
57aa016750
ChangeLog update
2006-08-15 01:30:54 +00:00
Andrei Zmievski
df345b9e33
Remove UTODO's -- this is handled during name mangling/unmangling.
2006-08-14 21:09:30 +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
66fc339e97
ChangeLog update
2006-08-11 01:30:59 +00:00
f45563fc01
ChangeLog update
2006-08-10 01:30:56 +00:00
Andrei Zmievski
a90da20623
Make params API sound less like Raymond Babbitt.
2006-08-09 17:37:29 +00:00
f16344fd49
ChangeLog update
2006-08-09 01:30:57 +00:00
Andrei Zmievski
9320e167f2
Adjust zend_get_unified_string_type() to give correct types.
2006-08-08 17:36:55 +00:00
Andrei Zmievski
520655608a
Should be slightly faster to use U16_NEXT here.
2006-08-08 17:36:20 +00:00
Antony Dovgal
f5715ee86f
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #1 (of 2)
2006-08-08 16:58:06 +00:00
Antony Dovgal
7010fd0005
there is no realiable way to detect memrchr() presence because of a mess in glibc
...
so let's use our own implementation
2006-08-08 10:53:06 +00:00
Antony Dovgal
c022ca263b
%s -> %v
...
ce names are in Unicode
2006-08-08 10:10:26 +00:00
Antony Dovgal
a3c3b91b33
add zend_memrchr()
2006-08-08 09:40:50 +00:00
eba1941974
ChangeLog update
2006-08-08 01:30:51 +00:00
Marcus Boerger
2916886523
- Speling
2006-08-08 00:36:19 +00:00
Marcus Boerger
5e9acea82e
- Fixed Bug #38064 ignored constructor visibility
2006-08-07 23:16:20 +00:00
Dmitry Stogov
c021824fc1
Fixed bug #38287 (static variables mess up global vars)
2006-08-07 15:15:36 +00:00
53d345a347
ChangeLog update
2006-08-05 01:31:02 +00:00
Andrei Zmievski
dda059708f
Add add_assoc_zstr_ex() and related.
2006-08-04 21:05:59 +00:00
Andrei Zmievski
cb15b7d5ae
Add macros to be able to initialize/return values based on zstr.
2006-08-04 18:08:31 +00:00
Andrei Zmievski
aa398bf8ce
One fewer walks needed.
2006-08-04 18:02:20 +00:00
Andrei Zmievski
2bfe0a8cbd
Scan through all the modifiers at once, setting flags.
2006-08-04 17:02:17 +00:00
Andrei Zmievski
fd39d28d17
Fix '&' handling. (patch by Rob R)
2006-08-04 16:58:29 +00:00
Derick Rethans
b2d717667b
- MFB: Bison 2.3 is working as well.
2006-08-04 06:49:28 +00:00
f98ae45bb3
ChangeLog update
2006-08-04 01:30:52 +00:00
Antony Dovgal
9625469a44
make it consistent
2006-08-03 10:57:13 +00:00
Antony Dovgal
60feb94bf6
improve error message
2006-08-03 10:52:15 +00:00
b1dd60af02
ChangeLog update
2006-08-03 01:30:51 +00:00
Andrei Zmievski
f34e1baa9f
Make string comparison functions conver to unicode or printable strings
...
depending on unicode.semantics and do the right thing.
2006-08-02 20:31:40 +00:00
Andrei Zmievski
433c40c3d2
Add '&' modifier (for 's' type) that will apply the specified converter
...
during conversion of Unicode strings.
2006-08-02 17:36:28 +00:00
d85822062a
ChangeLog update
2006-08-02 01:30:59 +00:00
Andrei Zmievski
974f55ace3
Fix off-by-one error in zend_case_fold_string().
2006-08-01 21:49:57 +00:00
Andrei Zmievski
8a32effd2c
Rewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to
...
use custom functions instead of u_sprintf() which is terribly slow at
the moment (for numbers). Now long-to-unicode is only 8% slower than
long-to-binary and double-to-unicode is actually 6% faster.
2006-08-01 17:47:24 +00:00
6320d6329b
ChangeLog update
2006-07-28 01:30:51 +00:00
Dmitry Stogov
1e71620e8f
Fixed bug #38234 (Exception in __clone makes memory leak)
2006-07-27 10:44:19 +00:00
Dmitry Stogov
3f51a6970d
Fixed mess with semantic of zend_normalize_identifier()'s return value (SUCCESS != 1)
2006-07-27 09:33:44 +00:00
Dmitry Stogov
0eb0282912
Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler)
2006-07-27 08:20:52 +00:00
feaeb45937
ChangeLog update
2006-07-27 01:30:50 +00:00
Dmitry Stogov
1ab16de084
Fixed bug #38220 (Crash on some object operations)
2006-07-26 15:29:39 +00:00
Dmitry Stogov
b9915a9264
Fixed bug #38211 (variable name and cookie name match breaks script execution)
2006-07-26 09:24:50 +00:00
Dmitry Stogov
e8a718a5c0
Fixed crash of DEBUG version on SPARC CPU because of unaligned pointers.
2006-07-26 08:08:31 +00:00
e18934cdd4
ChangeLog update
2006-07-26 01:30:56 +00:00
Dmitry Stogov
61d39cf1c1
Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
2006-07-25 13:41:08 +00:00
Derick Rethans
0d1957e7dc
- MFB: Fixed typo
2006-07-25 06:50:26 +00:00
3d9f3f6221
ChangeLog update
2006-07-25 01:30:56 +00:00
Marcus Boerger
058bdbf708
- Fix off by one copy'n'paste error
2006-07-25 00:01:40 +00:00
Marcus Boerger
48b438f898
- Yet another rproblematic case with mangled properties
2006-07-24 22:34:44 +00:00
Marcus Boerger
617a18fc40
- Fix for #34505 and repated (improved version of what is in 5.2, 5.1)
2006-07-24 17:51:41 +00:00
Dmitry Stogov
a1c0009d14
Fixed memory leaks detection
2006-07-24 08:15:42 +00:00
Dmitry Stogov
a6b67676e0
Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context)
2006-07-24 07:44:06 +00:00
76e91003bf
ChangeLog update
2006-07-23 01:30:49 +00:00
foobar
bca80ac698
- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo)
2006-07-22 15:39:22 +00:00
458c7f170c
ChangeLog update
2006-07-22 01:30:53 +00:00
Andrei Zmievski
8ee838b4ec
It's not legacy - it's binary.
2006-07-21 23:37:15 +00:00
Dmitry Stogov
a7cfcd6b35
MTH: Fixed bug #37144 (PHP craches trying to assign into property of dead object)
2006-07-21 11:13:24 +00:00
Dmitry Stogov
933e8c0be0
Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property.
2006-07-21 10:32:41 +00:00
Dmitry Stogov
881258ad6e
Fixed wrong "type" argument to read_property() handler
2006-07-21 08:39:43 +00:00
2e07bf1ce3
ChangeLog update
2006-07-21 01:30:51 +00:00
Marcus Boerger
8619c361cc
- Add new unicode functions: add_u_assoc_*[_ex]() which allow to add values
...
using a unicode key.
2006-07-20 21:16:08 +00:00
Andrei Zmievski
e9a9a26e7e
Rewrite array_map() to use params API with fci cache and mark it with U.
2006-07-20 20:54:23 +00:00