--TEST-- Test substr_count() function (variation - 1) --FILE-- --EXPECTF-- *** Testing possible variations *** -- 3rd or 4th arg as string -- int(1) int(1) int(2) int(2) -- 3rd or 4th arg as NULL -- int(2) int(0) int(2) int(0) int(2) -- overlapped substrings -- int(2) int(2) -- complex strings containing other than 7-bit chars -- int(2) int(2) int(1) -- heredoc string -- int(14) int(16) -- heredoc null string -- int(0) int(0) int(0) Done