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; 17?> 18--EXPECTF-- 19bool(false) 20int(%d) 21int(%d) 22int(%d) 23