Playing with PHP



I was having a go at some of the feature of PHP especially around class, traits, interface and properties. Some take aways are :-

a) php don't support multiple returns

b) php support single inheritance (extends) and multiple interface (implements) - that's pretty straight forward

c) php traits are quick way to add feature and functionality. Haven't tested with unit testing yet which can be pretty interesting. Not forgetting multiple traits can be used.

d) autonomous class loading - looked at it but not sure what it brings


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm