var_dump(\bbn\Str::removeComments(""));
// (string) ""
var_dump(\bbn\Str::removeComments("// this is a comment"));
// (string) ""
var_dump(\bbn\Str::removeComments("/** this is a comment *\/"));
// (string) ""
function(string $st)
{
$pattern = '/|(?:(?:\/\*(?:[^*]|(?:\*+[^*\/]))*\*+\/)|(?:(?
Removes the comments. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way