--TEST-- Test trim() function --FILE-- --EXPECT-- string(0) "" string(0) "" string(1) "0" string(1) "0" string(13) " testing trim" string(17) " testing trim " string(15) " testing trim " *** Testing with OBJECTS *** string(4) "bjec" *** Testing with String with embedded NULL *** string(22) "2340567800efgh\xijkl" *** Testing with heredoc string *** string(12) " heredoc str" Done