Commit Graph

4575 Commits

Author SHA1 Message Date
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
foobar
021389c4dc typofix 2005-06-14 11:47:57 +00:00
foobar
fb95a19824 fix standalone build 2005-06-14 11:41:48 +00:00
1ef7bf6997 ChangeLog update 2005-06-14 05:32:30 +00:00
Dmitry Stogov
14b80ad199 Specializer optimization 2005-06-13 17:50:07 +00:00
Dmitry Stogov
cec2347c96 Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 'zend_error').
The fix is not tested on Solaris and DARWIN!
2005-06-13 11:22:59 +00:00
Dmitry Stogov
e6dcba6052 Fixed bug #33312 (ReflectionParameter methods do not work correctly) 2005-06-13 07:55:08 +00:00
88141e3ed0 ChangeLog update 2005-06-12 05:40:34 +00:00
Andi Gutmans
16bbd70cd5 - Back to -dev 2005-06-11 17:03:42 +00:00
Andi Gutmans
e0787f3d24 - b2 (will post it to internals@) 2005-06-11 16:59:24 +00:00
7e4be5c520 ChangeLog update 2005-06-11 05:40:37 +00:00
Andi Gutmans
0638c657e1 - Back to -dev 2005-06-10 18:29:10 +00:00
Andi Gutmans
3b1f8e9ad7 - Go with 5.1.0b1 2005-06-10 18:06:43 +00:00
Dmitry Stogov
46e4c9837d Added test for bug #30162 (it is already fixed but test file was forgotten) 2005-06-10 10:46:04 +00:00
Dmitry Stogov
4796fc943a Added test file for bug #31177 (not fixed yet) 2005-06-10 10:45:14 +00:00
Dmitry Stogov
dc95b1bd32 typos 2005-06-10 10:23:37 +00:00
Dmitry Stogov
26c3944d9c Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor 2005-06-10 10:22:36 +00:00
Dmitry Stogov
84b96e9b03 Fix so that extensions like xdebug, can overload opcodes in all execution modes including goto/switch 2005-06-10 09:54:38 +00:00
Dmitry Stogov
6efa17c2a1 Merge three opcodes (ZEND_NEW, ZEND_JMP_NO_CTOR, ZEND_INIT_CTOR) into one (ZEND_NEW). There was no real reason for this anymore and API should be changed before 5.1 2005-06-10 07:56:40 +00:00
3ff7178126 ChangeLog update 2005-06-10 05:32:48 +00:00
Stanislav Malyshev
2cb52151ac MF50: fix #29689 and more private property problems 2005-06-09 17:20:44 +00:00
Stanislav Malyshev
b2f7dd2f66 add test for this TBF bug 2005-06-09 17:16:13 +00:00
Stanislav Malyshev
b83a2603b3 disallow abstrace private methods 2005-06-09 17:12:54 +00:00
Dmitry Stogov
59a46c34fa Fixed double call to php_stream_close() on compiler errors 2005-06-09 16:57:43 +00:00
Dmitry Stogov
e0b0ae9ce7 Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in seg fault) 2005-06-09 10:32:08 +00:00
Dmitry Stogov
f3ebf7dd91 Fixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456 2005-06-09 08:52:51 +00:00
92c5fb8368 ChangeLog update 2005-06-09 05:41:03 +00:00
Dmitry Stogov
87df726f05 Fixed exception handling in getIterator() callback (bugs #26229 & #30725) 2005-06-08 18:54:04 +00:00
Dmitry Stogov
d873ecb29c Fixed valgrind errors 2005-06-08 18:11:06 +00:00
Dmitry Stogov
9cf513dfea Fixed ReflectionClass::setStaticPropertyValue() 2005-06-08 17:08:06 +00:00
foobar
03389f8206 Hopefully fixes win32 builds 2005-06-08 15:57:17 +00:00
Dmitry Stogov
55cdb7c043 Fixed lookups for previos opcodes 2005-06-08 15:01:35 +00:00
Dmitry Stogov
9affa32237 Fixed bug #30140 (Problem with array in static properties) 2005-06-08 13:21:28 +00:00
Dmitry Stogov
a95db2790d Added test for bug #32322 (Return values by reference broken( using self::),example singleton instance) 2005-06-08 08:43:38 +00:00
Dmitry Stogov
d02d270f48 Fixed bug #30820 (static member conflict with $this->member silently ignored) 2005-06-08 08:08:18 +00:00
Dmitry Stogov
0a44789bf3 Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine()) 2005-06-08 06:49:01 +00:00
79ca149b75 ChangeLog update 2005-06-08 05:39:00 +00:00
266290176b ChangeLog update 2005-06-08 00:40:35 +00:00
Dmitry Stogov
58a0ee09c3 Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via STDIN) 2005-06-07 18:11:56 +00:00
foobar
eaa3d6c5ec -Moved --disable-zend-memory-manager where it belongs 2005-06-07 17:22:40 +00:00
foobar
8e2efc351b - Show "none" when nothing is found 2005-06-07 16:47:33 +00:00
Ilia Alshanetsky
7e8bd05c89 Fixed ZTS build. 2005-06-07 14:01:36 +00:00
Derick Rethans
7a3dbcd1c4 - Added the --disable-zend-memory-manager switch to disable the Zend memory
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
Dmitry Stogov
fac2718edd Fixed memory leak in debug_print_backtrace() 2005-06-07 13:14:23 +00:00
Dmitry Stogov
4658513d70 fixed memory leak in bug #28972 ([] operator overflow treatment is incorrect), not the bug itself. 2005-06-07 10:21:52 +00:00
Derick Rethans
f07eed91c4 - MF44: Problems with user defined error handler and references 2005-06-07 10:01:30 +00:00
Dmitry Stogov
055e889bbd Fixed bug #33243 (ze1_compatibility_mode does not work as expected) 2005-06-07 07:03:28 +00:00
5b9bb8db6b ChangeLog update 2005-06-07 00:35:54 +00:00
Derick Rethans
e2e1bf6b0c - Regenerate VM files and add warning about regeneration 2005-06-06 15:17:20 +00:00
Derick Rethans
941f16914d - MH44: Problems with user defined error handler and wrong usage of references 2005-06-06 13:09:23 +00:00
Dmitry Stogov
91a344a504 Fixed bug #32428 (The @ warning error supression operator is broken) 2005-06-06 11:20:46 +00:00
Dmitry Stogov
ce23692663 Fixed bug #32799 (crash: calling the corresponding global var during the destruct) 2005-06-06 10:38:43 +00:00
Dmitry Stogov
e5d3e07862 Added test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct) 2005-06-06 09:50:40 +00:00
Dmitry Stogov
61054dbcd0 Fixed bug #32993 (implemented Iterator function current() don't throw exception) 2005-06-06 08:24:05 +00:00
Dmitry Stogov
cd88e646fd Fixed bug #33171 (foreach enumerates private fields declared in base classes) 2005-06-06 07:52:08 +00:00
Wez Furlong
42ada22e0c Avoid double-freeing streams.
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.

Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.
2005-06-06 01:51:48 +00:00
8f6ed7b085 ChangeLog update 2005-06-05 00:35:24 +00:00
Zeev Suraski
d33500ee20 Thought I committed it ages ago... Anyway, without further delays, the final
__halt_compiler() patch
2005-06-04 16:16:19 +00:00
09c2da0d07 ChangeLog update 2005-06-04 00:35:41 +00:00
Dmitry Stogov
e3cfb42bbd Added test for 5.0 specific bug #30394 (Assignment operators yield wrong result with __get/__set) 2005-06-03 15:38:32 +00:00
Dmitry Stogov
89e53d5ab2 Fixed bug #30080 (Passing array or non array of objects) 2005-06-03 15:02:49 +00:00
Dmitry Stogov
6b39b374ef Fixed bug #27598 (list() array key assignment causes HUGE memory leak) 2005-06-03 13:57:26 +00:00
Dmitry Stogov
3d7b0bab28 Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...)
2005-06-03 11:16:19 +00:00
f58c83135d ChangeLog update 2005-06-02 00:35:34 +00:00
Dmitry Stogov
9383e1b858 Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded) 2005-06-01 11:03:58 +00:00
fc8ae455df ChangeLog update 2005-06-01 00:35:10 +00:00
Magnus M��tt�
80eb74e4fe Fix test 2005-05-31 13:46:17 +00:00
Dmitry Stogov
747074f988 Reverted wrong fix for bug #30572.
Seems the bug was already fixed in other way.
But reverted patch produced a lot of valgrind errors, because IS_TMP_VAR operands don't initialize refcount.
2005-05-31 11:16:51 +00:00
Marcus Boerger
4f9a2bed42 - Only allow changing return ref agnostic when a script method overrides an
internal method (found by dmitry)
2005-05-31 09:06:43 +00:00
59fb0f2e8b ChangeLog update 2005-05-30 00:33:47 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Hartmut Holzgraefe
d1f653bd08 forgot to re-add 1.875 as a valid bison version after testing 2005-05-29 18:56:18 +00:00
Hartmut Holzgraefe
fce59d9dae bison may be installed under a different executable name, e.g.
YACC="bison-1.75" configure ...

removing the check for "bison -y" allows for this
the check was redundant anyway as the following one filters
for "GNU Bison" in the --version output
2005-05-29 18:50:03 +00:00
Hartmut Holzgraefe
af14bbe455 avoid code duplication in bison version test 2005-05-29 18:04:35 +00:00
23a7bc0203 ChangeLog update 2005-05-29 00:34:21 +00:00
Marcus Boerger
4918b67ac5 - Make zend_do_inheritance ZEND_API 2005-05-28 10:24:56 +00:00
b43240dfcf ChangeLog update 2005-05-28 00:40:27 +00:00
Dmitry Stogov
743c5bb15b Fixed bug #22836 (returning reference to uninitialized variable) 2005-05-27 16:18:07 +00:00
cbee2d697b ChangeLog update 2005-05-27 00:34:54 +00:00
Dmitry Stogov
d2018ef2c0 Fixed bug #33116 (crash when assigning class name to global variable in __autoload). 2005-05-26 14:28:24 +00:00
Dmitry Stogov
1a72341328 Added array type hinting. (This patch requires full re-make) 2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a - Add new tests 2005-05-26 12:22:18 +00:00
25108c37ca ChangeLog update 2005-05-23 00:34:48 +00:00
Ilia Alshanetsky
76c05604a6 Fixed bug #29338 (unencoded spaces get ignored after certain tags). 2005-05-22 16:40:06 +00:00
Stanislav Malyshev
6ba1dd9cbc fix leak 2005-05-22 11:10:38 +00:00
5f6d5e4fb3 ChangeLog update 2005-05-20 00:33:33 +00:00
Dmitry Stogov
6e9e5b099c Strict warnings 2005-05-19 09:58:23 +00:00
99415eacbb ChangeLog update 2005-05-19 00:38:50 +00:00
Stanislav Malyshev
92c8c09da5 fix for #29890 - part 2 2005-05-18 18:10:24 +00:00
Stanislav Malyshev
3af3379a27 test 2005-05-18 18:08:02 +00:00
Stanislav Malyshev
ba7123fc9b fix #29890 - crash when function call fails 2005-05-18 18:02:50 +00:00
Stanislav Malyshev
94666dcfb6 revert - seems to be fixed elsewhere 2005-05-18 15:30:35 +00:00
Stanislav Malyshev
e04666ae20 fix #30451 static properties don't work properly 2005-05-18 15:14:36 +00:00
Stanislav Malyshev
b03b79c985 tests 2005-05-18 14:56:34 +00:00
389b1abc16 ChangeLog update 2005-05-18 00:33:43 +00:00
Magnus M��tt�
2ebda52b24 Fix tests. 2005-05-17 17:34:44 +00:00
416ea7638d ChangeLog update 2005-05-14 00:34:01 +00:00
Antony Dovgal
5d8394879b fix bug #29975 (memory leaks when set_error_handler() is used inside error handler) 2005-05-13 23:08:43 +00:00
66a821a763 ChangeLog update 2005-05-13 00:35:04 +00:00
Marcus Boerger
c1e480d46e - Make ReflectionObject::hasProperty() recognize dynamically added props 2005-05-12 21:25:42 +00:00
deacfcefc2 ChangeLog update 2005-05-07 00:36:11 +00:00
d34e9a33a5 ChangeLog update 2005-05-06 00:34:56 +00:00
foobar
625d5ba4a3 typofix :) 2005-05-06 00:09:51 +00:00
Dmitry Stogov
79d6f11a4a Fixed bug #31525 (object reference being dropped. $this getting lost) 2005-05-05 17:37:25 +00:00
1ba54f5fca ChangeLog update 2005-05-05 00:36:44 +00:00
Stanislav Malyshev
7b34bb2be7 fix bug #32924: prepend does not add file to included files 2005-05-04 16:17:33 +00:00
Dmitry Stogov
b2d28102a8 Fixed bug #30641 (Compile error: error: symbol "zend_error" is used but not defined) 2005-05-04 12:38:49 +00:00