Commit Graph

5081 Commits

Author SHA1 Message Date
Dmitry Stogov
310ab5b4be Additional fix for fix #35536 2005-11-23 13:30:18 +00:00
Antony Dovgal
9457dc348c forgotten part of the fix 2005-11-23 11:57:43 +00:00
Antony Dovgal
9e9a55f9ac MF51: fix #35336 (crash on PDO::FETCH_CLASS + __set()) 2005-11-23 11:55:46 +00:00
Dmitry Stogov
98b8a0fdb9 Bug #33732 (Wrong behavior of constants in class and interface extending) 2005-11-23 09:27:01 +00:00
a08a89e9eb ChangeLog update 2005-11-23 06:51:42 +00:00
2bf81c4a3f ChangeLog update 2005-11-22 06:48:55 +00:00
3247484267 ChangeLog update 2005-11-20 06:48:39 +00:00
Marcus Boerger
3bffc21967 - Fixed Bug #35286 tokenizer ext drops final comment (by greg) 2005-11-19 09:43:19 +00:00
3314fe6b22 ChangeLog update 2005-11-18 06:42:57 +00:00
Marcus Boerger
a40a48fbd4 - Move Reflection into its own extension 2005-11-17 22:59:39 +00:00
Antony Dovgal
510f40c3bc make GCC happy and suppress the warning 2005-11-17 19:20:14 +00:00
Dmitry Stogov
97190ee606 Removed support for continue and break operators with non-constant operands 2005-11-17 08:27:25 +00:00
8b9855a687 ChangeLog update 2005-11-17 06:54:18 +00:00
Ilia Alshanetsky
b05d189cc0 MFB51: Allow zend_parse_parameters to handle non-well formed integers, but
raise E_NOTICE in the process.
2005-11-17 00:20:31 +00:00
Dmitry Stogov
8373809e2e Fixed bug #35239 (Objects can lose references) 2005-11-16 11:52:53 +00:00
30e3bbdb0b ChangeLog update 2005-11-16 06:44:57 +00:00
Dmitry Stogov
0220a8318c Allow "null" default value for arguments with array type hint
Unicode support
2005-11-15 16:50:07 +00:00
Dmitry Stogov
8bb39e7dba Allow recursive calls to __get/__set for different properties 2005-11-15 15:21:47 +00:00
Dmitry Stogov
c4f93961b5 Fixed call to __destruct() for objects of classes delivered from internal ones those use zend_objects_store_put(obj, NULL, ... 2005-11-15 12:39:54 +00:00
158e80bed4 ChangeLog update 2005-11-08 06:44:26 +00:00
Dmitry Stogov
32fe5f2c3b Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension is compiled as shared) 2005-11-07 12:24:20 +00:00
22ae5cdfd0 ChangeLog update 2005-11-04 06:46:21 +00:00
2b9167e089 ChangeLog update 2005-11-03 06:46:29 +00:00
971bebd6e3 ChangeLog update 2005-11-02 06:44:42 +00:00
Marcus Boerger
169411d040 - Get rid of several wanrings 2005-11-01 20:41:59 +00:00
Marcus Boerger
00d5138e93 - Allow parameter parsing implementation raise an error early where more
information is available. And add ability to prevent double errors by
  returning "".
- Implement parameter parsing C which checks for a class name, if the value
  on input is not NULL then the pointer must be the zend_class_entry of the
  required base class.
# Do the KISS approach, looking at the code it isn't that easy does it?
2005-11-01 16:53:29 +00:00
Sebastian Bergmann
5d671dd4b2 Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object. This revised patch has been reviewed by Dmitry and Zeev. 2005-11-01 13:18:34 +00:00
Sebastian Bergmann
e094954bd1 Allow bison 2.1. 2005-11-01 10:31:15 +00:00
Sebastian Bergmann
621c6fb266 Revert. 2005-11-01 07:20:54 +00:00
35d4f32c84 ChangeLog update 2005-11-01 06:48:05 +00:00
Dmitry Stogov
372d59b648 Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior) 2005-10-31 19:29:48 +00:00
6b20d46781 ChangeLog update 2005-10-29 05:40:50 +00:00
Sebastian Bergmann
805cc1d659 Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object. Patch has been reviewed by Andi, Zeev, and Marcus. I will coordinate with Ilia on merging it to the PHP_5_1 branch after PHP 5.1.0 has been released. 2005-10-28 20:08:25 +00:00
Dmitry Stogov
0fe9266d9e Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms) 2005-10-28 14:44:41 +00:00
Dmitry Stogov
05bd788e23 Fixed bug #34879 (str_replace, array_map corrupt negative array indexes) 2005-10-28 13:48:15 +00:00
Dmitry Stogov
3c6c6d2a9a $id:$ tatgs are removed from generated files to avoid committing of Zend/zend_vm_opcodes.h without real changes. 2005-10-28 06:05:41 +00:00
cefc6bb11b ChangeLog update 2005-10-28 05:42:07 +00:00
Dmitry Stogov
804e3b4f5b Fixed SIGSEGV 2005-10-27 19:25:07 +00:00
Ilia Alshanetsky
cbeef6084b MFB51: Fixed memory leak on error 2005-10-27 14:14:33 +00:00
810520b20b ChangeLog update 2005-10-26 05:40:59 +00:00
Marcus Boerger
ff5ae1d0de - Make the code a bit clearer 2005-10-25 23:11:26 +00:00
Marcus Boerger
9b584a1499 - api was changed, also we are here in api 3.*, not 2 anymore 2005-10-25 19:42:55 +00:00
Marcus Boerger
c72d91afd7 - Make zend_is_callable_ex() return the class netry if available 2005-10-25 19:38:09 +00:00
91abf74e88 ChangeLog update 2005-10-25 05:47:13 +00:00
Dmitry Stogov
d464599515 Unicode support (bug #31341) 2005-10-24 07:17:16 +00:00
bc35d8c56c ChangeLog update 2005-10-22 05:39:36 +00:00
Dmitry Stogov
de047ae0a5 Fixed bug #31341 (escape on curly inconsistent) 2005-10-21 13:22:10 +00:00
Dmitry Stogov
5fd04023dc Fixed bug #34782 (token_get_all() gives wrong result) 2005-10-21 09:33:04 +00:00
Dmitry Stogov
6ef4239827 Fixed bug #29268 (__autoload() not called with Reflection->getClass()) 2005-10-21 08:03:39 +00:00
de96385160 ChangeLog update 2005-10-21 05:42:08 +00:00
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