Skip to content

Instantly share code, notes, and snippets.

@clemherreman
Last active December 31, 2015 19:59
Show Gist options
  • Save clemherreman/8037266 to your computer and use it in GitHub Desktop.
Save clemherreman/8037266 to your computer and use it in GitHub Desktop.
WTFred
clemherreman@macclem ~ $ php -v
PHP 5.4.3 (cli) (built: Jun 6 2012 11:03:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
clemherreman@macclem ~ $ php test.php
Content:
.container_home .crm .bd_e{foo) repeat-x
.container_home .crm .bd_e{<?php echo 'foo'; ?>) repeat-x
<?php
ob_start();
include('test.css');
$content = ob_get_contents();
ob_end_clean();
echo 'Content: '.PHP_EOL.PHP_EOL;
echo $content;
@eexit
Copy link

eexit commented Dec 19, 2013

It even works with <?= 'foo' ?>:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment