Commit Graph

5081 Commits

Author SHA1 Message Date
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
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
Dmitry Stogov
5e4d91582a Fixed bug #30707 (Segmentation fault on exception in method) 2005-05-04 11:17:30 +00:00
Dmitry Stogov
37d16df05c Fixed bug #30162 (Catching exception in constructor couses lose of $this) 2005-05-04 08:45:46 +00:00
95629a63df ChangeLog update 2005-05-04 00:34:21 +00:00
Dmitry Stogov
b3a8a50581 Fixed notice message 2005-05-03 14:05:52 +00:00
Dmitry Stogov
69326a796e Fixed destruction of zval after returning from __call() 2005-05-03 12:47:27 +00:00
Dmitry Stogov
81b536f4a6 Fixed bug #32296 (get_class_methods output has changed between 5.0.2 and 5.0.3)
Now get_class_methods() shows accessible private and protected methods if it is called from class scope.
2005-05-03 08:52:04 +00:00
2ad6cacf7e ChangeLog update 2005-05-03 00:35:54 +00:00
Marcus Boerger
56d543c161 - Extend API to support real existance test without the need to add any new
functions or change any behavior
2005-05-02 16:18:02 +00:00
Marcus Boerger
138c5457ac - Part 2 of #30126: Enhancement for error message for abstract classes 2005-05-02 15:57:35 +00:00
Marcus Boerger
f44dc4c930 - Part 1 of #30126: Enhancement for error message for abstract classes 2005-05-02 15:55:05 +00:00
ab3f962b8b ChangeLog update 2005-04-30 00:36:09 +00:00
foobar
217e89b124 compile fix 2005-04-29 10:40:01 +00:00
foobar
e57408a098 Make sure E_STRICT is set always 2005-04-29 08:54:16 +00:00
Dmitry Stogov
8b7a03c889 Fixed bug #30332 (zend.ze1_compatibility_mode isnt fully compatable with array_push()) 2005-04-29 07:59:04 +00:00
Dmitry Stogov
8db238b075 Fixed bug #32852 (Crash with singleton and __destruct when zend.ze1_compatibility_mode = On)
Fixed bug #31828 (Crash with zend.ze1_compatibility_mode=On)
Fixed bug #32080 (segfault when assigning object to itself with zend.ze1_compatibility_mode=On)
2005-04-29 07:03:54 +00:00
foobar
96bc29839b - Unify error_reporting setting + make sure E_STRICT is set when wanted 2005-04-29 01:04:32 +00:00
56fb07e147 ChangeLog update 2005-04-29 00:43:01 +00:00
Dmitry Stogov
9966587aaf Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others) 2005-04-28 17:40:11 +00:00
099a7eb6b8 ChangeLog update 2005-04-28 00:35:07 +00:00
Dmitry Stogov
c81db6bc56 Fixed bug #29210 (Function: is_callable - no support for private and protected classes) 2005-04-27 15:45:36 +00:00
Dmitry Stogov
abb07db4c6 Fixed bug #29104 (Function declaration in method doesn't work) 2005-04-27 13:30:53 +00:00
Dmitry Stogov
aba79c268c Fixed bug #32833 (Invalid opcode) 2005-04-27 12:16:32 +00:00
Dmitry Stogov
28e68301dc Fixed bug #32674 (exception in iterator causes crash) 2005-04-27 06:47:08 +00:00
04b5f20be5 ChangeLog update 2005-04-27 00:38:26 +00:00
Dmitry Stogov
a9a319b078 Fixed bug #30889 (Conflict between __get/__set and ++ operator) 2005-04-26 13:23:23 +00:00
Dmitry Stogov
1098d9bccb fix 2005-04-26 12:01:31 +00:00
Dmitry Stogov
5f600cdf57 Fixed bug #30702 (cannot initialize class variable from class constant) 2005-04-26 09:27:28 +00:00
Dmitry Stogov
694f7a9e90 Fixed bug #32427 (Interfaces are not allowed 'static' access modifier). 2005-04-26 08:48:23 +00:00
Dmitry Stogov
4f15b20b92 Fixed bug #32429 (method_exists() always return TRUE if __call method exists) 2005-04-26 08:47:31 +00:00
daf6b8303e ChangeLog update 2005-04-26 00:34:22 +00:00
Andrei Zmievski
53e3b0fcb8 Reverting. Let's not introduce major BC breakage like this without a
good reason.
2005-04-25 20:41:26 +00:00
Dmitry Stogov
35b38598cc Fixed bug #29944 (Function defined in switch, crashes). 2005-04-25 09:56:42 +00:00
foobar
9a020fce63 ws 2005-04-25 08:21:15 +00:00
Dmitry Stogov
c78ec1615a Fixed call to estrndup() with invalid length 2005-04-25 06:13:57 +00:00
Sebastian Bergmann
11a91f04b2 Correct grammar. 2005-04-25 05:13:36 +00:00
c3da4c9102 ChangeLog update 2005-04-25 00:42:22 +00:00
Marcus Boerger
20e67fd175 - Need to copy doc comments correct for properties 2005-04-24 17:32:05 +00:00
e5a1216c94 ChangeLog update 2005-04-24 00:33:38 +00:00
Marcus Boerger
3080d49ed4 - Add new tests 2005-04-23 15:21:07 +00:00
ace93a1de9 ChangeLog update 2005-04-22 00:45:41 +00:00
foobar
62a1f82e4a Fix test when register_long_arrays is off in your php.ini 2005-04-21 14:22:53 +00:00
f2ae989262 ChangeLog update 2005-04-20 00:43:11 +00:00
Marcus Boerger
67a226d910 - Add ReflectionProperty::getDocComment() 2005-04-19 22:04:59 +00:00
foobar
0e57528666 No c++ comments in C code 2005-04-19 11:41:04 +00:00
aee0f87ccd ChangeLog update 2005-04-19 00:35:13 +00:00
Dmitry Stogov
4e04b5b5fb Fixed memory leak in debug_backtrace() 2005-04-18 07:25:20 +00:00
d28acc8452 ChangeLog update 2005-04-18 00:35:20 +00:00
Marcus Boerger
7aad424332 - Fix special cases of property_exists() 2005-04-17 20:16:14 +00:00
Marcus Boerger
79b9084eef - Fix logic 2005-04-17 20:15:23 +00:00
65c6833d66 ChangeLog update 2005-04-17 00:37:12 +00:00
Sara Golemon
f838f8e37d method_exists() regression test 2005-04-16 15:36:22 +00:00
Sara Golemon
083795cbbf Fix method_exists(), pce is fetched, but ce is used 2005-04-16 15:24:56 +00:00
e6614e451d ChangeLog update 2005-04-16 00:34:23 +00:00
Marcus Boerger
5b21e48557 - Fix even though we already know that the function will be renamed 2005-04-15 18:53:42 +00:00
Andrei Zmievski
4fbddd03d7 Fix certain operations to stop relying on presence of read_property and
write_property handlers. They may be NULL'ed out by certain objects
pretending to be pure arrays, for example. Do checks first.
2005-04-15 17:15:18 +00:00
ecf95a1e66 ChangeLog update 2005-04-13 00:34:35 +00:00
Stanislav Malyshev
5ddf66e004 fix memory corruption if one on the on_modify handlers errors out 2005-04-12 13:06:39 +00:00
6e58f898d5 ChangeLog update 2005-04-09 00:36:05 +00:00
Marcus Boerger
d100328de8 - Fix memory corruption found by rob 2005-04-08 14:33:00 +00:00
Marcus Boerger
c4dbeca169 - Ensure we see all errors. No need for () in return 2005-04-08 14:06:05 +00:00
Marcus Boerger
32182b190a - Add property_exits() 2005-04-08 13:33:15 +00:00
Marcus Boerger
adb3d0197e - No E_ERROR when we just check (where did my 0->1 change go on first commit?) 2005-04-08 12:24:09 +00:00
Marcus Boerger
40cc0b7724 - No E_ERROR when we just check, here visibility simply means there is none 2005-04-08 12:15:24 +00:00
Marcus Boerger
698d301c1c - Simplify getting property info and make it an api function 2005-04-08 11:35:11 +00:00
5921e6c039 ChangeLog update 2005-04-08 00:37:35 +00:00
foobar
355eefe5f9 - Nuke the code duplication 2005-04-07 20:15:21 +00:00
foobar
9356d7fc64 Fix build when USE_ZEND_ALLOC is 0 2005-04-07 16:22:15 +00:00
Zeev Suraski
779f5c5c19 Fix strdup() bug when USE_ZEND_ALLOC is disabled 2005-04-07 13:59:45 +00:00
e89235fa17 ChangeLog update 2005-04-06 00:36:12 +00:00
Marcus Boerger
d77945ef78 - Just return FAILURE & allow NULL without emmidiate error 2005-04-05 09:16:27 +00:00
0b0fc93a55 ChangeLog update 2005-04-05 00:35:37 +00:00
Stanislav Malyshev
95f860d025 MF50: fix backtraces - non-Zend classes have names too 2005-04-04 17:23:38 +00:00
b30fd67736 ChangeLog update 2005-04-04 00:35:42 +00:00
1d5691e2cc ChangeLog update 2005-04-01 01:39:40 +00:00
e707137ed3 ChangeLog update 2005-03-27 01:34:12 +00:00
foobar
fcba5e099c - Fixed bug #28839 (SIGSEGV in interactive mode (php -a))
(kameshj at fastmail dot fm)
2005-03-26 02:43:02 +00:00
8817f64457 ChangeLog update 2005-03-25 01:34:02 +00:00
Marcus Boerger
3f16ad98c9 - Second part of removing temp solution 2005-03-24 23:56:14 +00:00
Marcus Boerger
bfd0e28e5c - Remove potential bad solution for now
# This seemed to be necessary since there were cases where exceptions were
# ignored by exit() with the result of a silent exit without showing the
# pending exception. Since atm we cannot reproduce it anymore we drop it.
2005-03-24 23:52:34 +00:00
0a65a3d505 ChangeLog update 2005-03-24 01:35:55 +00:00
Andrei Zmievski
992c28db75 Consolidate: call _get_zval_ptr_var() for IS_VAR case in
_get_zval_ptr().
2005-03-23 21:05:56 +00:00
3b7f8ef5a1 ChangeLog update 2005-03-22 01:34:26 +00:00
Andrei Zmievski
9bf6a7f229 internal_function->fn_flags is not initialized at this point 2005-03-21 06:20:17 +00:00
0ac2c94ffa ChangeLog update 2005-03-21 01:42:27 +00:00
Marcus Boerger
29b4277e2d - Added missing description (thanks jani) 2005-03-20 22:08:16 +00:00
Marcus Boerger
d7a7913476 - Add new test 2005-03-20 20:14:27 +00:00
1b42ccfbff ChangeLog update 2005-03-20 01:35:48 +00:00
Marcus Boerger
6a6eaf2b72 - More fixes to gracefully act on exception thrown in overload methods 2005-03-19 15:32:18 +00:00
Marcus Boerger
cf020f1334 - Fix #31185 2005-03-19 15:06:39 +00:00
Marcus Boerger
32c2e664a6 - Fix all incarnations of bug #30266
# most probably we should emit a fatal error here but that has to be
# discussed first
2005-03-19 14:25:42 +00:00
Andi Gutmans
e9dbeabd38 - Fix typos 2005-03-19 01:11:48 +00:00
e5f7f63d36 ChangeLog update 2005-03-17 01:43:26 +00:00
Wez Furlong
7de1d279cc don't call rshutdown twice for dl()'d modules.
Spotted by Andrei.
2005-03-16 04:18:42 +00:00
9d5b3e55e3 ChangeLog update 2005-03-16 01:38:05 +00:00
Wez Furlong
35b0b8de99 fix shutdown so that dl()'d modules are unloaded after all the dtors have
been called.
2005-03-15 23:46:29 +00:00
03aa52bae6 ChangeLog update 2005-03-15 01:43:31 +00:00
Zeev Suraski
1dbc47c43f Clarify logic 2005-03-14 12:53:34 +00:00
Stanislav Malyshev
7b6ec9178f ws 2005-03-14 09:21:04 +00:00
81629076f8 ChangeLog update 2005-03-14 01:42:08 +00:00
Stanislav Malyshev
dd64e6dede Do not convert ZEND_HANDLE_FP to ZEND_HANDLE_STREAM but allow using reader/closer
on it
2005-03-13 17:48:45 +00:00
Marcus Boerger
c6e39471de - More exact signatures (even though complete correct not possible atm) 2005-03-13 16:34:37 +00:00
Stanislav Malyshev
c3957fe1e8 Fix get_extension_funcs() - extension names are now lowercased, so should
be function arguments.
2005-03-13 15:30:10 +00:00
Marcus Boerger
d8db1c2cc5 - Actually this is a much better error decription 2005-03-13 13:22:02 +00:00
Marcus Boerger
565e832edf - Bugfix #32290 2005-03-13 13:15:08 +00:00
83c13d22e9 ChangeLog update 2005-03-13 01:36:01 +00:00
Marcus Boerger
6dc04d98f2 - If an exception is pending we don't bail out but show the unhandled exception 2005-03-12 22:42:37 +00:00
73aec110ce ChangeLog update 2005-03-12 01:35:45 +00:00
Marcus Boerger
b4a961a234 - Add new test 2005-03-11 02:32:07 +00:00
5727828651 ChangeLog update 2005-03-11 01:50:54 +00:00
Marcus Boerger
45212809b5 - Irrelevant 2005-03-11 01:32:20 +00:00
Marcus Boerger
b924ef8796 - Don't touch refcount/is_ref 2005-03-11 00:44:34 +00:00
Marcus Boerger
0a93d54c53 - Bugfix #28442 2005-03-10 13:20:26 +00:00
Marcus Boerger
e4599c6944 - #31562 2nd part 2005-03-10 02:32:00 +00:00
Marcus Boerger
affc9bb69b - Fix #31562 2005-03-10 02:29:45 +00:00
7ab5b4ff42 ChangeLog update 2005-03-08 01:42:09 +00:00
Marcus Boerger
757da1eed5 - New Interface Serializeable
- Change signature of unserialize() callback to ease inheritance and
  support code reuse of handlers
