")); self::assertSame("pouet", c::to_string(["pouet"])); self::assertSame("hello world", c::to_string(["hello", "world"])); self::assertSame("hello1 world", c::to_string(["hello1", "world"])); self::assertSame("hello", c::to_string(["hello", ""])); self::assertSame("world", c::to_string(["", "world"])); self::assertSame("hello,world", c::to_string(["hello,", "world"])); self::assertSame("hello world", c::to_string(["hello ", "world"])); self::assertSame("hello. world", c::to_string(["hello.", "world"])); self::assertSame("hello.", c::to_string(["hello.", ""])); self::assertSame( "

title<q/>

hellobrave<q/>world

", c::to_string([ [html::H1, "title"], [html::P, [ "hello", [html::SPAN, "brave"], [html::SPAN, ["world"]], ]], ])); } function testXxx() { $content = [[v::h1, "hello"]]; self::assertSame("

hello

", c::to_string($content)); } }