3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Tr{ function __construct(){ } } function Table(){ return '<table>'.implode(func_get_args()) . '</table>'; } function Th(){ return '<th>'.implode(func_get_args()) . '</th>'; } function Tr(){ return '<tr>'.implode(func_get_args()) . '</tr>'; } function P(){ return "<p>"; } var_dump(Table(Tr(Th("Testing testing"))));
based on KXl2F
Output for 4.3.0 - 7.2.0
string(48) "<table><tr><th>Testing testing</th></tr></table>"