????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.221.176.186 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/imap/tests/ |
Upload File : |
--TEST-- Test imap_8bit() function : basic functionality --SKIPIF-- <?php extension_loaded('imap') or die('skip imap extension not available in this build'); ?> --FILE-- <?php /* Prototype : string imap_8bit ( string $string ) * Description: Convert an 8bit string to a quoted-printable string. * Source code: ext/imap/php_imap.c */ echo "*** Testing imap_8bit() : basic functionality ***\n"; var_dump(imap_8bit("String with CRLF at end \r\n")); //NB this appears to be a bug in cclient; a space at end of string should be encoded as =20 var_dump(imap_8bit("String with space at end ")); var_dump(imap_8bit("String with tabs \t\t in middle")); var_dump(imap_8bit("String with tab at end \t")); var_dump(imap_8bit("\x00\x01\x02\x03\x04\xfe\xff\x0a\x0d")); ?> ===Done=== --EXPECT-- *** Testing imap_8bit() : basic functionality *** string(28) "String with CRLF at end=20 " string(25) "String with space at end " string(33) "String with tabs =09=09 in middle" string(26) "String with tab at end =09" string(27) "=00=01=02=03=04=FE=FF=0A=0D" ===Done===