3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $paddedContentType = ' ' . '% spaecail * char whateverjavascriptwhatever'; $isJavascriptPresent = strpos(strtolower($paddedContentType), 'javascript'); if ($isJavascriptPresent !== false) { echo 'yeah its there'; }
based on STJet
Output for 5.6.38 - 7.3.0rc3
yeah its there