@@ -252,9 +252,13 @@ public class PhpCompletionTokens {
252252 public static String [] obHandlerFuncs = { "ob_start" };
253253 public static String [] obHandlerElements = { "ob_gzhandler" };
254254
255- public static String [] dateFormatFuncs = { "date" };
255+ public static String [] dateFormatFuncs = { "date:0" , "date_format:1" , "DateTime::format:0" , "DateTime::createFromFormat:0" , "date_create_from_format:0 " };
256256 public static String [] dateFormatTokens = { "d" , "D" , "j" , "jS" , "l" , "N" , "S" , "w" , "z" , "W" , "F" , "m" , "M" , "n" , "t" , "L" , "o" , "Y" , "y" , "a" , "A" , "B" , "g" , "G" , "h" , "H" , "i" , "s" , "u" , "e" , "I" , "O" , "P" , "T" , "Z" , "c" , "r" , "U" , "H:i" , "H:i:s" , "m.d.y" , "m.d.Y" , "m/d/Y" , "d.m.y" , "d.m.Y" , "d.m.Y H:i:s" , "Ymd" , "Y-m-d" , "Y-m-d H:i:s" , "Y/m/d H:i:s" , "F j, Y, g:i a" };
257- public static String [] dateFormatInfos = { "Day of month (01..31)" , "Weekday (Mon..Sun)" , "Day of month (1..31)" , "Day of month (1st..31th)" , "Weekday (Monday..Sunday)" , "Weekday (1..7)" , "Day of month suffix (st, nd, rd, th)" , "Weekday (0..6)" , "Day of year (0..365)" , "Week of year (1..52)" , "Month (January..December)" , "Month (01..12)" , "Month (Jan..Dec)" , "Month (1..12)" , "Number of days in month (28..31)" , "Leap year (1=yes, 0=no)" , "Year in ISO-8601 (ex. 2013)" , "Year (ex. 2013)" , "Year (ex. 13)" , "am or pm" , "AM or PM" , "Swatch Internet time (000..999)" , "Hour (1..12)" , "Hour (0..23)" , "Hour (01..12)" , "Hour (00..23)" , "Minutes (00..59)" , "Seconds (00..59)" , "Microseconds (000000..999999)" , "Timezone identifier (UTC, GMT, ...)" , "Daylight Saving Time (1=yes, 0=no)" , "GMT in hours (ex. +0200)" , "GMT with colon (ex. +02:00)" , "Timezone abbreviation (EST, MDT, ...)" , "Timezone offset in seconds (-43200..50400)" , "ISO 8601 formatted date" , "RFC 2822 formatted date" , "Seconds since Jan 1st, 1970" , "Hour and minutes" , "Hour, minutes and seconds" , "Month, day, year" , "Month, day, year" , "Month, day, year" , "Day, month, year" , "Day, month, year" , "Day, month, year, hour, minutes, seconds" , "Year, month, day" , "Year, month, day" , "Year, month, day, hour, minutes, seconds" , "Year, month, day, hour, minutes, seconds" , "Month, day, year, hour, minutes, am/pm" };
257+ public static String [] dateFormatInfos = { "Day of month (01..31)" , "Weekday (Mon..Sun)" , "Day of month (1..31)" , "Day of month (1st..31th)" , "Weekday (Monday..Sunday)" , "Weekday (1..7)" , "Day of month suffix (st, nd, rd, th)" , "Weekday (0..6)" , "Day of year (0..365)" , "Week of year (1..52)" , "Month (January..December)" , "Month (01..12)" , "Month (Jan..Dec)" , "Month (1..12)" , "Number of days in month (28..31)" , "Leap year (1=yes, 0=no)" , "Year in ISO-8601 (ex. 2014)" , "Year (ex. 2014)" , "Year (ex. 14)" , "am or pm" , "AM or PM" , "Swatch Internet time (000..999)" , "Hour (1..12)" , "Hour (0..23)" , "Hour (01..12)" , "Hour (00..23)" , "Minutes (00..59)" , "Seconds (00..59)" , "Microseconds (000000..999999)" , "Timezone identifier (UTC, GMT, ...)" , "Daylight Saving Time (1=yes, 0=no)" , "GMT in hours (ex. +0200)" , "GMT with colon (ex. +02:00)" , "Timezone abbreviation (EST, MDT, ...)" , "Timezone offset in seconds (-43200..50400)" , "ISO 8601 formatted date" , "RFC 2822 formatted date" , "Seconds since Jan 1st, 1970" , "Hour and minutes" , "Hour, minutes and seconds" , "Month, day, year" , "Month, day, year" , "Month, day, year" , "Day, month, year" , "Day, month, year" , "Day, month, year, hour, minutes, seconds" , "Year, month, day" , "Year, month, day" , "Year, month, day, hour, minutes, seconds" , "Year, month, day, hour, minutes, seconds" , "Month, day, year, hour, minutes, am/pm" };
258+
259+ public static String [] timeFormatFuncs = { "strftime:0" , "gmstrftime:0" , "strptime:1" };
260+ public static String [] timeFormatTokens = { "%a" , "%A" , "%d" , "%e" , "%j" , "%u" , "%w" , "%U" , "%V" , "%W" , "%h" , "%b" , "%B" , "%m" , "%C" , "%g" , "%G" , "%y" , "%Y" , "%H" , "%k" , "%I" , "%l" , "%M" , "%p" , "%P" , "%r" , "%R" , "%S" , "%T" , "%X" , "%z" , "%Z" , "%c" , "%D" , "%F" , "%s" , "%x" , "%n" , "%t" , "%%" , "%d.%m.%y" , "%d.%m.%Y" , "%d.%m.%Y %H:%M:%S" , "%H:%M" , "%H:%M:%S" , "%m.%d.%y" , "%m.%d.%Y" , "%m/%d/%Y" , "%Y%m%d" , "%Y-%m-%d" , "%Y-%m-%d %H:%M:%S" , "%Y/%m/%d %H:%M:%S" };
261+ public static String [] timeFormatInfos = { "Weekday (Mon..Sun)" , "Weekday (Monday..Sunday)" , "Day of month (01..31)" , "Day of month (1..31)" , "Day of year (001..366)" , "Weekday (1..7 =Mon..Sun)" , "Weekday (0..6 =Sun..Sat)" , "Full week number (1..52)" , "Week of year (01..53)" , "Week of year (1..53)" , "Month (Jan..Dec)" , "Month (Jan..Dec)" , "Month (January..December)" , "Month (01..12)" , "Century (ex. 20)" , "Year in ISO-8601 (ex. 14)" , "Year in ISO-8601 (ex. 2014)" , "Year (ex. 14)" , "Year (ex. 2014)" , "Hour (00..23)" , "Hour (0..23)" , "Hour (01..12)" , "Hour (1..12)" , "Minutes (00..59)" , "AM or PM" , "am or pm" , "hour, minutes, seconds, am/pm" , "hour and minutes" , "Seconds (00..59)" , "Hour, minutes and seconds" , "Locale based time" , "Timezone offset (ex. -0500)" , "Timezone abbreviation (EST, MDT, ...)" , "Locale based date and time" , "Month, day, year" , "Year, month, day" , "Unix timestamp" , "Locale based date" , "Newline character" , "Tab character" , "Percentage character" , "Day, month, year" , "Day, month, year" , "Day, month, year, hour, minutes, seconds" , "Hour and minutes" , "Hour, minutes and seconds" , "Month, day, year" , "Month, day, year" , "Month, day, year" , "Year, month, day" , "Year, month, day" , "Year, month, day, hour, minutes, seconds" , "Year, month, day, hour, minutes, seconds" };
258262
259263 public static String [] fileModeFuncs = { "fopen:1" , "popen:1" , "SplFileInfo::openFile:0" };
260264 public static String [] fileModeElements = { "r" , "r+" , "w" , "w+" , "a" , "a+" , "x" , "x+" , "c" , "c+" };
0 commit comments