1--TEST--
2Test gmstrftime() function : usage variation - Checking month related formats which was not supported on Windows before VC14.
3--FILE--
4<?php
5echo "*** Testing gmstrftime() : usage variation ***\n";
6
7// Initialise function arguments not being substituted (if any)
8$timestamp = gmmktime(8, 8, 8, 8, 8, 2008);
9setlocale(LC_ALL, "en_US");
10date_default_timezone_set("Asia/Calcutta");
11
12echo "\n-- Testing gmstrftime() function with  Abbreviated month name format %h --\n";
13$format = "%h";
14var_dump( gmstrftime($format) );
15var_dump( gmstrftime($format, $timestamp) );
16
17?>
18--EXPECTF--
19*** Testing gmstrftime() : usage variation ***
20
21-- Testing gmstrftime() function with  Abbreviated month name format %h --
22string(%d) "%s"
23string(3) "Aug"
24