Commit Graph

4830 Commits

Author SHA1 Message Date
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