summaryrefslogtreecommitdiff
path: root/Zend/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed testsDmitry Stogov2011-12-281-3/+2
|
* Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax)Dmitry Stogov2011-12-281-0/+19
|
* Fix #60613 (Segmentation fault with $cls->{expr}() syntax)Xinchen Hui2011-12-281-9/+8
| | | | | #now the behavior is like 5.3, a COMPILER_ERROR will be triggered
* Fix bug #60611 (Segmentation fault with Cls::{expr}() syntax)Xinchen Hui2011-12-271-0/+28
|
* Fix warning on non-numeric offsetsStanislav Malyshev2011-12-222-6/+2
|
* implement the solution for isset/string offsets, fix bug #60362Stanislav Malyshev2011-12-1913-38/+333
|
* Fixed inconsistent and broken handling of private properties in traits.Stefan Marr2011-12-178-20/+200
| | | | | | | | | # The handling of private properties in classes is now consistent with private properties in traits. # Perviously, privates could cause strict warnings, are were not properly merged into the class when # the parent class had a private property of the same name. Now, we introduce it without notice, # since it is a new and independent property, just like in normal classes. # This problem was diagnosed while working on Bug #60536.
* Fixed bug #60536 (Traits Segfault)Xinchen Hui2011-12-165-0/+192
| | | | | | | | | | | | # this is a tough one, I think I should explain # Zend use zend_object->properties_table both as zval ** and zval *** # if a zend_object->properties is not initialized, the properties_table is zval ** # while in rebuild_object_properties, zend will store the zval ** to zend_object->properties # then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to zobj->properties_table[0] # so when a zend_object inherit form multi parent and these parent have a same property_info->offset # properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault # *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.
* remove irrelevant codes in testXinchen Hui2011-12-051-5/+1
|
* Add xfaild test for a secluded issueXinchen Hui2011-12-051-0/+34
|
* Fixed bug #60444 (Segmentation fault with include & class extending)Dmitry Stogov2011-12-051-0/+18
|
* - Added tests for bug #60350Felipe Pena2011-11-301-0/+11
| | | | | patch by: php@mickweiss.com
* 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
|