projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Add README.md for github
[m6w6/ext-pq]
/
tests
/
types002.phpt
diff --git
a/tests/types002.phpt
b/tests/types002.phpt
index 3de4400b091ca234c352d1d565320eb7214e35a1..431ee3e1408734a74f688c0c06bb53d08b8a71be 100644
(file)
--- a/
tests/types002.phpt
+++ b/
tests/types002.phpt
@@
-3,10
+3,9
@@
extended type support
--SKIPIF--
<?php
include "_skipif.inc";
--SKIPIF--
<?php
include "_skipif.inc";
-if (!pq\Types::DEFINED) {
- die("skip pq\\Types::DEFINED == false\n");
-}
?>
?>
+--INI--
+date.timezone=UTC
--FILE--
<?php
echo "Test\n";
--FILE--
<?php
echo "Test\n";
@@
-53,7
+52,7
@@
array(12) {
["format"]=>
string(5) "Y-m-d"
["date"]=>
["format"]=>
string(5) "Y-m-d"
["date"]=>
- string(
19) "2013-01-01 00:00:00
"
+ string(
%d) "2013-01-01 00:00:00%r(\.000000)?%r
"
["timezone_type"]=>
int(3)
["timezone"]=>
["timezone_type"]=>
int(3)
["timezone"]=>
@@
-64,7
+63,7
@@
array(12) {
["format"]=>
string(11) "Y-m-d H:i:s"
["date"]=>
["format"]=>
string(11) "Y-m-d H:i:s"
["date"]=>
- string(
19) "1970-01-01 00:00:01
"
+ string(
%d) "1970-01-01 00:00:01%r(\.000000)?%r
"
["timezone_type"]=>
int(1)
["timezone"]=>
["timezone_type"]=>
int(1)
["timezone"]=>
@@
-75,7
+74,7
@@
array(12) {
["format"]=>
string(13) "Y-m-d H:i:s.u"
["date"]=>
["format"]=>
string(13) "Y-m-d H:i:s.u"
["date"]=>
- string(
19) "2013-01-01 01:01:01
"
+ string(
%d) "2013-01-01 01:01:01%r(\.000000)?%r
"
["timezone_type"]=>
int(3)
["timezone"]=>
["timezone_type"]=>
int(3)
["timezone"]=>
@@
-86,7
+85,7
@@
array(12) {
["format"]=>
string(14) "Y-m-d H:i:s.uO"
["date"]=>
["format"]=>
string(14) "Y-m-d H:i:s.uO"
["date"]=>
- string(
19) "2013-01-01 01:01:01
"
+ string(
%d) "2013-01-01 01:01:01%r(\.000000)?%r
"
["timezone_type"]=>
int(1)
["timezone"]=>
["timezone_type"]=>
int(1)
["timezone"]=>