3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $email_body ="<html><head></head><body></body>"; $new_body=str_replace("<body>","<body style='font-family:Georgia, Serif !important'",$email_body); echo $new_body;
based on CRN1J
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.8
<html><head></head><body style='font-family:Georgia, Serif !important'</body>