3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $css = "p {border-radius: 5px;transform: rotate(90deg);}"; print preg_replace('~([;{])((?:linear-gradient|transition|transform|animation|border-radius|box-shadow)[^:]*):([^;}]+)(?=[;}])~s', '\1-webkit-\2:\3;-moz-\2:\3;-o-\2:\3;-html-\2:\3', $css);
Output for 4.3.0 - 7.1.0
p {-webkit-border-radius: 5px;-moz-border-radius: 5px;-o-border-radius: 5px;-html-border-radius: 5px;-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg);-o-transform: rotate(90deg);-html-transform: rotate(90deg);}