-$obj = new bbcode(
-       [
-               'img' => [
-               ],
-               '' => [
-                       'type' => BBCODE::TYPE_ROOT,
-                       'child' => ['ul','url','img','b','i']
-               ],
-               'i' => [
-                       'type' => BBCODE::TYPE_MULTI
-                       //TODO: by default open tag = <KEY> and close tag = </KEY>
-               ],
-               'b' => [
-                       'type' => BBCODE::TYPE_MULTI
-               ],
-               'ul' => [
-                       'type' => BBCODE::TYPE_MULTI,
-                       'child' => ['li']
-               ],
-               'li' => [
-                       'type' => BBCODE::TYPE_MULTI,
-                       'parent' => ['ul'],
-                       'child' => ['url','img','b','i']
-               ],
-               'url' => [
-                       'type' => BBCODE::TYPE_MULTI,
-                       'parent' => ['','li','b','i'],
-                       'open' => '<a%s>',
-                       'close' => '</a>',
-                       'arg' => 'href'
-               ],
-       ],
-       [
-               ':)' => '<img src="smiley.gif" alt=":)" />',
-               ':(' => '<img src="sad.gif" alt=":(" />',
-               ':D' => '<img src="happy.gif" alt=":D" />',
-               ':p' => '<img src="tong.gif" alt=":p" />',
-               ':|' => '<img src="special.gif" alt=":|" />',
-               ':6:' => '<img src="six.gif" alt=":6:" />'
-       ],
-       BBCODE::REMOVE_EMPTY
-);
-echo $obj->parse('[ul][li][url=https://rapsys.eu]Rapsys[/url][/li][li][url=https://google.fr]Google[/url][/li][/ul]');
-/*
-       you can add regression tests for your extension here
-
-  the output of your test code has to be equal to the
-  text in the --EXPECT-- section below for the tests
-  to pass, differences between the output and the
-  expected text are interpreted as failure
-
-       see php7/README.TESTING for further information on
-  writing regression tests
-*/
-?>