Commit Graph

5111 Commits

Author SHA1 Message Date
6237738145 ChangeLog update 2006-03-24 06:31:51 +00:00
Andrei Zmievski
1c09ef8e37 Update conversion error behavior and add some new modes.
# The various escape modes are what ICU calls them. We may want to come
# up with different names for UNICODE/ICU/JAVA ones..
2006-03-23 22:00:42 +00:00
Andrei Zmievski
a27b78c2d2 Add (binary) cast operator. 2006-03-23 21:54:00 +00:00
Andrei Zmievski
b5221e4dd9 Allow conversion between binary/Unicode strings (based on
runtime_encoding setting).
2006-03-23 21:52:49 +00:00
Marcus Boerger
123df34265 - Initialize callable_name if requested 2006-03-23 13:09:28 +00:00
Antony Dovgal
88605a22ff implement correct fix for segfault on 64bit platform 2006-03-23 09:44:30 +00:00
cab8eea2f8 ChangeLog update 2006-03-23 06:31:57 +00:00
Antony Dovgal
763483d18b don't segfault on 64bit platforms 2006-03-22 19:36:10 +00:00
a6bcfeccf7 ChangeLog update 2006-03-21 06:31:49 +00:00
Dmitry Stogov
d2fd87526f Removed unreachable code 2006-03-20 15:12:54 +00:00
49f7b6605c ChangeLog update 2006-03-18 06:31:51 +00:00
Dmitry Stogov
51f7ee02c8 FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
EGV related code is commented.
2006-03-17 08:47:54 +00:00
Dmitry Stogov
53e1f2adfb Optimization of module unloading (temporary modules can be only in the end) 2006-03-17 08:34:34 +00:00
8ec6d16867 ChangeLog update 2006-03-17 06:31:49 +00:00
Dmitry Stogov
ea9b9502e9 typo 2006-03-16 15:42:54 +00:00
Dmitry Stogov
3510eda470 ws 2006-03-16 15:38:29 +00:00
Dmitry Stogov
89a1a4cbc4 Return "new" by reference now throws an E_STRICT error 2006-03-16 15:35:26 +00:00
Dmitry Stogov
dcd1ccd725 Added E_STRICT to E_ALL 2006-03-16 12:12:31 +00:00
Dmitry Stogov
9d7ca01c8b Dropped allow_call_time_pass_reference, the error is maden E_STRICT. 2006-03-16 11:32:00 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
a6ed0cb3e0 ChangeLog update 2006-03-16 06:31:47 +00:00
Dmitry Stogov
18d6d9d633 Fixed zend_u_strtod() that returned uninitialized value in case of empty string 2006-03-15 13:12:32 +00:00
Dmitry Stogov
d3e5691b41 Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) 2006-03-15 11:15:20 +00:00
Dmitry Stogov
d51599dfcd Eliminated run-time constant fetching for TRUE, FALSE and NULL 2006-03-15 09:04:48 +00:00
Dmitry Stogov
a623645b6f Fixed "zend_vm_gen.php --without-specializer" 2006-03-15 08:06:51 +00:00
d06e1f49b6 ChangeLog update 2006-03-15 06:31:57 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Dmitry Stogov
72acb65b24 zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros 2006-03-14 11:24:30 +00:00
Dmitry Stogov
b7933917f6 "jump" -> "goto" 2006-03-14 11:20:19 +00:00
79f91078ef ChangeLog update 2006-03-14 06:31:48 +00:00
Dmitry Stogov
78aed20223 Optimized cleanup loops on request shutdown 2006-03-13 11:13:55 +00:00
29bc693710 ChangeLog update 2006-03-13 06:31:48 +00:00
Ilia Alshanetsky
fe2842d21b MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".
2006-03-12 16:53:41 +00:00
e93bc50c22 ChangeLog update 2006-03-11 06:31:48 +00:00
Dmitry Stogov
bc9eaa011e Fixed compilation error (Rob) 2006-03-10 16:35:57 +00:00
Dmitry Stogov
f0b9848949 Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses 2006-03-10 16:35:21 +00:00
Dmitry Stogov
f8576f84dc Implemented "jump label" operator (limited "goto") 2006-03-10 08:29:43 +00:00
689eea9c3c ChangeLog update 2006-03-08 06:31:47 +00:00
Dmitry Stogov
432cae3222 Reverted "break label" 2006-03-07 08:43:21 +00:00
Andrei Zmievski
9840a792ee *** empty log message *** 2006-03-07 08:33:46 +00:00
Derick Rethans
6709a6bfc9 - Make this compile again 2006-03-07 07:58:56 +00:00
7453c27089 ChangeLog update 2006-03-07 06:31:50 +00:00
Andrei Zmievski
25d1f03526 Mark some functions as Unicode-safe and adjust UTODO notices for others. 2006-03-07 04:30:15 +00:00
Sara Golemon
cc523d42cb Remove register_globals regression test for Pierre 2006-03-07 00:26:27 +00:00
Dmitry Stogov
bc091138a5 fixed compatibility with ext/hash 2006-03-06 09:58:27 +00:00
1af22d5ab8 ChangeLog update 2006-03-06 06:31:47 +00:00
Marcus Boerger
24618f2b3b - Fix comment, too 2006-03-05 18:32:21 +00:00
Marcus Boerger
b0f461e9d9 - Fix Bug #34019 by popular demand: Implementing interface with a
__construct method strange behaviour
2006-03-05 18:23:56 +00:00
Marcus Boerger
fd2b76d505 - Add missing function for completeness 2006-03-05 16:09:45 +00:00
ae47c701b8 ChangeLog update 2006-03-05 06:31:46 +00:00
Johannes Schlüter
5575afef48 - Separate ZEND_METHOD from ZEND_FUNCTION 2006-03-04 14:37:50 +00:00
164ee5c2f4 ChangeLog update 2006-03-04 06:31:46 +00:00
Andrei Zmievski
ba0b3868ee Clean up after Marcus. 2006-03-03 23:23:17 +00:00
Marcus Boerger
03be54de37 - Make unicode handling portable (noted by andrei)
# Actually we should provide much more such unicode strings that we often
# use like 'parent', 'self' and so on.
2006-03-03 23:20:29 +00:00
Marcus Boerger
5d77a462f6 - As expected (but told otherwise) unicode strings indeed need to be
terminated by two \0.
2006-03-03 22:37:47 +00:00
Marcus Boerger
a9ea7e81c6 - Fix issue with uncaught exceptions in unicode mode 2006-03-03 21:58:56 +00:00
Marcus Boerger
4690c282a0 - Add new tests 2006-03-03 18:07:24 +00:00
Dmitry Stogov
dec6f749d9 Regenerated 2006-03-03 16:47:55 +00:00
Dmitry Stogov
2a2050d4e3 Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>". 2006-03-03 13:09:13 +00:00
Dmitry Stogov
bfe01c2c17 Fixed incorrect backtrace type ("::" instead of "->") for __set()/__get() 2006-03-03 12:06:44 +00:00
Dmitry Stogov
62de2d7366 Remove "called at [(null):0]" from debug backtrace 2006-03-03 10:09:35 +00:00
Johannes Schlüter
1ed7db0e3b - Fix typo 2006-03-03 09:56:47 +00:00
37a5ce2d51 ChangeLog update 2006-03-03 06:31:48 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
8f567a5abb ChangeLog update 2006-03-02 06:31:46 +00:00
Marcus Boerger
cd35eae1aa - Use object handler get in the same way as the rest of the engine does 2006-03-02 00:40:19 +00:00
Marcus Boerger
f1d02a87aa - Fix test 2006-03-01 17:20:28 +00:00
Marcus Boerger
9158218d3a - Must use return as in 5.1 after recursion 2006-03-01 16:18:35 +00:00
Marcus Boerger
bf086dff71 - Fix string conversion issues 2006-03-01 16:15:40 +00:00
Marcus Boerger
a3741cf6bc - Constants need to be updated too (when updating class constants) 2006-03-01 16:15:15 +00:00
Marcus Boerger
23a8100309 - Fix warning 2006-03-01 16:14:37 +00:00
3c01a9f641 ChangeLog update 2006-03-01 06:31:45 +00:00
Dmitry Stogov
3413d5df40 Fixed compilation on FreeBSD with gcc-3.2 2006-02-28 18:34:58 +00:00
232eace5c8 ChangeLog update 2006-02-28 06:31:47 +00:00
72345090e7 ChangeLog update 2006-02-27 06:32:01 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
25c8f09752 Unicode support 2006-02-26 07:23:33 +00:00
d952bfcc6a ChangeLog update 2006-02-26 06:31:46 +00:00
Marcus Boerger
44b0637bcd - Deprecation severity shall be E_STRICT (as commented by ilia)
# Actually this conforms with other messages
2006-02-25 17:43:12 +00:00
8299b9ea6f ChangeLog update 2006-02-25 06:31:48 +00:00
Marcus Boerger
8a4c8e8d47 - Add macros to mark functions/alias functions as deprecated
(mentioned by Sara and obviously neccessary)
- Fix function/method flag error detection logic
2006-02-24 13:29:54 +00:00
fea97047e9 ChangeLog update 2006-02-24 06:31:51 +00:00
Andrei Zmievski
7f5c395781 *** empty log message *** 2006-02-23 18:06:36 +00:00
Andrei Zmievski
ea1c076155 Fix a bug where the default value for function argument could be an
array with array (!) keys.
2006-02-23 18:06:04 +00:00
9ca3aa59e6 ChangeLog update 2006-02-23 06:32:01 +00:00
Dmitry Stogov
0342d9f519 Unicode support 2006-02-22 12:02:44 +00:00
Dmitry Stogov
3d0da6184a Unicode support: fixed __toString() in user defined exceptions 2006-02-22 11:38:32 +00:00
Dmitry Stogov
26ddcdb55d Unicode support 2006-02-22 11:37:11 +00:00
Dmitry Stogov
cbd40d1e5d Unicode support: fixed check for class type hint 2006-02-22 10:56:52 +00:00
Dmitry Stogov
1f4d9fa4a7 Unicode support: fixed internal constants usage and get_defined_constants() 2006-02-22 10:02:15 +00:00
Dmitry Stogov
28737451f2 Unicode support: fixed check for direct call to __clone() 2006-02-22 09:03:26 +00:00
Dmitry Stogov
19ebeed0d8 Unicode support: fixed call_user_func(array($this, "self::foo"))
Made check for "self/parent" before calling __autoload()
2006-02-22 08:54:02 +00:00
9f8de03dad ChangeLog update 2006-02-22 06:31:55 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d WS 2006-02-21 08:00:39 +00:00
7bc8d5227d ChangeLog update 2006-02-21 06:31:51 +00:00
Marcus Boerger
a27e272670 - Synch zend_call_function() with VM function call helper 2006-02-20 20:03:36 +00:00
Marcus Boerger
3b3e006e33 - Add deprecation flag and message 2006-02-20 20:00:46 +00:00
Dmitry Stogov
b424a32610 Preparation for portable string API (use macroses to access zval). 2006-02-20 19:03:43 +00:00