Re: [PHP-DEV] Interface and abstract method

2010-05-19 Thread Richard Quadling
On 19 May 2010 13:53, Peter Cowburn wrote: > I think the key issue is that _in the docs_ some interface methods are > marked up as abstract, yet others aren't.  I suggest making them > consistent, having them all being one or t'other. I would show abstract. -- - Richard Quadling "Standing

Re: [PHP-DEV] Interface and abstract method

2010-05-19 Thread Peter Cowburn
On 19 May 2010 13:31, Richard Quadling wrote: > On 19 May 2010 13:27, mathieu.suen wrote: >> Ok so there is no real meaning behind the "abstract". >> Thanks >> >> On 05/18/2010 05:55 PM, Tjerk Anne Meesters wrote: >>> >>> Normally, PHP won't allow access types for interface methods, but the >>> r

Re: [PHP-DEV] Interface and abstract method

2010-05-19 Thread Richard Quadling
On 19 May 2010 13:27, mathieu.suen wrote: > Ok so there is no real meaning behind the "abstract". > Thanks > > On 05/18/2010 05:55 PM, Tjerk Anne Meesters wrote: >> >> Normally, PHP won't allow access types for interface methods, but the >> reflection for SPL is defined inside the C code: >> >> st

Re: [PHP-DEV] Interface and abstract method

2010-05-19 Thread mathieu.suen
Ok so there is no real meaning behind the "abstract". Thanks On 05/18/2010 05:55 PM, Tjerk Anne Meesters wrote: Normally, PHP won't allow access types for interface methods, but the reflection for SPL is defined inside the C code: static const zend_function_entry spl_funcs_OuterIterator[] = {

Re: [PHP-DEV] Interface and abstract method

2010-05-18 Thread Tjerk Anne Meesters
Normally, PHP won't allow access types for interface methods, but the reflection for SPL is defined inside the C code: static const zend_function_entry spl_funcs_OuterIterator[] = { SPL_ABSTRACT_ME(OuterIterator, getInnerIterator, arginfo_recursive_it_void) {NULL, NULL, NULL} }; I

Re: [PHP-DEV] Interface and abstract method

2010-05-18 Thread Richard Quadling
On 18 May 2010 16:12, mathieu.suen wrote: > Hi, > > In the SPL there is some interface that have abstract method: > > *Countable* { > /* Methods */ > abstract public int count > ( void ) > } > > While some interface have "none abstract" method. >

[PHP-DEV] Interface and abstract method

2010-05-18 Thread mathieu.suen
Hi, In the SPL there is some interface that have abstract method: *Countable* { /* Methods */ abstract public int count ( void ) } While some interface have "none abstract" method. *OuterIterator* extends Iterator