1--TEST--
2Test unixtojd() function : error conditions
3--CREDITS--
4edgarsandi - <edgar.r.sandi@gmail.com>
5--SKIPIF--
6<?php include 'skipif.inc'; ?>
7--INI--
8date.timezone=UTC
9--FILE--
10<?php
11putenv('TZ=UTC');
12
13var_dump(unixtojd(-1)) . PHP_EOL;
14var_dump(unixtojd(false)) . PHP_EOL;
15var_dump(unixtojd(null)) . PHP_EOL;
16var_dump(unixtojd(time())) . PHP_EOL;
17var_dump(unixtojd(PHP_INT_MAX)) . PHP_EOL;
18?>
19--EXPECTF--
20bool(false)
21int(%d)
22int(%d)
23int(%d)
24bool(false)
25