xref: /PHP-8.0/ext/date/tests/idate_basic.phpt (revision b5c7a83d)
1--TEST--
2Test idate() function : basic functionality
3--FILE--
4<?php
5echo "*** Testing idate() : basic functionality ***\n";
6
7// Initialise all required variables
8$format = 'Y';
9
10// Calling idate() with mandatory arguments
11date_default_timezone_set("Asia/Calcutta");
12var_dump( idate($format) );
13?>
14--EXPECTF--
15*** Testing idate() : basic functionality ***
16int(%d)
17