summaryrefslogtreecommitdiff
path: root/Zend/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Bug #60369 Crash with static property in traitStefan Marr2011-11-231-0/+17
|
* - Fix testsFelipe Pena2011-11-193-3/+7
|
* - Fixed bug #43200 (Interface implementation / inheritence not possible in ↵Felipe Pena2011-11-192-0/+76
| | | | abstract classes)
* Fixes Bug #54441 (Handling of changing modifiers on a trait alias)Stefan Marr2011-11-181-0/+19
| | | | | # this now results also in a compilation error, since it would open the door for inconsistencies, and violates the DRY principle.
* Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)Dmitry Stogov2011-11-181-0/+16
|
* Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the ↵Stefan Marr2011-11-175-2/+79
| | | | | | | | | | | | | | | | | exception/error) - aliases that are not actually matching anything are treated as errors now. This will make sure that all methods that are expected to be in a class are actually there, or in case a trait changed for instance, that the code breaks already on composition - Precedence declarations are also checked to ensure that the method which is supposed to take precedence actually exists, however, the other traits mentioned in the declaration are not regarded. We are more lenient here, since this avoids unnecessary fragility. - fixed another seamingly unrelated test which broke in the progress but wasn't clear before either.
* - Fixed bug #60099 (__halt_compiler() works in braced namespaces)Felipe Pena2011-11-161-0/+10
|
* - Added class member access on instantiation (e.g. (new foo)->bar()) supportFelipe Pena2011-11-066-0/+143
|
* Fixed Bug #60217 (Requiring the same method from different traits)Stefan Marr2011-11-053-0/+78
| | | | | - also added test to check for inconsistent abstract method definitions, they need to be compatible
* Fix bug #60169 Conjunction of ternary and list crashes PHPXinchen Hui2011-11-031-2/+0
|
* adding memory check for FreeBSD also, TODO: refactor the free memory check ↵Ferenc Kovacs2011-11-021-0/+19
| | | | into a function in an include file
* Fixed bug #60139 (Anonymous functions create cycles not detected by the GC)Dmitry Stogov2011-11-021-0/+30
|
* allocating more than 2GB memory is slow.Ferenc Kovacs2011-11-011-0/+1
|
* Fixed Bug #60153 (Interface method prototypes not enforced when implementd ↵Stefan Marr2011-11-012-1/+20
| | | | | | | | | | via traits.) # Moved the freeing of overriden functions to a point after the check. # The new check comes after the normal inheritance check to give the first check # the opportunity to abort with a more detailed error. # Also fixed a small type in an unrelated test.
* Added missing consistency check for abstract methods required by one trait ↵Stefan Marr2011-11-012-0/+51
| | | | and implemented by another.
* Fixed Bug #60145 (Usage of trait's use statement inside interfaces not ↵Stefan Marr2011-11-011-0/+17
| | | | properly checked.)
* Fixed Bug #60173 (Wrong error message on reflective trait instantiation)Stefan Marr2011-10-311-0/+12
|
* Update testsXinchen Hui2011-10-311-1/+2
|
* Test for #60174 (Notice when array in method prototype error)Xinchen Hui2011-10-311-0/+16
|
* tests for 60169Xinchen Hui2011-10-301-0/+12
|
* check the available memory on linux and skip if it is not enoughFerenc Kovacs2011-10-231-0/+15
|
* shave off 900M memory from this testFerenc Kovacs2011-10-221-4/+1
|
* Changed silent conversion of array to string to produce a notice. (Patrick)Stanislav Malyshev2011-10-214-1/+23
|
* Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC]Stefan Marr2011-10-098-2/+258
| | | | | | | | | | | | | # The handling of legacy constructors defined by traits was corrected. # They are now properly registered and used on instantiation. # The situation for conflicting legacy and __construct constructors is # mostly identical. If they are defined in the class, they override conflicts # and do not collide. However, in case different styles are mixed, between # class and trait definition, we assume a programmer's mistake and report # a collision. # # BTW: +1 for all the fixed tests! `make test` is fun again.
* Fixed bug #55825, and add test scriptXinchen Hui2011-10-031-0/+17
|
* Improve the warning message of incompatible arguments. (#55719)Xinchen Hui2011-09-2316-11/+90
| | | | | And fix tests related.
* - Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)Felipe Pena2011-09-171-0/+9
| | | | | patch by: laruence@php
* Fixed test bug #55713 (Christopher Jones)Pierrick Charron2011-09-161-1/+1
|
* Fixed bug #55578 (Segfault on implode/concat)Dmitry Stogov2011-09-141-0/+20
|
* Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)Dmitry Stogov2011-09-131-0/+33
|
* Remove bogus skipif and make adjust the testsHannes Magnusson2011-09-072-7/+8
|
* Commit Gustavo's closure rebinding patch as desided by voteStanislav Malyshev2011-09-0710-2/+551
|
* - fix skipifPierre Joye2011-09-061-2/+0
|
* - parser version independentPierre Joye2011-08-311-1/+1
|
* - parser version independentPierre Joye2011-08-311-1/+1
|
* - use only the test namePierre Joye2011-08-311-9/+9
|
* - use only the test namePierre Joye2011-08-311-9/+9
|
* - use only the test namePierre Joye2011-08-311-3/+3
|
* - use only test namePierre Joye2011-08-311-1/+1
|
* - make it parser version independentPierre Joye2011-08-311-2/+2
|
* Fixed bug #55524 Traits should not be able to extend a classStefan Marr2011-08-291-0/+15
| | | | | # also used the Z_STRVAL where it seemed appropriate
* Fix bug #55445 (Incomplete implementation of <?= being independant of ↵Etienne Kneuss2011-08-171-0/+8
| | | | short_open_tag)
* Callable typehint following the rules of is_callable($arg, false);Hannes Magnusson2011-08-163-0/+87
|
* Bug #55424 Fatal error when calling a method from a trait that is defined in ↵Stefan Marr2011-08-151-0/+35
| | | | | | | parent class and required by using an abstract method in the trait. # The method got unconditionally deleted from the class, since it was assumed that we override it, but we did not in case of abstract methods coming from a trait. Thus, dont delete when we try to merge in an abstract method.
* Fixed Bug #55355: Inheritance chain was not regarded when checking whether ↵Stefan Marr2011-08-151-0/+46
| | | | the abstract method of a trait is satisfied.
* Fixed Bug #55372 Incorrect handling of literals led to memory corruption.Stefan Marr2011-08-151-0/+28
| | | | | | # Dmitry you might want to review this patch, since I split up zend_add_literal # and added a version for post-pass_two() usage.
* - Fixed bug #55378: binary number literal returns float number though its valueDerick Rethans2011-08-072-0/+308
| | | | | is enough small
* Fixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made ↵Dmitry Stogov2011-08-011-0/+16
| | | | w/o instantiating)
* Added support for Class::{expr}() syntax (Pierrick)Dmitry Stogov2011-08-011-0/+33
|
* Fixed bug #50816 (Using class constants in array definition fails).Dmitry Stogov2011-08-012-1/+49
|