3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function strToHex($string){ $hex = ''; for ($i=0; $i<strlen($string); $i++){ $ord = ord($string[$i]); $hexCode = dechex($ord); $hex .= substr('0'.$hexCode, -2); } return strToUpper($hex); } echo strToHex('The MyThemeShop Updater plugin is required for this theme.'); echo "\n"; echo strToHex('You need to <a href="[plugin_url]">connect with your MyThemeShop account</a> to use the current theme.'); echo "\n"; echo strToHex('Connect now');
based on c9Ehc
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0alpha1
546865204D795468656D6553686F70205570646174657220706C7567696E20697320726571756972656420666F722074686973207468656D652E 596F75206E65656420746F203C6120687265663D225B706C7567696E5F75726C5D223E636F6E6E656374207769746820796F7572204D795468656D6553686F70206163636F756E743C2F613E20746F20757365207468652063757272656E74207468656D652E 436F6E6E656374206E6F77