--TEST-- Test chunk_split() function : usage variations - different heredoc strings as 'str' argument --FILE-- --EXPECT-- *** Testing chunk_split() : heredoc strings as 'str' argument *** -- Iteration 1 -- unicode(2) " " -- Iteration 2 -- unicode(2) " " -- Iteration 3 -- unicode(3) "a " -- Iteration 4 -- unicode(45) "This is simp le h ered oc s trin g " -- Iteration 5 -- unicode(90) "This is to c heck chu nk_s plit fun ctio n wi th m ulti line her edoc " -- Iteration 6 -- unicode(59) "This che cks here doc with $, %, & , ch ars " -- Iteration 7 -- unicode(59) "This che cks chu nk_s plit () E scap e ch ars " -- Iteration 8 -- unicode(117) ""To chec k " in h ered oc" I'm sure it' ll w ork also wit h \ whic h is sin gle slas h " Done