Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-205

bson-utcdatetime-001 fails on windows

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.0
    • Affects Version/s: 0.3.0
    • Component/s: None
    • None

      ---- EXPECTED OUTPUT
      string(31) "Thu, 20 Nov 2014 01:03:31 +0000"
      1416445411987
      OK: Got InvalidArgumentException
      Test#0 { "0" : { "$date" : 1416445411987 } }
      string(37) "{ "0" : { "$date" : 1416445411987 } }"
      string(37) "{ "0" : { "$date" : 1416445411987 } }"
      bool(true)
      Test#1 { "0" : { "$date" : 1416445411987 } }
      string(37) "{ "0" : { "$date" : 1416445411987 } }"
      string(37) "{ "0" : { "$date" : 1416445411987 } }"
      bool(true)
      Test#2 { }
      string(3) "{ }"
      string(3) "{ }"
      bool(false)
      ===DONE===
      ---- ACTUAL OUTPUT
      string(31) "Sun, 21 Dec 1969 15:43:25 +0000"
      -893795693
      OK: Got InvalidArgumentException
      Test#0 { "0" : { "$date" : -893795693 } }
      string(34) "{ "0" : { "$date" : -893795693 } }"
      string(34) "{ "0" : { "$date" : -893795693 } }"
      bool(true)
      Test#1 { "0" : { "$date" : -893795693 } }
      string(34) "{ "0" : { "$date" : -893795693 } }"
      string(34) "{ "0" : { "$date" : -893795693 } }"
      bool(true)
      Test#2 { }
      string(3) "{ }"
      string(3) "{ }"
      bool(false)
      ===DONE===
      ---- FAILED
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: