Hidden Features of PHP? -


i know sounds point-whoring question let me explain i'm coming from.

out of college got job @ php shop. worked there year , half , thought had learned there learn programming.

then got job one-man internal development shop @ sizable corporation work in c#. in commitment position started reading ton of blogs , books , realized how wrong think knew everything. learned unit testing, dependency injection , decorator patterns, design principle of loose coupling, composition on inheritance debate, , on , on , on - still absorbing all. needless programming style has changed entirely in last year.

now find myself picking php project doing coding friend's start-up , feel constrained opposed programming in c#. bothers me variables @ class scope have referred appending '$this->' . annoys me none of ides i've tried have intellisense , simpletest unit tests methods have start word 'test'. drives me crazy dynamic typing keeps me specifying implicitly parameter type method expects, , have write switch statement method overloads. can't stand can't have nested namespaces , have use :: operator call base class's constructor.

now have no intention of starting php vs c# debate, rather mean i'm sure there php features either don't know or know yet fail use properly. set in c# universe , having trouble seeing outside glass bowl.

so i'm asking, favorite features of php? things can in can't or more difficult in .net languages?

documentation. documentation gets vote. haven't encountered more thorough online documentation programming language - else have piece various websites , man pages.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -