![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: iconv() test 3 3: --SKIPIF-- 4: <?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?> 5: --FILE-- 6: <?php 7: for ($i = 0; $i < 3; ++$i) { 8: if (@iconv('blah', 'blah', 'blah') != '') { 9: die("failed\n"); 10: } 11: } 12: echo "success\n"; 13: ?> 14: --EXPECT-- 15: success