contact

or cancel

Tiny PHP

This is a tool you can use to condense your PHP code. While there are no real performance benefits to PHP with a smaller footprint, you may want to use one-liner methods, or obfuscate the code for a specific reason.

Here is the rundown:

  • You must use PHP open/close tags
  • If PHP open/close tags are properly used, PHP can co-exist with HTML
  • Class and function names will not be altered

Excludes ex. $flickr, $this, $object


Default Excludes

  • $GLOBALS
  • $_SERVER
  • $_GET
  • $_POST
  • $_FILES
  • $_REQUEST
  • $_SESSION
  • $_ENV
  • $_COOKIE
  • $php_errormsg
  • $HTTP_RAW_POST_DATA
  • $http_response_header
  • $argc
  • $argv


Options





Reset