Last active
December 31, 2015 19:59
-
-
Save clemherreman/8037266 to your computer and use it in GitHub Desktop.
WTFred
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container_home .crm .bd_e{<?php echo 'foo'; ?>) repeat-x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ob_start(); | |
include('test.css'); | |
$content = ob_get_contents(); | |
ob_end_clean(); | |
echo 'Content: '.PHP_EOL.PHP_EOL; | |
echo $content; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It even works with
<?= 'foo' ?>
:)