strip_tags has some differences with php's version
losnappas opened this issue · comments
echo strip_tags("1<<< a");
// => "1"
console.log(strip_tags("1<<< a"))
// => "1<<< a"
locutus/src/php/strings/strip_tags.js
Line 51 in 728ea47
that line esp has some problems: strip_tags("1<<") // => "1<"
It looks like php version counts <
characters and then deletes everything until it finds a matching closing one.