×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Matthew Speicher
Added: Jun 24, 2016 2:23 PM
Views: 3
Tags: no tags
  1. /***************DEBUG CODE - PLEASE REMOVE WHEN DONE TESTING***************/
  2. echo '<style>#debugOutputBox_dark{padding:5px;border:1px solid #999;width:95%;overflow:scroll;margin:5px;margin-left:10px;background-color:#000;color:#55ccff;font-family:tahoma;font-size:11pt;}</style>';
  3.  
  4. echo '<style>#debugOutputBox_light{padding:5px;border:1px solid #999;width:95%;overflow:scroll;margin:5px;margin-left:10px;background-color:#fff;color:#333;font-family:tahoma;font-size:11pt;}</style>';
  5.  
  6. echo '<div id="debugOutputBox_dark"><span style="color:red">' . __FILE__ . ', line <em>' . __LINE__ . '</em></span><pre>';
  7.  
  8. //$data = get_defined_vars();
  9. //$data = get_declared_classes();
  10. //$data = get_defined_constants();
  11. //$data = get_defined_functions();
  12. //$data = $_SESSION;
  13. //$data = $_SERVER;
  14. //$data = $_POST;
  15. //$data = $_GET;
  16. //$data = $_REQUEST;
  17. $data = get_object_vars($this);
  18.  
  19. print_r($data);
  20. //var_dump($data);
  21. //var_export($data);
  22.  
  23. echo '</pre></div>';
  24. /***************************************END DEBUG CODE******************************************/