--EXPECT--
*** Testing DateTimeZone::listAbbreviations() : basic functionality ***
string(5) "array"
-int(338)
+int(399)
-- Format a sample entry --
array(4) {
--TEST--
Bug #51393 (DateTime::createFromFormat() fails if format string contains timezone)
+--INI--
+date.timezone=UTC
--FILE--
<?php
$dt = DateTime::createFromFormat('O', '+0800');
--TEST--
Extensive test for date_diff().
+--INI--
+date.timezone=UTC
--FILE--
<?php
$ok = 0;
?>
--EXPECTF--
-
-Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line 26
-
-Strict Standards: %s for class NewAndOldCtor in %s on line 31
+Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d
Constructor of NewCtor: __construct
Constructor of ExtendsNewCtor: __construct
Constructor of OldCtor: OldCtor
Constructor of D1: __construct
Constructor of D2: C
No constructor for X
-No constructor for Y
\ No newline at end of file
+No constructor for Y
?>
--EXPECTF--
Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d
-
-Strict Standards: %s for class NewAndOldCtor in %s on line %d
New-style constructor:
bool(true)
?>
--EXPECTF--
-
-Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line 26
-
-Strict Standards: %s for class NewAndOldCtor in %s on line 31
+Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d
Constructor of NewCtor: __construct
Constructor of ExtendsNewCtor: __construct
Constructor of OldCtor: OldCtor
}
- Methods [3] {
- Method [ <internal%s> public method close ] {
+ Method [ <internal:standard> public method close ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $dir_handle ]
+ }
}
- Method [ <internal%s> public method rewind ] {
+ Method [ <internal:standard> public method rewind ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $dir_handle ]
+ }
}
- Method [ <internal%s> public method read ] {
+ Method [ <internal:standard> public method read ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $dir_handle ]
+ }
}
}
}
}
Warning: Directory::read(): Unable to find my handle property in %s on line 15
-bool(false)
\ No newline at end of file
+bool(false)