3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php header('Content-type: text/css'); $background = "#ffffff"; $color = "#000000"; $green = "#16a86f"; ?> body { background-color: <?=$background?>; } #logo { color: <?=$green?>; font-weight: bold; } #slogan { color: <?=$color?>; } #rahmen { border: 5px solid <?=$green?>; text-align: center; }
Output for 5.4.0 - 7.2.0
body { background-color: #ffffff; } #logo { color: #16a86f; font-weight: bold; } #slogan { color: #000000; } #rahmen { border: 5px solid #16a86f; text-align: center; }
Output for 4.3.0 - 5.3.29
body { background-color: <?=$background?>; } #logo { color: <?=$green?>; font-weight: bold; } #slogan { color: <?=$color?>; } #rahmen { border: 5px solid <?=$green?>; text-align: center; }