--CREDITS--
Daniel Convissor <danielc@php.net>
# TestFest 2010 BKTK
---INI--
-date.timezone=UTC
--SKIPIF--
-<?php
-if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
-if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
-?>
+<?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
--XFAIL--
Windows VC6 libs' floor()/ceil() choke on floats
--FILE--
--TEST--
Bug #51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error)
---XFAIL--
-Bug #51819 isn't fixed yet
--FILE--
<?php
date_default_timezone_set('UTC');
var_dump('this should be the only output');
?>
--EXPECTF--
-string(30) "this should be the only output"
+string(30) "this should be the only output"
\ No newline at end of file
--TEST--
Bug #51994 (date_parse_from_format is parsing invalid date using 'yz' format)
---XFAIL--
-Bug #51994 isn't fixed yet
--FILE--
<?php
$trans_date = '10153'; // 152nd day of year 2010 -> 03.06.2010
}
["is_localtime"]=>
bool(false)
-}
+}
\ No newline at end of file
?>
===DONE===
<?php exit(0); ?>
+--XFAIL--
+Needs bug #39863 fixed
--EXPECT--
PASS
===DONE===
$hostname = 'string_val';
$extra_arg = 10;
var_dump( gethostbynamel($hostname, $extra_arg) );
+
echo "Done";
?>
--EXPECTF--
Warning: gethostbynamel() expects exactly 1 parameter, 2 given in %s on line %d
NULL
+
Done
--TEST--
serialize()/unserialize()/var_dump()
---INI--
-serialize_precision=100
--FILE--
<?php
class t
--TEST--
Test serialize() & unserialize() functions: arrays (circular references)
---INI--
-serialize_precision=100
--FILE--
<?php
/* Prototype : proto string serialize(mixed variable)
--TEST--
Test serialize() & unserialize() functions: objects (abstract classes)
---INI--
-serialize_precision=100
--FILE--
<?php
/* Prototype : proto string serialize(mixed variable)
string(18) "s:10:"extendName";"
string(10) "extendName"
-Done
+Done
\ No newline at end of file