$run); } catch (Exception \$e) { \$result = serialize(\$e); } print \$result; EOF; $result = unserialize(exec('php -r \'' . $prog . '\'')); if ($result instanceof Exception) { throw $result; } return $result; } /** * @dataProvider provider_bbcode_second_pass */ public function test_bbcode_second_pass($msg, $uid, $bitfield, $expected, $ex) { } public function provider_bbcode_second_pass() { return array( array('[b]Test[/b]', '', false, 'Test', null) ); } } ?>