Example #1
0
 static function parseString($source, $options = array())
 {
     $instance = new H2o(null, array_merge($options, array('loader' => false)));
     $instance->nodelist = $instance->parse($source);
     return $instance;
 }