Skip to content

Instantly share code, notes, and snippets.

@gslin
Created May 9, 2013 10:27
Show Gist options
  • Save gslin/5546751 to your computer and use it in GitHub Desktop.
Save gslin/5546751 to your computer and use it in GitHub Desktop.
<?php
$old_error_reporting = error_reporting(0);
$eval_result = eval('?' . '>' . trim(file_get_contents($this->getSource())));
error_reporting($old_error_reporting);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment