| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2013-03-06 14:30 UTC] derick@php.net
  [2013-03-06 14:30 UTC] derick@php.net
 
-Status: Open
+Status: Not a bug
  [2013-03-06 15:28 UTC] gen dot work at gmail dot com
  [2013-03-06 15:49 UTC] derick@php.net
  [2013-03-06 16:11 UTC] gen dot work at gmail dot com
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 15:00:01 2025 UTC | 
Description: ------------ strtotime() doesn't return false for some invalid formats. Test script: --------------- var_dump(strtotime('invalid_string')); var_dump(strtotime('-1 monthZ')); var_dump(strtotime('-1 monthsx')); Expected result: ---------------- bool(false) bool(false) bool(false) Actual result: -------------- bool(false) int(1360161652) int(1360201252)