1--TEST-- 2Test strftime() function : usage variation - Checking day related formats which was not supported on Windows before VC14. 3--FILE-- 4<?php 5echo "*** Testing strftime() : usage variation ***\n"; 6 7// Initialise function arguments not being substituted (if any) 8setlocale(LC_ALL, "C"); 9date_default_timezone_set("Asia/Calcutta"); 10$timestamp = mktime(8, 8, 8, 8, 8, 2008); 11 12echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n"; 13$format = "%e"; 14var_dump( strftime($format) ); 15var_dump( strftime($format, $timestamp) ); 16?> 17--EXPECTF-- 18*** Testing strftime() : usage variation *** 19 20-- Testing strftime() function with Day of the month as decimal single digit format -- 21 22Deprecated: Function strftime() is deprecated in %s on line %d 23string(2) "%A%d" 24 25Deprecated: Function strftime() is deprecated in %s on line %d 26string(2) " 8" 27