PHP Classes

PHP already has built-in classes and functions to handle date...

Recommend this page to a friend!

      Difference between two dates  >  All threads  >  PHP already has built-in classes and...  >  (Un) Subscribe thread alerts  
Subject:PHP already has built-in classes and...
Summary:Package rating comment
Messages:2
Author:CPK Smithies
Date:2012-12-27 16:05:48
Update:2012-12-27 22:32:07
 

 

CPK Smithies rated this package as follows:

Utility: Bad
Consistency: Not sure
Examples: Sufficient

  1. PHP already has built-in classes and...   Reply   Report abuse  
Picture of CPK Smithies CPK Smithies - 2012-12-27 16:05:48
PHP already has built-in classes and functions to handle date and time differences, as well as powerful parsing functions. It is difficult to see what this adds to the standard library. Also, the difference-calculating function is just that - a function - and its class wrapper does nothing. Looks like it was written by someone who does not understand what classes are about.

  2. Re: PHP already has built-in classes and...   Reply   Report abuse  
Picture of Andrzej Krokos Andrzej Krokos - 2012-12-27 22:32:07 - In reply to message 1 from CPK Smithies
This is my comment on your understanding of the working class. Not every class needs to be a breakthrough, as well as not everyone needs to make a breakthrough in php. It is important for its use in practice.