Annotation of embedaddon/php/ext/standard/tests/strings/crypt_chars.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: crypt() function - characters > 0x80
! 3: --SKIPIF--
! 4: <?php
! 5: if (!function_exists('crypt')) {
! 6: die("SKIP crypt() is not available");
! 7: }
! 8: ?>
! 9: --FILE--
! 10: <?php
! 11: var_dump(crypt("À1234abcd", "99"));
! 12: var_dump(crypt("À9234abcd", "99"));
! 13: var_dump(crypt("À1234abcd", "_01234567"));
! 14: var_dump(crypt("À9234abcd", "_01234567"));
! 15: --EXPECT--
! 16: string(13) "99PxawtsTfX56"
! 17: string(13) "99jcVcGxUZOWk"
! 18: string(20) "_01234567IBjxKliXXRQ"
! 19: string(20) "_012345678OSGpGQRVHA"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>