Created
November 28, 2016 22:18
-
-
Save cereal-s/878b782f39b0f6374c8f7d1a98f480fd to your computer and use it in GitHub Desktop.
Read file
This file contains 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 | |
# @see http://php.net/manual/en/wrappers.php.php | |
# | |
# NOTA BENE | |
# __FILE__ does not work as expected when executed by eval() | |
$file = __FILE__; | |
# or by convert.quoted-printable-encode | |
print include "php://filter/convert.base64-encode/resource={$file}"; | |
print PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment