[Tickets #12612] Re: > This will break with $year is not a string type. ctype_int *requires* > the input value to be typed as a string and will return unexpected > results when it is passed an integer (as the phpdoc says this method > takes). oh, thanks for catching this.

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Aug 26 11:01:11 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12612
------------------------------------------------------------------------------
  Ticket             | 12612
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | > This will break with $year is not a string type.
                     | ctype_int *requires*  > the input value to be typed as
                     | a string and will return unexpected  > results when it
                     | is passed an integer (as the phpdoc says this method  >
                     | takes).  oh, thanks for catching this.
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2013-08-26 13:01) wrote:

Plus, ctype is another dependency and can be disabled in PHP. PCRE can't.





More information about the bugs mailing list