Antony Dovgal
fc834fef2f
copy/paste typo
2005-10-20 16:46:44 +00:00
Dmitry Stogov
81b506bdd0
Removed unnecesary local variable
2005-10-20 11:31:59 +00:00
Dmitry Stogov
5372281b01
Fixed bug #34893 (PHP5.1 overloading, Cannot access private property)
2005-10-20 09:47:31 +00:00
Dmitry Stogov
0fe08e9b67
Fixed bug #34712 (zend.ze1_compatibility_mode = on segfault)
2005-10-20 08:56:02 +00:00
Dmitry Stogov
22130a2b74
Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects correctly)
2005-10-20 08:15:13 +00:00
Dmitry Stogov
2507a54429
Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting)
2005-10-20 07:23:58 +00:00
Dmitry Stogov
05975d1457
Added forgotten tests
2005-10-20 07:03:45 +00:00
1bc48cc521
ChangeLog update
2005-10-20 05:34:50 +00:00
Dmitry Stogov
9e9cee5c9d
Fixed test
2005-10-19 12:48:07 +00:00
8e86d3ce2b
ChangeLog update
2005-10-18 05:36:34 +00:00
Dmitry Stogov
bc446eec5b
Fixed bug #34873 (Segmentation Fault on foreach in object)
2005-10-17 08:01:07 +00:00
Derick Rethans
086875b107
- Make sure that typehints for classes can only accept "= NULL" as default
...
value.
2005-10-17 07:03:33 +00:00
60eff57dda
ChangeLog update
2005-10-17 05:45:46 +00:00
Marcus Boerger
c49a1999cb
- Add ability to access private properties of base classes
...
- Add ability to specify fully qualified name for properties
- ReflectionClass::getInterfaces89 now returns associative array
2005-10-16 16:13:55 +00:00
9ef2886e63
ChangeLog update
2005-10-16 05:47:08 +00:00
Derick Rethans
a1527fdaf3
- Changed type hints so that they take "= NULL" as default value.
2005-10-15 12:54:19 +00:00
7c1e029f34
ChangeLog update
2005-10-15 05:36:00 +00:00
Antony Dovgal
cc85fdf510
add test for bug #34873
2005-10-14 21:50:46 +00:00
b513f306d0
ChangeLog update
2005-10-14 05:45:27 +00:00
9e2fdf2af0
ChangeLog update
2005-10-13 05:40:53 +00:00
Dmitry Stogov
8ac7004ea7
Unicode support
2005-10-12 10:12:15 +00:00
bfee08f77f
ChangeLog update
2005-10-12 05:45:26 +00:00
Dmitry Stogov
5d4cd1a71a
Fixed compilation on Windows
2005-10-11 11:39:01 +00:00
2892b13bb9
ChangeLog update
2005-10-11 05:45:37 +00:00
Ilia Alshanetsky
f14cf0f7d8
Fixed bug #34802 (Fixed crash on object instantiation failure).
2005-10-10 14:30:05 +00:00
Dmitry Stogov
98294fbf3f
Fixed bug #34786 (2 @ results in change to error_reporting() to random value)
2005-10-10 10:54:45 +00:00
Dmitry Stogov
d3105c7ef6
MFH
2005-10-10 10:50:35 +00:00
Dmitry Stogov
9ac7051043
Fixed bug #34467 (foreach + __get + __set incosistency)
2005-10-10 09:50:20 +00:00
e63632d234
ChangeLog update
2005-10-10 05:36:24 +00:00
Marcus Boerger
d4190c0513
- Add 'overwrites' info to method dump
...
# Right now we have to compute that information because it is not available
2005-10-09 17:14:15 +00:00
204dfa9bad
ChangeLog update
2005-10-09 05:41:35 +00:00
Marcus Boerger
c188afdd03
- Add ReflectionMethod::getPrototype()
...
- Add some usefull information to the method dump
. From where it was inherited
. The prototype
2005-10-08 23:37:31 +00:00
5b7fee64f5
ChangeLog update
2005-10-08 05:34:18 +00:00
Dmitry Stogov
e9f91abfef
Fixed memory leak
2005-10-07 10:06:45 +00:00
cc29cff0fd
ChangeLog update
2005-10-07 05:40:21 +00:00
Marcus Boerger
7d2a02feb6
- BC: php objects convert to int/double 1 with notice
2005-10-06 19:11:01 +00:00
Marcus Boerger
86164a5b94
- Show the test finishes/dos2unix
2005-10-06 19:05:10 +00:00
Marcus Boerger
f78cdd9550
- Fix test
2005-10-06 19:02:20 +00:00
Marcus Boerger
cfed9e4e74
- Fix test
2005-10-06 19:01:40 +00:00
Marcus Boerger
df7f8a9df5
- Fix test
...
- Convert to unicode
2005-10-06 18:52:51 +00:00
Marcus Boerger
b9211d24e7
- Any php object converts to boolean as true
2005-10-06 18:46:01 +00:00
Dmitry Stogov
f27aedcce2
Cleanup
2005-10-06 08:18:20 +00:00
93dcfb79de
ChangeLog update
2005-10-06 05:34:43 +00:00
Marcus Boerger
7c083fcc07
- Have __toString() be called if available in all places an object is used
...
as a string.
#
# Note that "Object #<id>" is no longer afallback for debugging purpose use
# var_dump, which was made for debugging. If you used this to grab the id
# of an object you can never rely on this. For object storage look at SPL's
# ObjectStorage class.
#
# Note the signature change in the cast handler:
#
# int (*cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC);
# int (*cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
2005-10-05 19:02:27 +00:00
Marcus Boerger
12dbad3a5c
- Fix warnings
2005-10-05 18:57:40 +00:00
61bf77f29c
ChangeLog update
2005-10-04 05:38:47 +00:00
Marcus Boerger
6d703c5967
- In a conditional statement "a ? b ? c", a and b MUST have the same type
...
# We should make this an inline function to prevent unnecessary calls to
# get classentry or requir that class_entry must return a valid class_entry
# which we do iirc anyway.
2005-10-03 19:24:09 +00:00
Marcus Boerger
ebcafe58d3
- Fix ZTS Build
2005-10-03 19:13:13 +00:00
Marcus Boerger
4d09d0b819
- Allow uncached global functions too
2005-10-03 12:34:57 +00:00
Marcus Boerger
0d5550eb06
- Add propper casting
2005-10-03 12:14:47 +00:00
Marcus Boerger
59557385ac
- Make reflection class pointers available for others
2005-10-03 10:04:33 +00:00
Dmitry Stogov
cdb1746ac3
Fixed bug #34678 (__call(), is_callable() and static methods)
2005-10-03 09:10:28 +00:00
Dmitry Stogov
eedbae57ae
Fixed bug #34358 (Fatal error: Cannot re-assign $this)
2005-10-03 08:21:20 +00:00
c3948bf457
ChangeLog update
2005-10-03 05:36:27 +00:00
Andrei Zmievski
1454bdfea4
*** empty log message ***
2005-10-02 03:10:33 +00:00
21ac01fae2
ChangeLog update
2005-09-28 07:05:48 +00:00
Dmitry Stogov
a7c91fec3a
Fixed bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
2005-09-27 18:08:26 +00:00
Dmitry Stogov
f94344d7fd
Changed __toString() behavior to call it in all necessary places
2005-09-27 07:59:18 +00:00
1ccdcabf65
ChangeLog update
2005-09-24 05:35:43 +00:00
Marcus Boerger
6265c1623f
- Remove unused variable
2005-09-23 23:02:29 +00:00
Marcus Boerger
23d0387eae
- WS
2005-09-23 22:55:10 +00:00
Marcus Boerger
4a430a093a
- WS fix
2005-09-23 22:49:57 +00:00
Antony Dovgal
57c6acb932
fix test
2005-09-23 10:34:02 +00:00
Antony Dovgal
244563283a
fix tests to work with HEAD and its new E_* values
2005-09-23 10:28:23 +00:00
Antony Dovgal
76d773ae1d
remove double EXPECT tag
2005-09-23 09:39:59 +00:00
Antony Dovgal
520288bbe6
add new tests
2005-09-23 09:39:29 +00:00
Antony Dovgal
b97af6c1c0
MF5.1:
...
- store current value of error_reporting only if it's not stored yet
- reset old_error_reporting to NULL only it points to the tmp_var at current opline
2005-09-23 09:38:37 +00:00
Dmitry Stogov
14a0d82f42
MFH
2005-09-23 07:16:06 +00:00
3c581e752b
ChangeLog update
2005-09-23 05:33:26 +00:00
Antony Dovgal
57e146e652
bump API number
2005-09-22 19:13:52 +00:00
Antony Dovgal
78fe744753
fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
2005-09-22 19:03:04 +00:00
517a4152ce
ChangeLog update
2005-09-22 05:45:59 +00:00
Marcus Boerger
d376c1e4a5
- Fix Bug #34243 ReflectionClass::getDocComment() returns no result
2005-09-21 09:56:35 +00:00
Derick Rethans
c3c9df5ed6
- Moved the FREE_OP to after the execution of the included file, or eval
...
statement so that it is safe to access this information in the overridden
zend_execute() function, which is what Xdebug does.
2005-09-21 08:12:34 +00:00
51953f7bd1
ChangeLog update
2005-09-21 05:35:49 +00:00
ebc7bb3a00
ChangeLog update
2005-09-20 05:45:47 +00:00
Marcus Boerger
2c6cf58a96
- Add eytension consts to extension output (Johannes)
...
- Fix WS in output
2005-09-19 20:29:33 +00:00
Dmitry Stogov
b3ec0a78c9
MFH (removed unnecesary call to zval_ptr_dtor)
2005-09-19 17:50:11 +00:00
Dmitry Stogov
a106b48982
Fixed access to memory that is already freed (in case of __call() method)
2005-09-19 16:28:43 +00:00
Dmitry Stogov
9f9043864c
Fixed parameter passing incompatibilities.
...
Now it is possible to call array_pop(explode("&","1&2&3")) again.
2005-09-19 16:01:56 +00:00
Dmitry Stogov
4d8290d000
Unicode support
2005-09-19 07:23:47 +00:00
baf70abbf9
ChangeLog update
2005-09-19 05:45:53 +00:00
720fbd9a5f
ChangeLog update
2005-09-17 05:42:43 +00:00
Antony Dovgal
1b1c0e3c78
check class_entry of this_ptr in Reflection API, so we won't get an alien this_ptr
...
when called statically in a function that is called statically too (without being
declared as static)
2005-09-16 20:20:46 +00:00
Dmitry Stogov
213a1768a2
Fixed tests
2005-09-16 15:24:50 +00:00
Dmitry Stogov
a5c84dde62
MFH
2005-09-16 15:24:09 +00:00
Dmitry Stogov
af3476a982
Fixed bug #34518 (Unset doesn't separate container in CV)
2005-09-16 14:40:49 +00:00
Dmitry Stogov
3c76f253e8
MFH (overriding of protected static property)
2005-09-16 13:42:31 +00:00
0993ab6ad9
ChangeLog update
2005-09-16 05:40:54 +00:00
Derick Rethans
0f391bb0b3
- Add E_RECOVERABLE.
...
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
foobar
1a1f97ee7e
MFB
2005-09-15 13:20:24 +00:00
8d78d4cf18
ChangeLog update
2005-09-15 05:48:00 +00:00
Marcus Boerger
acae6a3810
- Improve error message
2005-09-14 18:21:11 +00:00
foobar
45e1606796
Silence some crap if bison does not exist
2005-09-14 15:52:49 +00:00
eb0fb96526
ChangeLog update
2005-09-14 05:40:11 +00:00
Andrei Zmievski
387e353009
Fix for Unicode access.
2005-09-13 21:04:07 +00:00
67739f4a64
ChangeLog update
2005-09-13 05:42:49 +00:00
Sara Golemon
87bcf776f7
Plug leak of 1/2 bytes when converting from string/unicode
2005-09-12 17:42:43 +00:00
Dmitry Stogov
0a54602089
Fixed bug #34199 (if($obj)/if(!$obj) inconsistency)
2005-09-12 11:48:28 +00:00
Derick Rethans
161777af26
- Reimplement SORT_LOCALE_STRING with ICU locales.
2005-09-12 09:53:23 +00:00
6bb7ca6c56
ChangeLog update
2005-09-10 05:40:02 +00:00
Dmitry Stogov
3c2e00f903
Fixed huge memory leaks in ZTS mode
2005-09-09 08:19:56 +00:00
Dmitry Stogov
ce0c17aa95
MFH (is_sublass_of("A","B") should call __autoload() for "A" and "B")
2005-09-09 06:47:18 +00:00
a7357c5910
ChangeLog update
2005-09-09 05:35:59 +00:00
Dmitry Stogov
0638374ec9
Avoid unnecessary copying/freeing
2005-09-08 16:15:16 +00:00
Dmitry Stogov
49c3b14f53
Unicode support for PHP constants
2005-09-08 11:10:34 +00:00
Dmitry Stogov
a082983adb
catch operator shouldn't call __autoload () too
2005-09-08 10:32:28 +00:00
1365bee427
ChangeLog update
2005-09-03 05:39:11 +00:00
foobar
3cfa505102
MFB: - Fixed bug #34307 . We were not calling on_modify handler to set the default
...
value in case setting the one from .ini file failed. (Andrei)
2005-09-02 21:08:11 +00:00
Dmitry Stogov
59d2e3f3aa
Fixed bug #34260 (Segfault with callbacks (array_map) + overloading)
2005-09-02 07:46:30 +00:00
df01d7678a
ChangeLog update
2005-09-02 05:33:21 +00:00
Dmitry Stogov
bd307bc0bd
Fixed bug #34137 (assigning array element by reference causes binary mess)
2005-09-01 13:21:04 +00:00
Dmitry Stogov
f61b9bac52
Fixed bug #34310 (foreach($arr as $c->d => $x) crashes)
2005-09-01 10:55:05 +00:00
Dmitry Stogov
7b7551085b
Support for class constants and static members for internal classes
2005-09-01 10:05:01 +00:00
525374ba69
ChangeLog update
2005-09-01 05:40:39 +00:00
foobar
847e50e560
Added test for bug #34310
2005-08-31 09:16:50 +00:00
4ae827de7f
ChangeLog update
2005-08-31 05:40:14 +00:00
Marcus Boerger
0165ab6251
- Adds module registering a function to struct zend_internal_function.
...
(Johannes)
# This information is by reflection API and error messages.
2005-08-30 18:27:17 +00:00
Marcus Boerger
650c3d2094
- Fix const speling (correct in branshes where did it vanish here)
2005-08-30 07:27:06 +00:00
Dmitry Stogov
93c08f1c8b
Fixed possible memory leak
2005-08-30 07:19:59 +00:00
Dmitry Stogov
c75b5a798f
Fixed unicode support bug
2005-08-30 07:19:05 +00:00
e5ec8d0c74
ChangeLog update
2005-08-30 05:42:02 +00:00
Marcus Boerger
51e3db28ea
- Fix #34299 : ReflectionClass::isInstantiable() returns true for abstract classes
2005-08-29 22:11:53 +00:00
300cb0ff89
ChangeLog update
2005-08-26 05:36:54 +00:00
Dmitry Stogov
fc03492c0b
Fixed memory leaks
2005-08-25 13:53:38 +00:00
Dmitry Stogov
b01df7d793
Fixed access to uninitialized variables
2005-08-25 07:56:15 +00:00
e992d178bc
ChangeLog update
2005-08-25 05:43:45 +00:00
Andrei Zmievski
d0d6a1f16f
- Require declare(encoding=...) to come before any opcodes. Read source
...
comments for more info.
- Op arrays now know which script encoding they were compiled from.
- Use this information to intelligently convert inline HTML blocks to
the output encoding. Currently it opens and closes a new converter for
each block, but we can optimize it.
2005-08-24 20:42:09 +00:00
Dmitry Stogov
5820ee959e
Fixed return-by-reference from internal functions
2005-08-24 10:41:51 +00:00
85989c29be
ChangeLog update
2005-08-24 05:33:46 +00:00
Andrei Zmievski
ec65bc1039
Implement Unicode support for strncasecmp().
2005-08-23 22:05:22 +00:00
Andrei Zmievski
291c282cce
Damn.
2005-08-23 21:08:35 +00:00
Andrei Zmievski
e3ec5efc5e
- Rewrite zend_u_binary_strncmp() to work on codepoint level. Calling
...
u_strCompare() doesn't help because it assumes that the input lengths
specify the number of UChar's.
- Change zend_u_binary_strcmp() to use u_strCompare() (and it's fine to
use it here, since we work with whole strings here).
2005-08-23 20:11:59 +00:00
Andrei Zmievski
df3a14953e
This was so embarassingly silly.
2005-08-23 16:37:24 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
Dmitry Stogov
f4b8f4e958
Unicode support cleanup
2005-08-23 09:33:46 +00:00
Dmitry Stogov
24743055a3
Changed is_a() and is_subcalls_of() functions to not call __autoload() (in the same way as "instanceof" operator).
2005-08-23 07:23:30 +00:00
Dmitry Stogov
cfe1dcb6e9
Unicode support for strncasecmp()
2005-08-23 06:51:11 +00:00
a02b4ebd63
ChangeLog update
2005-08-23 05:45:43 +00:00
Andrei Zmievski
26d10c5c76
Unicode support for strcasecmp().
2005-08-22 22:17:19 +00:00
Andrei Zmievski
ce0001996b
We should use u_memcpy() whenever possible, to simplify code.
2005-08-22 17:48:17 +00:00
Dmitry Stogov
6b622046dc
zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string).
2005-08-22 12:22:16 +00:00
Dmitry Stogov
6fad26469c
Fixed memory leak
2005-08-22 06:56:26 +00:00
056084632b
ChangeLog update
2005-08-20 05:39:48 +00:00
Andrei Zmievski
87f0bee331
Unicode support for strcmp()/strncmp().
2005-08-19 23:15:36 +00:00
Andrei Zmievski
da4721427a
*** empty log message ***
2005-08-19 22:33:39 +00:00
Dmitry Stogov
90393d675f
Unicode support
2005-08-19 13:20:16 +00:00
Dmitry Stogov
0475054c7c
Unicode support
2005-08-19 11:56:03 +00:00
Dmitry Stogov
b0e24970bb
Unicode support cleanup
2005-08-19 10:54:26 +00:00
Dmitry Stogov
d90d6c5d2b
nstanceof operator shouldn't call __autoload()
2005-08-19 08:11:16 +00:00
dec714885d
ChangeLog update
2005-08-19 05:37:01 +00:00
Andrei Zmievski
fe71ae29d9
- Implement zend_codepoint_to_uchar().
...
- Rename and fix zend_get_unified_string_type() so that it does not
allow mixing of binary and Unicode types.
2005-08-18 22:33:23 +00:00
Dmitry Stogov
8a749ee333
Suppoer for unicode exception messages
2005-08-18 15:42:46 +00:00
Dmitry Stogov
74dafa95d1
Unicode support for extract()
2005-08-18 15:14:08 +00:00
Antony Dovgal
e27521e578
fix memleak
2005-08-18 15:13:15 +00:00
Ilia Alshanetsky
6ebfbd15d5
Fixed bug #34156 (memory usage remains elevated after memory limit is reached)
2005-08-18 15:02:10 +00:00
foobar
45ed0b936b
- Removed EOL from error message
2005-08-18 12:34:13 +00:00
Dmitry Stogov
0f026c9fb7
Unicode support
2005-08-18 10:18:40 +00:00
Dmitry Stogov
1865a48752
*** empty log message ***
2005-08-18 07:34:49 +00:00
Dmitry Stogov
09a3c92df7
We don't need EMPY_STRING here. This function is execuited in non-unicode context only.
2005-08-18 06:33:44 +00:00
3d75fd980a
ChangeLog update
2005-08-18 05:51:13 +00:00
Marcus Boerger
26d72ec348
- Fix TSRM
2005-08-17 20:02:45 +00:00
Andrei Zmievski
042bb6a306
Disallow mixing binary and Unicode types when T specifiers are used.
2005-08-17 18:15:18 +00:00
Andrei Zmievski
3d8b32a0e3
- Introduce 'y' specifier for functions expecting binary data.
...
- convert_to_binary() now uses convert_to_string() in non-Unicode mode.
2005-08-17 17:30:02 +00:00
Dmitry Stogov
8c33fcf7ce
Unicode mode doesn't allow non-unicode properties
2005-08-17 17:07:52 +00:00
Andrei Zmievski
eee20001fd
Bump up Zend version to 3.0.0
...
# I think the changes made due to Unicode support justify it.
2005-08-17 16:43:11 +00:00
Dmitry Stogov
48def9a6ad
Unicode support
2005-08-17 13:10:04 +00:00
Dmitry Stogov
f4ea6b0656
Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)
2005-08-17 11:57:10 +00:00
Dmitry Stogov
9854402cb7
Unicode support
2005-08-17 10:24:38 +00:00
edb7d19f58
ChangeLog update
2005-08-17 05:32:47 +00:00
Andrei Zmievski
9bd026e6b4
Fix it here too
2005-08-16 18:21:04 +00:00
Andrei Zmievski
250726f95b
Z_UNI* are the right macros to use.
2005-08-16 18:10:40 +00:00
Dmitry Stogov
903406ef8f
Unicode support
2005-08-16 14:33:02 +00:00
Dmitry Stogov
8063984f4b
Fixed memory leak
2005-08-16 10:49:38 +00:00
c746cfb753
ChangeLog update
2005-08-16 05:37:39 +00:00
Dmitry Stogov
82a504721e
Unicode support
2005-08-15 16:13:02 +00:00
Dmitry Stogov
e47587e189
Fixed several unicode related bugs
2005-08-15 14:39:18 +00:00
Dmitry Stogov
08fe0d1da3
Test engine is improved to support unicode mode
2005-08-15 14:37:55 +00:00
Dmitry Stogov
fceb6086b2
Fixed another print_r() bug
2005-08-15 07:12:52 +00:00
Dmitry Stogov
feff569e96
Fixed print_r() in unicode mode.
2005-08-15 06:34:20 +00:00
de360b9d6d
ChangeLog update
2005-08-15 05:41:46 +00:00
Marcus Boerger
bc4202473e
- Simplify and make work in all modes
2005-08-14 21:26:01 +00:00
Marcus Boerger
444befd82b
- Treat class_name in the exact same manner as prop_name before
2005-08-14 15:19:45 +00:00
6373103906
ChangeLog update
2005-08-14 05:35:00 +00:00
87ed16b368
ChangeLog update
2005-08-13 05:32:26 +00:00
Marcus Boerger
7c14b0169a
- Unicode
...
# We probably might want to move spprintf.c/h into Zend now
2005-08-13 01:31:14 +00:00
Marcus Boerger
fe273229b7
- This might already be defined
2005-08-13 00:37:08 +00:00
Antony Dovgal
29573483de
initialize key type when adding next index
2005-08-12 22:53:13 +00:00
Antony Dovgal
9ab69a286b
fix typo noticed by Nuno
2005-08-12 19:02:22 +00:00
Andrei Zmievski
3abcd65161
*** empty log message ***
2005-08-12 17:29:21 +00:00
Andrei Zmievski
13a179d837
Add unicode macros for when Zend memory manager is disabled.
2005-08-12 17:14:21 +00:00
Dmitry Stogov
af9ce19ef8
Fixed user function call in unicode mode
2005-08-12 14:58:29 +00:00
Dmitry Stogov
1015995a7c
Fixed typo (ZVAL_LONG() -> ZVAL_DOUBLE())
2005-08-12 14:57:10 +00:00
Dmitry Stogov
fd469eb361
Unicode support
2005-08-12 14:11:16 +00:00
Sebastian Bergmann
52b001cc05
ZTS fixes.
2005-08-12 14:08:28 +00:00
Dmitry Stogov
9c544c0695
Fixed support fot provate properties in unicode mode.
2005-08-12 12:58:41 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Sebastian Bergmann
6ad189f82a
ZTS fixes.
2005-08-12 05:58:02 +00:00
31993aa76a
ChangeLog update
2005-08-12 05:46:36 +00:00
Ilia Alshanetsky
f0bf07f2ad
Fixed build, zend_error_noreturn was being defined twice.
2005-08-12 02:11:03 +00:00
foobar
e24f745d23
- No more zend_multibyte.*
2005-08-12 00:10:28 +00:00
foobar
65210db48c
Nuked unneeded multibyte stuff
2005-08-12 00:01:44 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
Antony Dovgal
b58f366c5c
MF5.1: fix #34078 (Reflection API problems in methods with boolean or null default values)
...
(andrei said to sara a few hours ago you may commit whatever you want until 9pm) (c) helly
if there are any problems with this patch - please tell me, I'll revert it immediately
2005-08-11 21:32:57 +00:00
Marcus Boerger
a4e1032836
- For internal classes we must auto generate the abstract class flags.
...
# Actually providing the flags while registering the class is not possible
# since that would require a major API change.
2005-08-11 20:32:01 +00:00
d5bf30a281
ChangeLog update
2005-08-11 05:39:41 +00:00
Dmitry Stogov
b0207d34a1
Fixed bug #34062 (Crash in catch block when many arguments are used)
2005-08-10 13:11:53 +00:00
Dmitry Stogov
b0d3aec8ad
Fixed bug #25359 (array_multisort() doesn't work in a function if array is global or reference)
2005-08-10 12:02:14 +00:00
Dmitry Stogov
c52d7cb530
Fixed bug #34064 (arr[] as param to function in class gives invalid opcode)
2005-08-10 10:39:28 +00:00
Dmitry Stogov
604751ab87
Fixed bug #34045 (Buffer overflow with serialized object)
2005-08-10 06:37:27 +00:00
d1d605e80f
ChangeLog update
2005-08-10 05:38:30 +00:00
Derick Rethans
8f43323dee
- Changing the API numbers, which might be a bit premature, but it allows
...
to differentiate between different branches.
- Bumbed the version number to 6.0.0-dev. I know we didn't discuss this yet,
but I feel it should be 6.0. See mail to the mailinglist.
2005-08-09 08:47:58 +00:00
b10c43905e
ChangeLog update
2005-08-09 05:39:37 +00:00
foobar
0f2986fe9d
- Show the dependancy name we could not find (req_mod is null here when it is not found :)
2005-08-08 14:25:05 +00:00
2f4ee2fc86
ChangeLog update
2005-08-06 05:37:51 +00:00
Dmitry Stogov
32d69c853a
Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument)
2005-08-05 09:35:09 +00:00
Dmitry Stogov
c10d6d3c89
Fixed bug #33999 (object remains object when cast to int)
2005-08-05 09:02:14 +00:00
Dmitry Stogov
a744a6feb5
Fixed memory leak in foreach() on undefined variable (Zend/tests/foreach_undefined.php)
2005-08-05 06:29:46 +00:00
85d77d8cea
ChangeLog update
2005-08-05 05:40:03 +00:00
Antony Dovgal
b87970a956
add test for the last Dmitry's fix
2005-08-04 14:12:07 +00:00
Dmitry Stogov
aafc593eb5
Fixed possible memory corryption during compilation of <?php foreach($a as $b); ?>
2005-08-04 14:04:36 +00:00
Dmitry Stogov
23e4102e95
Fixed clone bug in ze1_compatibilty mode
2005-08-04 08:36:54 +00:00
3887a6e835
ChangeLog update
2005-08-04 05:49:41 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
foobar
b732622dfa
Nuked DOS EOLs
2005-08-03 13:29:00 +00:00
d1623186d5
ChangeLog update
2005-08-03 05:36:05 +00:00
Dmitry Stogov
650cdaed12
Fixed bug #33942 (the patch to #33156 crash cygwin except cli)
2005-08-02 17:01:17 +00:00
foobar
9f6e05964f
- Fixed bug #33967 (misuse of Exception constructor doesn\'t display errorfile)
2005-08-02 16:31:53 +00:00
Dmitry Stogov
b529831df8
Removed warnings
2005-08-02 12:11:55 +00:00
3c8d91f558
ChangeLog update
2005-07-30 05:37:45 +00:00
Ilia Alshanetsky
70f72d39e4
Fixed warning message generated when isset() or empty() are given invalid
...
offset type.
2005-07-29 16:27:32 +00:00
Anantha Kesari H Y
3e3d9e941e
In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket.h is not desirable.
...
--Kamesh
2005-07-29 09:20:32 +00:00
97c460c813
ChangeLog update
2005-07-29 05:38:30 +00:00
foobar
49787c93be
update generated file
2005-07-29 00:22:02 +00:00
Andi Gutmans
9c392835de
- Tiny fixlet
2005-07-28 21:39:57 +00:00
Marcus Boerger
53e5260662
- Add convenience function zend_is_callable_ex() and base zend_is_callable
...
and zend_make_callable on it. This functions allows to check if a php
variable is a callable function and returns its function pointer as well
as object if possible.
# Commit this now so we can use it in 5.1.* series as discussed with Andi.
2005-07-28 20:55:50 +00:00
bed55bd176
ChangeLog update
2005-07-27 05:38:07 +00:00
foobar
2a8cd27f4e
bug #33865
2005-07-26 18:33:15 +00:00
3a5eca2bae
ChangeLog update
2005-07-26 05:32:16 +00:00
Marcus Boerger
1fad73d13d
- Fix #33853
...
# When a static class function is being called then we first look for the
# class with name unchanged. If the class is then not available it the
# method can never be callable, thus we return 0. If the class is available
# the lowercased name will be broken up into class and function and 1 is
# being returned.
2005-07-25 20:24:11 +00:00
84f28ce6c1
ChangeLog update
2005-07-23 05:39:09 +00:00
Dmitry Stogov
1c82ec11a1
Fixed bug #33802 (throw Exception in error handler causes crash)
2005-07-22 07:33:03 +00:00
b19c520142
ChangeLog update
2005-07-22 05:39:31 +00:00
Marcus Boerger
e11fc8bda4
- Fix error generation logic (found by johannes)
2005-07-21 16:52:32 +00:00
Dmitry Stogov
6b5f4da085
Fixed bug with returning from internal function by reference
2005-07-21 13:48:10 +00:00
1b31dfb160
ChangeLog update
2005-07-20 05:36:08 +00:00
Marcus Boerger
897090c01e
- Dont't warn in case an exception is pending - in this case it'd superflous
2005-07-19 19:46:21 +00:00
Dmitry Stogov
7aca138456
Fixed bug #33710 (ArrayAccess objects doen't initialize $this)
2005-07-19 07:33:00 +00:00
a59f50faca
ChangeLog update
2005-07-19 05:31:59 +00:00
Rasmus Lerdorf
ec58143e93
Valgrind is unhappy that this is not initialized
2005-07-18 18:32:36 +00:00
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
2005-07-18 16:20:08 +00:00
Dmitry Stogov
f90bdf8933
Fixed bug #33558 (warning with nested calls to functions returning by reference)
2005-07-18 07:13:34 +00:00
Dmitry Stogov
d7baf87c61
Removed some compilation warnings.
2005-07-18 06:34:42 +00:00
d8415108b4
ChangeLog update
2005-07-18 05:36:08 +00:00
foobar
8cea6123e9
typo
2005-07-18 01:09:22 +00:00
Marcus Boerger
c1e73b4a67
- Add new test
2005-07-17 20:57:51 +00:00
Ilia Alshanetsky
96fc6717e9
Added missing init.
2005-07-17 19:17:10 +00:00
cdd43e622d
ChangeLog update
2005-07-15 05:34:39 +00:00
Andi Gutmans
bdf2753ee8
- Back to -dev
2005-07-14 14:01:02 +00:00
Andi Gutmans
a007ddb190
- Beta 3
2005-07-14 13:44:03 +00:00
2f390c25d8
ChangeLog update
2005-07-13 05:35:44 +00:00
Andi Gutmans
f030fe2f3a
- Back to -dev
2005-07-12 20:25:28 +00:00
Andi Gutmans
897818e1a0
- Beta 3
2005-07-12 19:59:52 +00:00
Dmitry Stogov
c25b8a3699
Fixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF). (Nuno)
2005-07-12 06:52:59 +00:00
212299c1fa
ChangeLog update
2005-07-12 05:38:51 +00:00
Ilia Alshanetsky
8a9fc3439a
Make references misuse emit E_NOTICE rather E_STRICT to be compatible with
...
PHP 4.4.0
2005-07-11 18:44:37 +00:00
44713e7b63
ChangeLog update
2005-07-09 05:37:17 +00:00
foobar
c17e7e896e
fix test when session.save_handler is "user"
2005-07-08 07:57:47 +00:00
b8bcdbc5f6
ChangeLog update
2005-07-08 05:38:53 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Anantha Kesari H Y
82da3f5074
zend_stream_getc uses fread internally. NetWare LibC fread reads 4(Which I believe EOT) for EOF(^D) character. This happens when fread is asked to read one and only character as is the case with cl interactive mode.
...
-- Kamesh
2005-07-07 15:43:50 +00:00
Dmitry Stogov
d9c1a380ad
Fixed bug #28072 (static array with some constant keys will be incorrectly ordered).
2005-07-07 15:16:57 +00:00
d9248ab10e
ChangeLog update
2005-07-05 05:39:31 +00:00
Dmitry Stogov
343af548a6
Fixed SIGSEGV on 'global ${"{$blah}_ID"};'
2005-07-04 13:24:46 +00:00
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
2005-07-04 10:01:10 +00:00
3334de5fa2
ChangeLog update
2005-07-04 05:38:46 +00:00
Dmitry Stogov
f4b5a51952
Fixed memory leak
2005-07-03 11:09:42 +00:00
6e4d1b9be6
ChangeLog update
2005-07-01 05:37:58 +00:00
Dmitry Stogov
2ca2dc0b08
Restored old behavior of zend_statup_module()
2005-06-30 13:43:00 +00:00
3f2f79936c
ChangeLog update
2005-06-30 05:34:14 +00:00
Stanislav Malyshev
fb0c96d07b
fix conditions for freeing
2005-06-29 08:44:01 +00:00
Stanislav Malyshev
9727e938ee
add comment
2005-06-29 08:43:38 +00:00
b91a49ef84
ChangeLog update
2005-06-29 05:36:03 +00:00
Antony Dovgal
aa88cd901f
fix leak: when dup was <success>ful zend_std_object_get_class_name() returns SUCCESS aka 0
2005-06-28 22:04:07 +00:00
Stanislav Malyshev
b95ec3528a
fix previous patch
2005-06-28 12:42:56 +00:00
Stanislav Malyshev
7410964887
update
2005-06-28 10:52:00 +00:00
Stanislav Malyshev
e3601d22a7
fixes for non-php objects
2005-06-28 10:49:56 +00:00
9e9ef37e98
ChangeLog update
2005-06-28 05:37:03 +00:00
foobar
990aa7456e
- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()).
2005-06-27 22:04:41 +00:00
Stanislav Malyshev
d5a1296008
fix various "Class entry requested for an object without PHP class" messages
...
when working with non-PHP objects.
# Using Z_OBJCE(object)->name is usually bad idea unless you know it's
# a pure PHP object
2005-06-27 18:13:13 +00:00
Dmitry Stogov
7662d4df64
Fixed SIGSEGV on assigment string offset by reference
2005-06-27 06:15:35 +00:00
Dmitry Stogov
0e720a8b42
Fixed wrong include/requre occurrences in debug backtrace.
2005-06-27 06:03:10 +00:00
3c653277a6
ChangeLog update
2005-06-25 05:32:01 +00:00
Dmitry Stogov
61b9dedd90
Export zend_do_fcall() helper from executor
2005-06-24 12:33:53 +00:00
Dmitry Stogov
6bc321395d
Partial fix for bug #26584 (Class member - array key overflow)
...
It doesn't fix integer overflow problem, but allows null, boolean and double keys in array constants in the same way as in runtime.
2005-06-24 09:24:42 +00:00
Dmitry Stogov
12b66c262a
Fixed bug #30519 (Interface not existing says Class not found)
2005-06-24 08:45:17 +00:00
cc22d6690f
ChangeLog update
2005-06-24 05:38:47 +00:00
Dmitry Stogov
f3f97394b2
Fixed bug #28377 (debug_backtrace is intermittently passing args)
2005-06-23 12:00:13 +00:00
Dmitry Stogov
cfe01e1b06
Fixed bug #32660 (Assignment by reference causes crash when field access is overloaded (__get))
2005-06-23 11:04:35 +00:00
Dmitry Stogov
f17f5da8af
Fixed bug #30828 (debug_backtrace() reports incorrect class in overridden methods)
2005-06-23 09:23:24 +00:00
Dmitry Stogov
2037023874
Fixed bug #27268 (Bad references accentuated by clone).
2005-06-23 08:21:03 +00:00
f58beefc8f
ChangeLog update
2005-06-23 05:39:35 +00:00
Andi Gutmans
ec92bb884e
- Back to -dev
2005-06-23 04:20:49 +00:00
Andi Gutmans
fe238490f9
- Beta 2
2005-06-23 03:56:37 +00:00
Dmitry Stogov
da2ab06111
Fixed bug #29896 (Backtrace argument list out of sync)
2005-06-22 15:26:05 +00:00
Stanislav Malyshev
d66e7cb27c
export zend_vm_set_opcode_handler
2005-06-22 12:24:25 +00:00
Antony Dovgal
1c68938c60
- allow to use "yes" and "true" with ini_set() and in commandline (through -d flag)
...
- fix #15854 that was caused by wrong consideration that zend_ini_boolean_displayer_cb()
always recieves converted to "0"/"1" values.
2005-06-22 12:02:47 +00:00
Dmitry Stogov
21e071be06
Fixed bug #33257 (array_splice() inconsistent when passed function instead of variable)
2005-06-22 08:33:00 +00:00
4472024ea2
ChangeLog update
2005-06-22 05:43:03 +00:00
foobar
ea97aa5e8c
fix tests
2005-06-22 00:41:28 +00:00
Dmitry Stogov
adc3993122
Fixed test file
2005-06-21 17:28:09 +00:00
Andi Gutmans
da201c1be8
- Back to -dev. Guys (n' Girls), give at least 1 hour before you start
...
- complaining about not going back to -dev. I like checking the tarball
- before I change it back.
2005-06-21 16:31:19 +00:00
Andi Gutmans
9bf68ef6c5
- Take #3 :)
2005-06-21 15:44:50 +00:00
Ilia Alshanetsky
e656b82956
Fixed memory leak.
...
# Found by valgrind w/o zend-mm being used.
2005-06-21 14:05:15 +00:00
Dmitry Stogov
1098ec03c1
Remove unnecessary ZEND_FETCH_CLASS together with ZEND_DECLARE_INHERITED_CLASS in case of early binding
2005-06-21 12:05:15 +00:00
eccfb9c202
ChangeLog update
2005-06-21 05:31:27 +00:00
Andi Gutmans
cf0c7a9f5a
- Back to -dev
2005-06-20 22:34:57 +00:00
Andi Gutmans
fd3d8e9537
- Beta 2
2005-06-20 20:49:56 +00:00
Dmitry Stogov
62bdbc0e57
Fixed possible crash on $x = $obj->$non_string
2005-06-20 18:25:24 +00:00
5bb7b8ed58
ChangeLog update
2005-06-20 05:36:33 +00:00
Marcus Boerger
f554eba8f3
- Fix bug #33389 by fixing copying
2005-06-20 01:37:48 +00:00
Marcus Boerger
758503e26f
- Show true/flase
2005-06-20 01:08:57 +00:00
Derick Rethans
a347b91a9e
- Fixed layout of test description.
2005-06-19 21:56:21 +00:00
b900a96852
ChangeLog update
2005-06-18 05:35:31 +00:00
foobar
a491b82c4c
No short-tags!
2005-06-17 16:40:05 +00:00
Dmitry Stogov
2a314dbc47
Removed EX(fbc_constructor) (it is no longer needed)
2005-06-17 15:06:28 +00:00
Antony Dovgal
baf8cadeff
improve error messages when error raised from an internal class (do not hide class name)
2005-06-17 11:25:31 +00:00
Dmitry Stogov
d1ee85c2dd
Fixed bug #33277 (private method accessed by child class)
2005-06-17 10:50:45 +00:00
Antony Dovgal
a32c1f9eee
fix bug #33382 (array_reverse() fails after *sort())
...
no need to MFH - the bug existed only in HEAD
2005-06-17 10:50:15 +00:00
Dmitry Stogov
c0c7a9f010
Improved PHP extension loading mechanism with support for module dependencies and conflicts.
2005-06-17 09:36:26 +00:00
61b2fcc3ce
ChangeLog update
2005-06-17 05:37:15 +00:00
Marcus Boerger
7a7cda7a4c
- Internal functions/methods can now return by reference
2005-06-16 23:02:23 +00:00
Marcus Boerger
7f544adbb5
- Fix TSRM build
2005-06-16 17:29:29 +00:00
Dmitry Stogov
f5e71d99d5
typo
2005-06-16 15:11:03 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Stanislav Malyshev
999998ecaa
rename to zend_
2005-06-16 14:27:08 +00:00
Dmitry Stogov
a6d84dbb82
Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8)
2005-06-16 14:20:00 +00:00
Zeev Suraski
ff06fb72de
Fixlet
2005-06-16 13:31:21 +00:00
Dmitry Stogov
faacd7f865
Compilation warnings
2005-06-16 12:26:44 +00:00
Dmitry Stogov
c3e6a90808
ZEND_UNSET_DIM_OBJ is splitted to ZEND_UNSET_DIM and ZEND_UNSET_OBJ.
2005-06-16 12:17:39 +00:00
Stanislav Malyshev
87c9e68c91
export zval getters
2005-06-16 11:50:08 +00:00
Dmitry Stogov
3c1a774ddc
USER_OPCODE API is improvet.
...
Implemented ability to dispatch from user handler to internal handler of another opcode.
2005-06-16 06:00:48 +00:00
65e57a8a2c
ChangeLog update
2005-06-16 05:38:57 +00:00
Dmitry Stogov
47676bc067
Fixed OS X compatibility
2005-06-15 19:05:55 +00:00
foobar
55b0a90e91
typofix
2005-06-15 09:23:28 +00:00
e1573bf6e9
ChangeLog update
2005-06-15 05:33:04 +00:00
Ilia Alshanetsky
2d92309797
more accurate timing function.
2005-06-14 23:59:29 +00:00
Dmitry Stogov
ae37249fa9
Removed old executor
2005-06-14 12:55:48 +00:00
foobar
1c9a470cbc
reordered + added msg to configure output for PHP_ZEND_VM
2005-06-14 12:23:26 +00:00