Source for file example-5.php
Documentation is available at example-5.php
header('Content-Type: application/xhtml+xml; charset=utf-8');
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title>An XHTML 1.0 Strict standard template</title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
/* style for XHTML_Text */
pre.var_dump { line-height:1.8em; }
pre.var_dump span.type { color:#006600; background:transparent; }
pre.var_dump span.value { padding:2px; color:#339900; background:#F0F0F0; border: 1px dashed #CCCCCC; }
include_once 'Var_Dump.php';
echo '<h1>example5.php : Text displaying modes</h1>';
* example5.php : Text displaying modes
$linkedArray = array (0 => 'John', 11 => 'Jack', 127 => 'Bill');
'key-1' => 'The quick brown fox jumped over the lazy dog',
'long-key' => & $linkedArray,
echo '<h2>Compact mode (offset 4)</h2>';
'display_mode' => 'HTML4_Text'
echo '<h2>Normal mode (offset 4)</h2>';
'display_mode' => 'HTML4_Text'
echo '<h2>Wide mode (offset 4)</h2>';
'display_mode' => 'HTML4_Text'
Documentation generated on Mon, 11 Mar 2019 15:38:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|