--TEST-- Test strcspn() function : usage variations - different strings with default start and len args --FILE-- --EXPECT-- *** Testing strcspn() : with different str and default start and len args *** -- Iteration with str value "" -- int(0) -- Iteration with str value "" -- int(0) -- Iteration with str value " " -- int(0) -- Iteration with str value "\n" -- int(2) -- Iteration with str value "hello world hello world " -- int(2) -- Iteration with str value "hello\tworld\nhello\nworld\n" -- int(2) -- Iteration with str value "1234hello45world 123" -- int(2) -- Iteration with str value "1234hello45world\t123" -- int(2) -- Iteration with str value "helloworld " -- int(2) -- Iteration with str value "hello\0world\012" -- int(2) -- Iteration with str value "" -- int(0) -- Iteration with str value "helloworld" -- int(0) -- Iteration with str value "hello\0world" -- int(0) -- Iteration with str value "helloworld" -- int(2) -- Iteration with str value "helloworld" -- int(2) -- Iteration with str value "hello@Şaworld" -- int(2) -- Iteration with str value "hello\0\100\xaaaworld" -- int(2) Done