Var_Dump
[ class tree: Var_Dump ] [ index: Var_Dump ] [ all elements ]

Source for file example-6.php

Documentation is available at example-6.php

  1. <?php
  2. header('Content-Type: application/xhtml+xml; charset=utf-8');
  3. header('Vary: Accept')
  4. ?>
  5. <?xml version="1.0" encoding="UTF-8"?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  7.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  9. <head>
  10.     <title>An XHTML 1.0 Strict standard template</title>
  11.     <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  12.     <meta http-equiv="Content-Style-Type" content="text/css" />
  13. </head>
  14. <body>
  15.  
  16. <?php
  17.  
  18. include_once 'Var_Dump.php';
  19.  
  20. echo '<h1>example6.php : Globals</h1>';
  21.  
  22. /*
  23.  * example6.php : Globals
  24.  *
  25.  */
  26.  
  27. Var_Dump::displayInit(
  28.     array(
  29.         'display_mode' => 'HTML4_Text'
  30.     ),
  31.     array(
  32.         'mode' => 'normal',
  33.         'offset' => 4
  34.     )
  35. );
  36.  
  37. Var_Dump::display($GLOBALS);
  38.  
  39. ?>
  40.  
  41. </body>
  42. </html>

Documentation generated on Mon, 11 Mar 2019 14:36:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.