--TEST-- Test mb_substr() function : usage variations - pass different integers to $length arg --SKIPIF-- --FILE-- --EXPECT-- *** Testing mb_substr() : usage variations *** **-- Offset is: -60 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: -50 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: -40 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: -30 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: -20 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: -10 --** -- ASCII String -- string(20) "497320616e20456e676c" --Multibyte String -- string(56) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e3808230" **-- Offset is: 0 --** -- ASCII String -- string(0) "" --Multibyte String -- string(0) "" **-- Offset is: 10 --** -- ASCII String -- string(20) "497320616e20456e676c" --Multibyte String -- string(56) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e3808230" **-- Offset is: 20 --** -- ASCII String -- string(40) "497320616e20456e676c69736820737472696e67" --Multibyte String -- string(100) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" **-- Offset is: 30 --** -- ASCII String -- string(40) "497320616e20456e676c69736820737472696e67" --Multibyte String -- string(100) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" **-- Offset is: 40 --** -- ASCII String -- string(40) "497320616e20456e676c69736820737472696e67" --Multibyte String -- string(100) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" **-- Offset is: 50 --** -- ASCII String -- string(40) "497320616e20456e676c69736820737472696e67" --Multibyte String -- string(100) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" **-- Offset is: 60 --** -- ASCII String -- string(40) "497320616e20456e676c69736820737472696e67" --Multibyte String -- string(100) "e69cace8aa9ee38386e382ade382b9e38388e381a7e38199e380823031323334efbc95efbc96efbc97efbc98efbc99e38082" Done