[pLog-svn] r6503 -plugins/branches/lifetype-1.2/editcomments/class/action

Jon Daley plogworld at jon.limedaley.com
Thu Jun 5 07:31:31 EDT 2008


On Thu, 5 Jun 2008, Mark Wu wrote:
> I don't think type casting is ambiguous, anyway, it is personal choice.
 	How confident are you that a cast eliminates everything except an 
integer?  (hint, you shouldn't be very confident at all)

How confident are you that a preg_replace("/[^0-9]/", "") does the job? 
100%.



More information about the pLog-svn mailing list