mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
13 lines
290 B
PHP
13 lines
290 B
PHP
--TEST--
|
|
Test cal_from_jd() function : error conditions
|
|
--CREDITS--
|
|
edgarsandi - <edgar.r.sandi@gmail.com>
|
|
--SKIPIF--
|
|
<?php include 'skipif.inc'; ?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(cal_from_jd(1748326, -1));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: cal_from_jd(): invalid calendar ID -1 in %s on line %d
|
|
bool(false)
|