????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.135.204.121 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/date/tests/ |
Upload File : |
--TEST-- date suffixes test --FILE-- <?php date_default_timezone_set('UTC'); for ($i = 0; $i < 32; $i++) { var_dump(date("jS", mktime(0,0,0, 1, $i, 2006))); } echo "Done\n"; ?> --EXPECTF-- string(4) "31st" string(3) "1st" string(3) "2nd" string(3) "3rd" string(3) "4th" string(3) "5th" string(3) "6th" string(3) "7th" string(3) "8th" string(3) "9th" string(4) "10th" string(4) "11th" string(4) "12th" string(4) "13th" string(4) "14th" string(4) "15th" string(4) "16th" string(4) "17th" string(4) "18th" string(4) "19th" string(4) "20th" string(4) "21st" string(4) "22nd" string(4) "23rd" string(4) "24th" string(4) "25th" string(4) "26th" string(4) "27th" string(4) "28th" string(4) "29th" string(4) "30th" string(4) "31st" Done