2005-03-07 22:23:14 +00:00
Marcus Boerger
4ae4b63f44 - Add updated description 2005-03-07 19:31:44 +00:00
Marcus Boerger
6f00c1b73b - Fix #32226 2005-03-07 19:28:10 +00:00
Zeev Suraski
118b7b567a Revert // </script> patch 2005-03-07 16:48:49 +00:00
b25b123467 ChangeLog update 2005-03-07 01:33:24 +00:00
Marcus Boerger
86ac9559be - Fix by Tim 2005-03-06 22:15:35 +00:00
foobar
0344652b38 Fixed compile warning (bug #32046) 2005-03-06 16:22:02 +00:00
foobar
ede98577e2 Fix compile warning (bug #32047) 2005-03-06 15:55:41 +00:00
37ab4fe1b2 ChangeLog update 2005-03-02 01:35:54 +00:00
Marcus Boerger
0b3ed59fb6 - Support statuc methods/functions 2005-03-01 23:41:49 +00:00
foobar
143d62a179 Fix the fix for one line comments with <script..> </script> tags 2005-03-01 02:17:41 +00:00
87528d9138 ChangeLog update 2005-03-01 01:41:19 +00:00
Marcus Boerger
ddd62f2b07 - Add support for methods dynamically added through object handlers 2005-02-28 18:53:33 +00:00
4832e83a1d ChangeLog update 2005-02-28 01:39:43 +00:00
Marcus Boerger
a586cecf35 - If silence if wanted we do not error out 2005-02-27 22:22:26 +00:00
Marcus Boerger
c4bc32ff7b - Add two new methods
- Fix signature, no need to cast it
2005-02-27 22:21:17 +00:00
Marcus Boerger
c087f07233 - These must be initailized 2005-02-27 22:18:55 +00:00
Marcus Boerger
8324d21955 - Update method_exists to new handlers and allow first parameter as string 2005-02-27 15:03:09 +00:00
foobar
0ec872a153 - Cache the version check results
# ..and prepare for --enable-developer-mode
2005-02-27 12:42:28 +00:00
896efd3a13 ChangeLog update 2005-02-25 01:35:47 +00:00
Andi Gutmans
ac63e8c2c1 - Make one line comments work the same with <script ...> </script> as with
- other tags. This will break scripts that have whitespace at the end
- of the closing tag </script    > but this is barely used as it is
- and I doubt ppl used whitespace. (patch by Jani)
2005-02-24 19:25:44 +00:00
Andi Gutmans
74b722f14c - This part of the patch was right 2005-02-24 18:40:19 +00:00
Dmitry Stogov
f3f8792b9b Fixed bug in ZEND_POST_INC/ZEND_POST_DEC handlers.
These opcodes assume IS_TMP_VAR as result.
2005-02-24 08:52:11 +00:00
Andi Gutmans
de9206a9e9 - Need zend_Compile.h for struct _zend_arg_info definiton (thanks to Joe
Orton)
2005-02-24 03:11:29 +00:00
Andi Gutmans
8140f095c6 - Revert following patch until we decide what is the right way to handle
- this:
 - Fix signatures they are all meant to be able to deal with any type in any
    object storage (though we are still missing several parts)
2005-02-24 02:35:59 +00:00
5caddd66ba ChangeLog update 2005-02-24 01:35:08 +00:00
Derick Rethans
30d9fd6bba - Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
(Patch by Antony Dogval)
2005-02-23 12:20:04 +00:00
Stanislav Malyshev
5b98a09219 Custom object serializer infrastructure
# The detailed announce on the list will follow
2005-02-23 11:15:51 +00:00
foobar
775cfd708e Hack the planet 2005-02-23 07:50:28 +00:00
a5806375b5 ChangeLog update 2005-02-23 01:36:05 +00:00
Marcus Boerger
72c1baa9d8 - Allow to convert Traversable into Aggregate 2005-02-23 01:09:10 +00:00
Marcus Boerger
237cd7e511 - We cannot provide this fallback becuase it requires zend_object ptr's.
# Found that out after discussing with Stas. As a consequence still every
# extension that provides specialised class types is responsible for
# calling its __destruct. This is currently not done for several exts.
2005-02-22 14:53:57 +00:00
foobar
f180478aad Fix cross-compile 2005-02-22 13:52:51 +00:00
foobar
2926bed9f2 Fix build (it was #ifNdef NETWARE..) 2005-02-22 13:49:52 +00:00
Marcus Boerger
3096f1edac - Fix signatures they are all meant to be able to deal with any type in any
object storage (though we are still missing several parts)
2005-02-22 12:06:59 +00:00
Marcus Boerger
93e13aff05 - Force calling of dtors unless otherwise specified (fixes several __destruct bugs) 2005-02-22 11:43:05 +00:00
Anantha Kesari H Y
8eb3b715d1 NetWare can include autoconf generated config headers 2005-02-22 08:48:33 +00:00
Anantha Kesari H Y
d00a304f0e NetWare can make use of the configure script generated header file. 2005-02-22 06:13:49 +00:00
4fd1d7e85a ChangeLog update 2005-02-22 01:36:03 +00:00
Moriyoshi Koizumi
38dfd6886d - Add missing entry. 2005-02-21 15:10:19 +00:00
5a9e110bf9 ChangeLog update 2005-02-21 01:33:58 +00:00
Dmitry Stogov
57d2c2bb83 Fixed possible memory corruption 2005-02-20 10:19:11 +00:00
8f2cfb9d4e ChangeLog update 2005-02-20 01:36:02 +00:00
Rui Hirokawa
539b81e03a fixed #31987 zend-multibyte in ZTS. 2005-02-19 14:33:41 +00:00
81ef9ee5ee ChangeLog update 2005-02-18 01:36:34 +00:00
Marcus Boerger
c17d3dbbb7 - A little optimization to prevent problems when trying to reimplement an
interface inherited from an interfaces that was just implemented......
2005-02-17 21:05:04 +00:00
Marcus Boerger
c88da2bd92 - No C++ ruleZ here 2005-02-17 20:54:56 +00:00
Marcus Boerger
82ccc25113 - Actually we must do this in two steps: 1st resize the table and set all
interfaces, 2nd implement the interfaces
2005-02-17 20:49:56 +00:00
Marcus Boerger
02c35975c0 - Incrementation is done elsewhere 2005-02-17 20:28:46 +00:00
Marcus Boerger
a7e4f84c5d - Fix windows build (funny MS compiler) 2005-02-17 20:15:40 +00:00
foobar
640bc001e5 - Compile fix for systems without int32_t typedef 2005-02-17 04:44:52 +00:00
0992be8577 ChangeLog update 2005-02-14 01:39:25 +00:00
Marcus Boerger
a57b6bad69 - Be more gracious in reflection API 2005-02-13 23:04:49 +00:00
Marcus Boerger
e3a5c9f1d7 - Fix doc comment handling 2005-02-13 13:50:48 +00:00
b0ca477655 ChangeLog update 2005-02-13 01:38:06 +00:00
Marcus Boerger
6159f69023 - Bugfix #30682 (autoconversion from false/true to 0/1 missing in case of
static property default value)
2005-02-12 16:38:47 +00:00
33347d3264 ChangeLog update 2005-02-12 01:32:51 +00:00
Marcus Boerger
a29f5391db - Cleanup foreach handling 2005-02-11 22:26:45 +00:00
a29e968e1e ChangeLog update 2005-02-11 01:37:02 +00:00
foobar
378817d367 - Fixed bug #31920 (zend_strtod.c error: conflicting types for 'int8_t') 2005-02-10 22:19:32 +00:00
Dmitry Stogov
5764d6f41b Fixed bug #30407 (Strange behaviour of default arguments) 2005-02-10 11:45:24 +00:00
d8ad6ff49b ChangeLog update 2005-02-08 01:35:38 +00:00
Dmitry Stogov
c91218ae8a Fixed bug introduced with foreach() optimization patch 2005-02-07 17:54:58 +00:00
Dmitry Stogov
625e06f454 Fixed FE_RESET/FE_FETCH bug.
Now FE_RESET instruction takes jump-address from itself, not from the following FE_FETCH instruction.
2005-02-07 16:44:00 +00:00
Dmitry Stogov
fc96c7f7fa foreash($a as $key => $val) optimization
Removed temorary array creation on each iteration.
2005-02-07 16:09:54 +00:00
Marcus Boerger
2d13dd0ef0 - Remove part of the cleanup which causes a problem with unnormal code
like tests/lang/040.phpt
# However there is a memleak introduced somewhen after august 04 for such
# code now, 5.0 and 4.3 are fine though.
2005-02-07 15:22:38 +00:00
149d9e8407 ChangeLog update 2005-02-07 01:33:17 +00:00
Zeev Suraski
17537ac500 Correct fix for #28804 2005-02-06 23:51:59 +00:00
ba9e818d57 ChangeLog update 2005-02-06 01:43:36 +00:00
Marcus Boerger
662cd8262e - Cleanup foreach statement 2005-02-05 14:01:59 +00:00
9321218742 ChangeLog update 2005-02-05 01:34:50 +00:00
Hartmut Holzgraefe
d88c2b18d4 added some missing zend_[declare|update]_property_...() convenience
functions for bool, double and binary safe string data
2005-02-04 20:24:21 +00:00
443dcdbb60 ChangeLog update 2005-02-04 01:34:25 +00:00
foobar
77ee4950dd - Fixed bug #28804 (ini-file section parsing pattern is buggy). 2005-02-03 03:01:56 +00:00
foobar
91962aafad ws fix 2005-02-03 02:58:21 +00:00
4d0f0d308f ChangeLog update 2005-02-03 01:33:55 +00:00
Stanislav Malyshev
3925337a55 Fix #31720 Invalid object callbacks not caught in array_walk() (patch from Antony Dovgal) 2005-02-02 10:36:02 +00:00
Stanislav Malyshev
d38eed95ea test for Bug #31720 2005-02-02 10:31:53 +00:00
Dmitry Stogov
fd4fe1c8d3 Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name). 2005-02-02 07:19:22 +00:00
24a834dfa4 ChangeLog update 2005-02-02 01:33:27 +00:00
Stanislav Malyshev
1088e28dfa Fix debug_trace with eval (patch from Antony Dovgal) 2005-02-01 19:05:56 +00:00
Stanislav Malyshev
13cd138683 test for eval debug_backtrace bug 2005-02-01 19:03:50 +00:00
38775706eb ChangeLog update 2005-02-01 01:33:19 +00:00
Marcus Boerger
0bb81ce1d6 - Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
to complete api (johannes@php.net)
2005-01-31 22:56:01 +00:00
c73882617e ChangeLog update 2005-01-29 01:38:40 +00:00
Marcus Boerger
0236e31313 - Fix severity (found by johannes) 2005-01-28 20:24:20 +00:00
51ca0e7bbb ChangeLog update 2005-01-26 01:42:26 +00:00
foobar
601140cbe9 New versions of glibc support a RTLD_DEEPBIND flag to dlopen. The
effect of this flag when loading a "foo.so" with undefined symbols is
that the search that symbol starts at foo.so and its dependencies
*before* the loading process' global symbol table.

This is an effective workaround for symbol namespace collisions between
various modules and the libraries on which they depend (where fixing the
respective modules or libraries is not possible e.g. due to API
constraints).

(By: Joe Orton)
2005-01-25 13:08:05 +00:00
Marcus Boerger
82193adc09 - Bugfix #26229 (getIterator() segfaults when it returns arrays or scalars) 2005-01-25 10:40:51 +00:00
Marcus Boerger
14e54cdc1e - Fix dependency 2005-01-25 10:39:49 +00:00
Marcus Boerger
ccca7df1ea - Use correct freeing (thx Dmitry) 2005-01-25 10:07:52 +00:00
838ab371d9 ChangeLog update 2005-01-25 01:34:05 +00:00
Marcus Boerger
3cf4eae4aa - Second and last part of #30725 fix 2005-01-24 20:02:55 +00:00
Marcus Boerger
5206e9c9cf - Allow getIterator() to fail 2005-01-24 19:18:37 +00:00
Marcus Boerger
be86e1696e - Add new test 2005-01-24 19:16:06 +00:00
8839b8b3ec ChangeLog update 2005-01-23 01:36:14 +00:00
foobar
af1f60e601 - Compile fix for systems without uint32_t typedef 2005-01-22 20:28:17 +00:00
Marcus Boerger
1d5c13bdad - Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) 2005-01-22 12:23:01 +00:00
Andi Gutmans
8838c0f860 - Two new API calls for Derick (retreive CV name and value) by Dmitry 2005-01-22 02:29:18 +00:00
1c0479f3f9 ChangeLog update 2005-01-21 01:36:01 +00:00
foobar
2c65e09a4b - Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
aaf344e642 ChangeLog update 2005-01-20 01:35:55 +00:00
foobar
20be664666 - Fixed bug #29183 (Undefined symbol zend_check_private with Solaris CC) 2005-01-19 01:46:26 +00:00
57463e1509 ChangeLog update 2005-01-19 01:34:40 +00:00
Marcus Boerger
406e85a8d8 - Fix memleak 2005-01-19 00:55:56 +00:00
Dmitry Stogov
57a0c3e159 Fixed patch for bug #31478 (SegFault/Memory Leak with empty()) 2005-01-18 12:01:31 +00:00
Dmitry Stogov
30445fb661 Fixed bug #28444 (Cannot access undefined property for object with overloaded property access). 2005-01-18 09:05:39 +00:00
5089dc049a ChangeLog update 2005-01-18 01:36:51 +00:00
Ilia Alshanetsky
9839614829 Fixed bug #30726 (-.1 like numbers are not being handled correctly). 2005-01-18 00:29:43 +00:00
foobar
37d820b03f - Fixed bug #31444 (Memory leak in zend_language_scanner.c) 2005-01-17 17:20:56 +00:00
78306883e2 ChangeLog update 2005-01-16 01:34:48 +00:00
0bea91bbcb ChangeLog update 2005-01-15 01:33:59 +00:00
Andi Gutmans
4908642c8c - Unload on MAC OS X (shouldn't be a reason not to) 2005-01-15 00:11:20 +00:00
Dmitry Stogov
72d02269a9 Restore behavior of $str["str"]. (Now $str["str"] is equivalent to $str[0] again) 2005-01-14 09:01:22 +00:00
0d6b05eb8d ChangeLog update 2005-01-14 01:36:11 +00:00
Dmitry Stogov
ce0884c287 Additional fix for fix of bug #29883 2005-01-13 08:49:06 +00:00
10cba41a70 ChangeLog update 2005-01-13 01:35:42 +00:00
Dmitry Stogov
6fa37163f2 Fixed bug #31098 (isset false positive) 2005-01-12 09:18:31 +00:00
c13ec603b8 ChangeLog update 2005-01-12 01:35:50 +00:00
Moriyoshi Koizumi
e5786084e1 - Test renaming 2005-01-11 21:57:01 +00:00
Moriyoshi Koizumi
9b77de63ed - Fix bug #31436 (isset() incorrectly returns true in dereference of a wrong type) 2005-01-11 21:53:11 +00:00
Moriyoshi Koizumi
357b0c34b6 - Fix bug #31478 (segfault with empty()) 2005-01-11 17:17:48 +00:00
0e8b1d6864 ChangeLog update 2005-01-11 01:35:48 +00:00
Rasmus Lerdorf
2a3ca10a61 Fix OSX DL_UNLOAD macro and actually use it to make shared extensions
work on OSX.
2005-01-10 21:57:30 +00:00
foobar
a96507c1ec - Added missing header sections. 2005-01-10 14:57:36 +00:00
41f1e96817 ChangeLog update 2005-01-10 01:35:59 +00:00
foobar
4589cef5e1 - Added AC_ZEND_C_BIGENDIAN macro (as requested by Andi) 2005-01-10 01:33:29 +00:00
foobar
a139dbf9cc - Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
foobar
2da8b014af MFB: - Rationalize code a bit 2005-01-09 16:18:39 +00:00
85f9f047cf ChangeLog update 2005-01-04 01:36:40 +00:00
Stanislav Malyshev
52ffca0b27 Fix the following nasty bug:
- if compile bails out from the middle of compiling, current_buffer is not restored
- if current_buffer is not null, yy_switch_to_buffer will do: *yy_c_buf_p = yy_hold_char; on
the next request
- which would lead to memory corruption on next request
2005-01-03 10:01:03 +00:00
33cd288edc ChangeLog update 2005-01-03 01:37:14 +00:00
Ilia Alshanetsky
ea7b61dfe5 Fixed bug #31371 (highlight_file() trims new line after heredoc). 2005-01-02 23:53:43 +00:00
c1e5e2c74c ChangeLog update 2004-12-31 01:36:44 +00:00
foobar
4cf9d27072 - Fixed bug #28930 (PHP sources pick wrong header files generated by bison) 2004-12-30 15:18:24 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
69b2401099 ChangeLog update 2004-12-28 01:35:50 +00:00
Zeev Suraski
6b1f070907 MFB 2004-12-27 18:53:27 +00:00
Marcus Boerger
7be33a225e - Need to unmangle the class name here 2004-12-27 15:13:26 +00:00
Dmitry Stogov
beaff87d50 "Undefined variable: %s" noticies were fixed to use one space 2004-12-27 13:43:26 +00:00
Marcus Boerger
03af7c8abc - More proto/error message fixes 2004-12-27 13:32:22 +00:00
Marcus Boerger
4b80deed8e - Small fixlet (by Tony) 2004-12-27 11:41:45 +00:00
Marcus Boerger
8c7bd30a7b - Add ReflectionClass::hasMethod() (thanks to Johannes S.) 2004-12-25 16:27:27 +00:00
4deaf7e243 ChangeLog update 2004-12-25 01:35:07 +00:00
Dmitry Stogov
f91088459b New sarbage collector's bug was fixed (the behavior should be the same as in PHP_5_0) 2004-12-24 09:00:29 +00:00
Dmitry Stogov
e986a1f47e "Undefined variable: %s" noticies were fixed to be compatible with PHP_5_0 2004-12-24 08:24:55 +00:00
287dc7a32b ChangeLog update 2004-12-22 01:36:38 +00:00
61bf7a23ce ChangeLog update 2004-12-21 01:34:54 +00:00
foobar
20fce0ba3e - Use correct header files (in c99 compliant way). uint32_t is preferred. 2004-12-21 01:07:24 +00:00
foobar
4157e50c00 Better fix for endian compile problems. 2004-12-20 20:37:45 +00:00
95467a3a25 ChangeLog update 2004-12-18 01:35:26 +00:00
Andi Gutmans
235e6c0afe - Fixed Bug #30562 Segmentation fault with __call() 2004-12-17 22:24:51 +00:00
Derick Rethans
4394c6f441 - MF43: Fixed strtod for Irix and some other strange platform 2004-12-17 13:17:32 +00:00
3f835d67ba ChangeLog update 2004-12-17 01:36:38 +00:00
Derick Rethans
1c23efeff4 - MF43: Make it compile on HPUX on Itanium 2 2004-12-16 22:22:51 +00:00
Derick Rethans
16c6679125 - MF43: Fixed bug #31107 (strtod on solaris9/intel) 2004-12-16 13:06:58 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Derick Rethans
2689533db9 - MF43: Fixed bug #31110 and #31111 (Zend/zend_strtod.c problems) 2004-12-16 10:38:48 +00:00
5d2b6c784e ChangeLog update 2004-12-16 01:35:24 +00:00
89fac1e1e2 ChangeLog update 2004-12-15 01:51:40 +00:00
Derick Rethans
c0edc48a08 - MFH: Fixed compile error related to bug #28605.
#- But it does not *fix* bug #28605.
2004-12-14 08:43:01 +00:00
b952c194f6 ChangeLog update 2004-12-14 01:33:41 +00:00
Derick Rethans
d91a531d2e - Added "G" modifier to ini setting number format. 2004-12-13 09:09:06 +00:00
8208e517f8 ChangeLog update 2004-12-11 01:33:25 +00:00
c861ce463d ChangeLog update 2004-12-08 01:32:56 +00:00
Dmitry Stogov
5b18b931d0 Fixed bug #30904 (segfault when recording soapclient into session). 2004-12-07 07:46:12 +00:00
e32da28bd5 ChangeLog update 2004-12-07 01:31:57 +00:00
Stanislav Malyshev
11ae876f34 add test 2004-12-06 16:08:08 +00:00
Stanislav Malyshev
9e9c193e1b port fix for #30998: Crash when user error handler returns false on amd64 2004-12-06 15:50:27 +00:00
Dmitry Stogov
7c83c4e418 Fixed bug #30922 (reflective functions crash PHP when interfaces extend themselves) 2004-12-06 11:53:30 +00:00
ecac37514c ChangeLog update 2004-12-02 01:33:36 +00:00
Ilia Alshanetsky
4c5d71917e MFB: Removed extra space that causes problems for some compilers. 2004-12-01 18:52:13 +00:00
Derick Rethans
9c14e2235c - Fixed MacOSX compilation (Patch by Christian) 2004-12-01 15:05:02 +00:00
Dmitry Stogov
ec36f7dc69 Fixed bug #29883 (isset gives invalid values on strings). 2004-12-01 14:02:35 +00:00
8bc100cdae ChangeLog update 2004-12-01 01:32:00 +00:00
5f949d21c2 ChangeLog update 2004-11-30 01:33:45 +00:00
Derick Rethans
ebca90f075 - MFH: Revert Joe's work around a bug in GCC patch as it breaks too many things. 2004-11-29 09:32:15 +00:00
2ec1f4d16a ChangeLog update 2004-11-26 01:33:14 +00:00
75ab06e855 ChangeLog update 2004-11-25 01:33:25 +00:00