Source for file example_main.php
Documentation is available at example_main.php
// Class and Function List
// First, the ugly code from the homepage
for ($i = 0; $i< strlen($str); $i++ ) { if ($new_line_counter == 0 ) {if (($i+1 ) < sizeof($a)) { if ($a[$i+1 ] == "?" AND $a[$i] == "<") { out ($outstr); out ("<?php"); $indent++; $new_line_counter++; if (($i+4 ) < sizeof($a)) { if ($a[$i+2 ] == "p" AND $a[$i+3 ] == "h" AND $a[$i+4 ] == "p") $i = $i+3; } $i++; continue; } else { $outstr.= $a[$i]; continue; } } } }
// PHP_Beautifier->setBeautify(false);
for ($i = 0; $i< strlen($str); $i++ ) {if ($new_line_counter == 0 ) {if (($i+1 ) < sizeof($a)) { if ($a[$i+1 ] == "?" AND $a[$i] == "<") { out ($outstr); out ("<?php"); $indent++; $new_line_counter++; if (($i+4 ) < sizeof($a)) { if ($a[$i+2 ] == "p" AND $a[$i+3 ] == "h" AND $a[$i+4 ] == "p") $i = $i+3; } $i++; continue; } else { $outstr.= $a[$i]; continue; } } } }
// PHP_Beautifier->setBeautify(true);
// and the old folding markers!
// The power of callbacks: the next line deactivate the Filter ListClassFunction for functions
// ListClassFunction->includeInList('functions',false);
// ListClassFunction->includeInList('functions',true);
// Third, do you remember Pascal?
// Fourth.... The horrible switch inside switch! ... break includes!
// Fifth: Nested arrays...
// Somebody remember callbacks?
$aMyArray = array (array (array (array ('el'=>1 ,'el'=>2 ))));
$o->getArray () -> createNewThing ();
MyFunction :: singleton ()->record ();
echo (__FUNCTION__.__LINE__.__CLASS__ );
Documentation generated on Mon, 11 Mar 2019 14:13:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|