Dmitry Stogov
7228f2307b
Fixed altering $this via argument named "this"
2007-05-02 13:22:15 +00:00
5dde5772ea
ChangeLog update
2007-05-01 01:31:03 +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
Antony Dovgal
bcfd4067b6
make concatenating two binary strings a special case
2007-04-30 15:59:12 +00:00
a225fc0472
ChangeLog update
2007-04-29 01:31:07 +00:00
Antony Dovgal
0e240e2df1
this case is handled in convert_to_unicode(), no need to duplicate it
2007-04-28 12:05:19 +00:00
Antony Dovgal
7b0e0787f8
convert non-strings to unicode in unicode mode
2007-04-28 12:04:43 +00:00
Antony Dovgal
ddd0dbd4ed
add new tests
2007-04-28 11:58:41 +00:00
5c10893641
ChangeLog update
2007-04-28 01:31:05 +00:00
Antony Dovgal
8c8f7708e9
add new tests
2007-04-27 21:32:40 +00:00
Antony Dovgal
35ba6cd0df
fix typo (Z_USTRVAL_P -> Z_USTRLEN_P) and CS
2007-04-27 21:27:14 +00:00
Antony Dovgal
0e5d853a8d
initialize retval_ptr_ptr before returning FAILURE
...
this fixes invalid read in #41209
2007-04-27 08:11:37 +00:00
c6f98e0722
ChangeLog update
2007-04-27 01:31:04 +00:00
Antony Dovgal
82e7dc3aeb
fix tests
2007-04-26 23:32:30 +00:00
Antony Dovgal
8d21a5a2f4
add Id tag
2007-04-26 23:13:16 +00:00
Antony Dovgal
5ff229034f
fix build on Tru64
2007-04-26 19:08:24 +00:00
Andrei Zmievski
d0ff39e936
Set CG(literal_type) for backticks.
2007-04-26 15:50:12 +00:00
Antony Dovgal
c393a42948
remove highlight.bg
2007-04-26 09:39:30 +00:00
4862f5645f
ChangeLog update
2007-04-24 01:31:13 +00:00
Dmitry Stogov
ff7d2b0327
WIN64 support
2007-04-23 10:21:24 +00:00
445d6d59a3
ChangeLog update
2007-04-23 01:31:03 +00:00
cfdfe29986
ChangeLog update
2007-04-21 01:31:05 +00:00
Antony Dovgal
8649923814
new test
2007-04-20 09:17:37 +00:00
Antony Dovgal
788f860a4b
this test is for 32bit
2007-04-20 07:55:14 +00:00
23baee870a
ChangeLog update
2007-04-20 01:31:04 +00:00
Andrei Zmievski
a5e6735c34
Use ZEND_U_CONVERTER().
2007-04-19 15:36:51 +00:00
Antony Dovgal
66be352817
fix #41118 (PHP does not handle overflow of octal integers)
...
MFB a small part of optimization patch applied only to 5_2
2007-04-19 11:24:48 +00:00
Antony Dovgal
a63ee1b323
fix & unify double-to-string conversion utils
2007-04-19 09:30:10 +00:00
61cb650b94
ChangeLog update
2007-04-18 01:31:12 +00:00
Dmitry Stogov
336af792ca
typo
2007-04-17 06:27:03 +00:00
1fe58463fa
ChangeLog update
2007-04-17 01:31:09 +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
a927b7b19f
ChangeLog update
2007-04-14 01:31:09 +00:00
Antony Dovgal
3002349e55
fix #41075 (memleak when creating default object caused exception)
2007-04-13 14:39:34 +00:00
Antony Dovgal
0c9da15a56
add UEXPECTF
2007-04-13 13:37:55 +00:00
Antony Dovgal
63c1e37f85
new test
2007-04-13 13:37:09 +00:00
a6986f2156
ChangeLog update
2007-04-12 01:31:02 +00:00
Antony Dovgal
8957f06763
MFB
2007-04-11 22:35:25 +00:00
747218ba7e
ChangeLog update
2007-04-11 01:31:05 +00:00
foobar
d34248e5f2
MFB:- Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt wont fail. (Integer overflow)
2007-04-10 10:57:54 +00:00
6259e449e1
ChangeLog update
2007-04-10 01:31:05 +00:00
Dmitry Stogov
91853fe83f
Fixed 64-bit support
2007-04-09 15:30:37 +00:00
Antony Dovgal
a083ad9257
new test
2007-04-09 07:29:12 +00:00
7e75dcbe5a
ChangeLog update
2007-04-07 01:31:01 +00:00
Marcus Boerger
4aa4a425b6
- Add a helper
2007-04-06 20:41:23 +00:00
858775b3b2
ChangeLog update
2007-04-06 01:31:05 +00:00
3aace23d89
ChangeLog update
2007-04-05 01:31:07 +00:00
01e1fa0495
ChangeLog update
2007-04-04 01:31:03 +00:00
Dmitry Stogov
1989ca7903
Removed undocumnted and incomplete support for strings in list() operator
2007-04-03 06:33:00 +00:00
1126c3509f
ChangeLog update
2007-03-26 01:31:00 +00:00
e0112970bd
ChangeLog update
2007-03-24 01:31:10 +00:00
Stanislav Malyshev
50312ac474
fix comment
2007-03-23 17:39:19 +00:00
Dmitry Stogov
a26ddf2573
Fixed bug #40899 (memory leak when nesting list())
2007-03-23 12:46:38 +00:00
Dmitry Stogov
23fc1f0e42
Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony)
2007-03-23 07:59:54 +00:00
f9fcda00af
ChangeLog update
2007-03-21 01:31:11 +00:00
Dmitry Stogov
3e7c4195e3
Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm.
2007-03-20 06:47:12 +00:00
648b67ce92
ChangeLog update
2007-03-20 01:31:05 +00:00
Antony Dovgal
3786394e29
add folding tags
2007-03-19 23:57:49 +00:00
Dmitry Stogov
6e96aba15b
Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()).
2007-03-19 18:36:49 +00:00
0069a2cd2e
ChangeLog update
2007-03-16 01:31:11 +00:00
Antony Dovgal
98c6f184b2
new test
2007-03-15 16:43:01 +00:00
Antony Dovgal
99def5cac2
reset the exception if it's still NULL
2007-03-15 16:42:51 +00:00
677bdadcdc
ChangeLog update
2007-03-15 01:31:11 +00:00
Antony Dovgal
e23af20804
fix #40800 (cannot disable memory_limit with -1)
2007-03-14 11:57:16 +00:00
e56edb3a03
ChangeLog update
2007-03-13 01:31:12 +00:00
Dmitry Stogov
5a4f3bcd37
Fixed bug #40770 (Apache child exits when PHP memory limit reached)
2007-03-12 17:00:07 +00:00
Antony Dovgal
43c8316d2d
fix #40784 (Case sensivity in constructor's fallback)
2007-03-12 13:07:39 +00:00
50489f7682
ChangeLog update
2007-03-09 01:31:03 +00:00
Stanislav Malyshev
d3b90533fc
MFB: fix crash on $x['x']['y'] += 1, patch by Brian Shire
2007-03-08 21:06:54 +00:00
Stanislav Malyshev
6bfcb2bdbd
MFB test
2007-03-08 21:05:17 +00:00
Marcus Boerger
80c2f1f92c
- Improved version of ternary shortcut
2007-03-08 17:30:28 +00:00
2e0903fe19
ChangeLog update
2007-03-08 01:31:10 +00:00
0c96c5035a
ChangeLog update
2007-03-07 01:31:05 +00:00
Antony Dovgal
a298ef786a
comment out unused function
...
need to figure out why and what for it has been added in the first place..
2007-03-06 21:07:52 +00:00
Antony Dovgal
def247344d
declare zend_mm_random() only when needed
2007-03-06 20:58:40 +00:00
Antony Dovgal
37797ff7bf
fix tests
2007-03-06 19:25:46 +00:00
3012291178
ChangeLog update
2007-03-05 01:31:05 +00:00
Marcus Boerger
b24f840411
- Implement '?:'
...
[DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as
exists in gcc and discussed some time back. Note that this is not
an implementation ifsetor($var, default). While ifsetor would not
generate any message for non existing variables or array indices
the ternary shortcut does. Also the ternary shortcut does a boolean
evaluation rather then checking for isset(). That way ther ternary
shortcut can work on any expression while ifsetor can only work on
variables. Also to be silent one has do do: "@$expr1 ?: $expr2".
2007-03-04 16:25:57 +00:00
2659e8b96b
ChangeLog update
2007-03-04 01:31:04 +00:00
Marcus Boerger
6b4a1666a0
- Catch empty class name error earlier
2007-03-03 13:46:19 +00:00
9afa8734a6
ChangeLog update
2007-02-27 01:31:12 +00:00
Antony Dovgal
6f3ddae770
nuke dead code
2007-02-26 21:53:48 +00:00
Antony Dovgal
8acf0fda22
MFB: use zend_spprintf()
2007-02-26 11:43:28 +00:00
2c2c548ce1
ChangeLog update
2007-02-26 01:31:05 +00:00
Dmitry Stogov
64dcd4af81
Fixed bug #40591 (list()="string"; gives invalid opcode)
2007-02-25 16:12:18 +00:00
c1f3732aab
ChangeLog update
2007-02-25 01:31:08 +00:00
Antony Dovgal
09f196f4b6
fix #40621 (Crash when constructor called inappropriately (statically))
2007-02-24 21:29:22 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
06cdbd0113
ChangeLog update
2007-02-22 01:31:01 +00:00
Dmitry Stogov
96511b3523
Special case for last iteration
2007-02-21 14:11:12 +00:00
4bb3b68b8a
ChangeLog update
2007-02-21 01:31:03 +00:00
Antony Dovgal
0ea9b84302
fix #40545 (multithreading issue in zend_strtod())
2007-02-20 12:00:41 +00:00
69c95f67cf
ChangeLog update
2007-02-20 01:31:05 +00:00
Antony Dovgal
d315853532
fix heap protection on SPARC, required by GCC4
...
patch by Dmitry
2007-02-19 18:29:20 +00:00
Antony Dovgal
876e8f2dae
fix test
...
stdout is closed in non-debug mode
2007-02-19 12:19:33 +00:00
2f1a7054c5
ChangeLog update
2007-02-17 01:31:03 +00:00
Antony Dovgal
e10a7a734e
typo in Dmitry's last name =)
2007-02-16 23:49:34 +00:00
Dmitry Stogov
d7df9badf6
Added runtime JIT auto-globals fetching and caching
2007-02-16 19:36:45 +00:00
Antony Dovgal
2099208dc8
fix build
2007-02-16 18:23:53 +00:00
Stanislav Malyshev
aa827cf2b9
add safe_realloc
2007-02-16 18:12:34 +00:00
Dmitry Stogov
a909db6d9c
Allow C++ extensions to use CG(), EG() ... (Caroline)
2007-02-16 08:54:45 +00:00
Dmitry Stogov
a6fa18ac7d
Fixed zend_llist_remove_tail (Michael Wallner)
2007-02-16 08:33:52 +00:00
d37f52174f
ChangeLog update
2007-02-16 01:31:09 +00:00
Dmitry Stogov
cb5ae2b82c
Fixed bug #40236 (php -a function allocation eats memory)
2007-02-15 10:42:52 +00:00
c345929860
ChangeLog update
2007-02-14 01:31:07 +00:00
Antony Dovgal
c212923e29
new/improved tests
2007-02-13 13:01:18 +00:00
7e36477e77
ChangeLog update
2007-02-09 01:31:10 +00:00
Marcus Boerger
bd7d5b527c
- No reason not to pass return_value_ptr for non return-by-reference functions
2007-02-08 14:47:32 +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
f709c26072
- Do not set is_ref/refcount for functions that return by reference
2007-02-08 12:30:40 +00:00
Marcus Boerger
70777b7df6
- More ZEND_API's
2007-02-08 12:29:57 +00:00
619c729ea8
ChangeLog update
2007-02-03 01:31:11 +00:00
Andrei Zmievski
696e85f062
Typos.
2007-02-02 22:18:55 +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
535e38a473
add new tests
2007-02-02 12:53:54 +00:00
Antony Dovgal
92bf7d9872
-exactly 1 arguments
...
+exactly 1 argument
2007-02-02 12:51:37 +00:00
Antony Dovgal
afe43f7794
add new tests
2007-02-02 11:10:42 +00:00
Antony Dovgal
ffa0edaee1
fix tests
2007-02-02 10:55:23 +00:00
Antony Dovgal
427f94a5d4
fix isset() & unset() with CV-superglobals
...
see #40311
2007-02-02 09:24:13 +00:00
85de060da2
ChangeLog update
2007-02-02 01:31:04 +00:00
Dmitry Stogov
f994b102c7
Removed dead code
2007-02-01 16:38:15 +00:00
Dmitry Stogov
5a695e9f32
Fixed possible crash because of dereference of NULL
2007-02-01 15:24:10 +00:00
Dmitry Stogov
09de519e79
Enable canary protection in DEBUG mode only.
2007-02-01 15:12:07 +00:00
78db3ccc1c
ChangeLog update
2007-01-30 01:31:01 +00:00
Ilia Alshanetsky
ce8285d289
Copyright update
2007-01-29 04:40:46 +00:00
0a1bb1064f
ChangeLog update
2007-01-23 01:31:13 +00:00
Antony Dovgal
e196cfe7db
fix test
...
array_unique() is not expected to modify its argument
2007-01-22 08:55:39 +00:00
64e7508aaa
ChangeLog update
2007-01-22 01:31:08 +00:00
62ee72b42b
ChangeLog update
2007-01-21 01:31:09 +00:00
Antony Dovgal
4c6ee6f1d9
catch overflow right away
2007-01-20 23:09:42 +00:00
Sara Golemon
57da96bb42
Resolve autoglobals as global-fetch CVs when possible
2007-01-20 20:36:55 +00:00
b4693e4bee
ChangeLog update
2007-01-20 01:31:05 +00:00
Marcus Boerger
06af520df7
- Add Z_OBJDEBUG[_P[P]] helper macros
2007-01-19 22:19:08 +00:00
0dcfb9c769
ChangeLog update
2007-01-19 01:31:01 +00:00
Marcus Boerger
13da6bf4d7
- Add debug_info helper to overloadedobjects
2007-01-18 23:23:13 +00:00
Antony Dovgal
93ecf75a1f
fix folding, mark functions as unicode safe
2007-01-18 12:13:05 +00:00
583d976691
ChangeLog update
2007-01-16 01:31:06 +00:00
Antony Dovgal
54cc687609
fix test
2007-01-15 10:31:04 +00:00
Dmitry Stogov
e5ea244b36
Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts)
2007-01-12 14:38:07 +00:00
2db8020bcb
ChangeLog update
2007-01-12 01:31:05 +00:00
Marcus Boerger
aa4cd53b7b
- Consistency: macros shall be uppercased (as requested by Andrei)
2007-01-11 22:55:33 +00:00
Marcus Boerger
cbcda92dc5
- MFB Missing part of __toString() support
2007-01-11 22:35:36 +00:00
Marcus Boerger
6a6d9da6ea
- Add zstrlen() helper
2007-01-11 21:32:57 +00:00
Dmitry Stogov
c849a54b02
Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss)
2007-01-11 16:47:46 +00:00
8713544381
ChangeLog update
2007-01-11 01:31:01 +00:00
Andrei Zmievski
1037e06dc8
Remove const warnings. (Andrey)
2007-01-10 16:47:41 +00:00
Dmitry Stogov
f6387758c6
- Fixed bug #35106 (nested foreach fails when array variable has a reference).
...
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:59:56 +00:00
58a751cc56
ChangeLog update
2007-01-10 01:31:05 +00:00
Andrei Zmievski
1c68a4cff7
Fix 'b' prefix in highlighting and tokenizer. (Matt W)
2007-01-09 17:39:59 +00:00
Dmitry Stogov
158ec65ba2
Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer)
2007-01-09 15:29:29 +00:00
Dmitry Stogov
a318af9992
Fixed bug #40002 (Try/Catch performs poorly)
2007-01-09 15:06:15 +00:00
Dmitry Stogov
9de739b847
Bump year.
2007-01-09 11:54:52 +00:00
8765d8553d
ChangeLog update
2007-01-09 01:31:08 +00:00
Andrei Zmievski
c1c23f8f42
Let caller issue error.
2007-01-08 18:01:16 +00:00
Andrei Zmievski
005a9909ae
Note.
2007-01-08 17:58:52 +00:00
79d92eaa2f
ChangeLog update
2007-01-08 01:31:08 +00:00
Sara Golemon
110a1b6788
Typo
2007-01-07 19:04:33 +00:00
Sara Golemon
7dcebde684
Add add_property_zstr(l)(_ex)()
2007-01-07 06:16:57 +00:00
Sara Golemon
d3149fbda4
Add pestrndup()
2007-01-07 06:16:10 +00:00
Sara Golemon
6f234cbf6f
Fix prior commit noticing this time that persistent allocators start with zend_*() and that one already exists
2007-01-07 05:45:07 +00:00
Sara Golemon
97ee887a13
Flesh out some missing API calls
2007-01-07 05:24:55 +00:00
3faf580a9a
ChangeLog update
2007-01-06 01:31:04 +00:00
Sara Golemon
b39fc244f0
Update create_function()
2007-01-05 19:00:36 +00:00
3d0d3ed316
ChangeLog update
2007-01-04 01:30:57 +00:00
Antony Dovgal
6dd26de0c9
more magic number fixes
2007-01-03 20:49:27 +00:00
1cb8989129
ChangeLog update
2007-01-02 01:31:02 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
011a8ac0e6
ChangeLog update
2006-12-31 01:30:58 +00:00
4a2fe2e564
ChangeLog update
2006-12-29 01:30:58 +00:00
Antony Dovgal
52d9ed7b34
nuke dead code
2006-12-28 21:01:52 +00:00
19fca9176f
ChangeLog update
2006-12-28 01:31:05 +00:00
Antony Dovgal
5204c96323
restore old behaviour when casting objects to strings and NULL
2006-12-27 17:22:22 +00:00
Antony Dovgal
da9f5e95bc
fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly
2006-12-27 16:50:05 +00:00
Antony Dovgal
b1ce8b0345
add zend_u_strtoul() and fix build
2006-12-27 15:23:45 +00:00
62a107ea55
ChangeLog update
2006-12-27 01:31:05 +00:00
Ilia Alshanetsky
2dbfe66e4a
MFB: safety checks
2006-12-26 17:40:20 +00:00
599b2e6d38
ChangeLog update
2006-12-26 01:31:04 +00:00
Dmitry Stogov
e88cc26864
Fixed bug #39825 (foreach produces memory error)
2006-12-25 19:23:18 +00:00
Dmitry Stogov
326fcd0261
Fixed bug #39944 (References broken)
2006-12-25 14:16:38 +00:00
Dmitry Stogov
cd07310423
Fixed possible size_t overflow
2006-12-25 12:16:49 +00:00
1a07d80f65
ChangeLog update
2006-12-24 01:31:04 +00:00
Antony Dovgal
6cbc9b0043
fix typo
2006-12-23 14:12:38 +00:00
4d5943ccb7
ChangeLog update
2006-12-23 01:30:59 +00:00
Andrei Zmievski
93b9c779f3
Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input,
...
since we cannot check for UG(unicodE) inside it.
2006-12-22 21:38:12 +00:00
9b8babbbd2
ChangeLog update
2006-12-22 01:31:06 +00:00
Marcus Boerger
9103d6b5fe
- Implement ezstrndup()
2006-12-22 00:56:59 +00:00
Marcus Boerger
7acd10fb2c
- Make custom serializing work with zstr (as discussed with andrei)
2006-12-22 00:29:11 +00:00
Marcus Boerger
bc1b8f0ab1
- Use conversion macro
2006-12-22 00:28:20 +00:00
Marcus Boerger
063fe11d25
-Serialization doesn't work with unicode data
2006-12-21 22:54:20 +00:00
Antony Dovgal
bfed0b6d94
fix possible leak
2006-12-21 11:07:41 +00:00
Ilia Alshanetsky
68181b4430
MFB: Fix a possible memory leak
2006-12-21 02:11:12 +00:00
Ilia Alshanetsky
113686caa4
MFB: Fixed possible memory leak
2006-12-21 01:58:46 +00:00
ee24e243f5
ChangeLog update
2006-12-21 01:31:02 +00:00
Antony Dovgal
53f30a15aa
make sure err_char is initialized properly
2006-12-21 00:25:16 +00:00
Antony Dovgal
120275b00e
fix possible leak on failure in get_defined_functions()
2006-12-20 23:19:44 +00:00
Antony Dovgal
722ad46c38
fix leak in zend_disable_class()
2006-12-20 23:00:54 +00:00
Marcus Boerger
71a73834f4
- Make shorter and do not use problematic attribute
2006-12-20 20:59:18 +00:00
Marcus Boerger
2f7e1b8ef3
- Compilers mightnot like the zstr return,thus return void*
2006-12-20 20:49:01 +00:00
Andrei Zmievski
de0f972b2b
Check for conversion failure in "s&" and return appropriately.
2006-12-20 20:43:52 +00:00