Hello, 

 

Currently I'm make some utilities classes and I took the idea from java to make 
some wrappers class like String, Integer and so on. This allows me to use the 
type hint for basic types in php.  Anyone have a clue if replacing the all in 
one type in php for objects types will degrade the performance?

 

Also for every controller class that I'm making I'm also making exceptions 
class of every error that it can generate.  Same questions: It will degrade 
performance to throw an exception instead of lest say a pear error or return 
false?

 

Just for know, I'm doing this because I believe that it will eliminate some o 
problems o development and will eliminate some basic validations.





Any tips appreciate



Angelo



Reply via email to