3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $css = " \n \n@charset \"UTF-8\";.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1.container{width:980px;margin-left:auto;margin-right:auto;padding:0 1"; $charset = substr(trim($css),0,strpos($css,";")); echo $charset;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
@charset "UTF-8";.conta