#
c5d84227 |
| 04-Feb-2004 |
Zeev Suraski |
Reinstate early-binding for classes. Note that this is available for downwards compatibility only - and it doesn't work if you use new features (namely, interfaces). Generally, people s
Reinstate early-binding for classes. Note that this is available for downwards compatibility only - and it doesn't work if you use new features (namely, interfaces). Generally, people should declare their classes before using them, but we just didn't want hell to break loose (c)
show more ...
|
#
3df50001 |
| 04-Feb-2004 |
Zeev Suraski |
- Improve $this assignment detection and generalize some code in zend_compile.c
|
#
e1fc3963 |
| 04-Feb-2004 |
Zeev Suraski |
-Error out when trying to re-assign $this
|
#
3ac58bff |
| 04-Feb-2004 |
Zeev Suraski |
- Small fixes
|
#
60a4a48e |
| 03-Feb-2004 |
Marcus Boerger |
Fix Warning
|
#
e4db2fb8 |
| 03-Feb-2004 |
Zeev Suraski |
Remove unused variable
|
Revision tags: php-4.3.5RC2 |
|
#
e1bf9cc4 |
| 03-Feb-2004 |
Zeev Suraski |
Remove redundant code
|
#
848d4aed |
| 03-Feb-2004 |
Zeev Suraski |
Perform a bitwise copy of the object even when __clone() is defined. __clone() is back to not requiring any arguments, as $that is no longer needed ($this already contains a copy of the origi
Perform a bitwise copy of the object even when __clone() is defined. __clone() is back to not requiring any arguments, as $that is no longer needed ($this already contains a copy of the original object, by the time we __clone() is executed). Calling the parent clone is done using parent::__clone()
show more ...
|
#
9e60cb55 |
| 03-Feb-2004 |
Zeev Suraski |
Rewrote exception support. Fixes a few limitations and bugs in the old implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mecha
Rewrote exception support. Fixes a few limitations and bugs in the old implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mechanism will follow on internals@ shortly... Note - this (most probably) breaks the current implementation of set_exception_handler()
show more ...
|
#
8e30d96a |
| 02-Feb-2004 |
Zeev Suraski |
Redesign the clone() feature to fix some fundamental flaws in the previous implementation. Using clone directly is now done using $replica = clone $src; Clone methods must n
Redesign the clone() feature to fix some fundamental flaws in the previous implementation. Using clone directly is now done using $replica = clone $src; Clone methods must now be declared as follows: function __clone($that) { } Clone methods in derived classes can call the __clone method of their parent classes using parent::__clone($that)
show more ...
|
#
d45541b4 |
| 28-Jan-2004 |
Zeev Suraski |
Tweak checks to detect some additional cases. Reorder checks to make more sense.
|
#
be7d41b9 |
| 28-Jan-2004 |
Zeev Suraski |
- Error message fix - Prevent inheritance of the same constant from two interfaces
|
#
a7ff369c |
| 28-Jan-2004 |
Zeev Suraski |
Fixlets
|
#
2adaa11f |
| 28-Jan-2004 |
Zeev Suraski |
Prevent classes from implementing interfaces that have the same function
|
#
673e6e23 |
| 28-Jan-2004 |
Zeev Suraski |
Code relayout
|
Revision tags: RELEASE_1_3b6, php_ibase_before_split |
|
#
3ca44539 |
| 24-Jan-2004 |
Marcus Boerger |
Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling internal non-static methods statically. # As discussed with Zeev: # - For BC standard userspace methods allow th
Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling internal non-static methods statically. # As discussed with Zeev: # - For BC standard userspace methods allow this with an E_STRICT message. # - If you want to implement an internal method taht can be called both # statically and non-statically then use flag ZEND_ACC_ALLOW_STATIC. # - Magic user space methods __*() cannot and __construct, __destruct, # __clone can never be called statically.
show more ...
|
#
6020ffd0 |
| 23-Jan-2004 |
Marcus Boerger |
Simplify detection of methods that must be called dynamic (with object)
|
#
7c2e02d3 |
| 23-Jan-2004 |
Marcus Boerger |
Disallow static declaration of clone
|
#
796938ec |
| 17-Jan-2004 |
foobar |
Nuke compile warning by using the LANG_SCNG macro instead
|
#
59d168ed |
| 14-Jan-2004 |
Zeev Suraski |
Don't allow interfaces to implement anything
|
Revision tags: php-4.3.5RC1 |
|
#
92eb129b |
| 12-Jan-2004 |
Andi Gutmans |
- Return the PHP 4 behavior of not allowing class declerations within - class declerations. This happened when declaring a class within a - method. class A { function foo() {
- Return the PHP 4 behavior of not allowing class declerations within - class declerations. This happened when declaring a class within a - method. class A { function foo() { class B { } } }
show more ...
|
#
910e2006 |
| 11-Jan-2004 |
Wez Furlong |
TSRMLS fix
|
#
e69f4f6f |
| 11-Jan-2004 |
Andi Gutmans |
- This should fix the problem of conditional function decleration on the - same line of code not to work. You should re-evaluate your coding style - if you really code this way :)
|
#
c4b6a637 |
| 09-Jan-2004 |
Stanislav Malyshev |
Bug #25816 - disallow arrays in class constants
|
#
e321eba0 |
| 09-Jan-2004 |
Stanislav Malyshev |
Fix Bug #26077 - memory leak when new() result is not assigned and no constructor defined
|