php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
html_table_gen.php File Reference

Go to the source code of this file.

Data Structures

struct  entity_stage3_row
 
struct  entity_table_opt
 

Typedefs

typedef const entity_stage3_rowentity_stage2_row
 
typedef const entity_stage3_row *const * entity_stage1_row
 

Functions

 hashfun ($str)
 

Variables

again k(((i)<< 12)|((j)<< 6)|(k)) typedef union entity_multicodepoint_row
 
 $t =
 
 $encodings
 
 $prevStage2 = array()
 
foreach($encodings as $e) $maxencnum = max(array_map(function($e) { return $e['enumid']; }, $encodings))
 
 $a = range(0, $maxencnum)
 
 foreach ( $encodings as $e)
 
foreach($encodings as $e) $data = file_get_contents("ents_html5.txt")
 
 $pass2 = false
 
 $name = "HTML5"
 
 $ident = "html5"
 
again __pad0__
 
again j
 
 CODE
 
 $dp = array()
 
foreach(explode("\n", $data) as $l) $origdp = $dp
 
 $multicp_rows = array()
 
foreach($dp as $el) foreach( $dp as $el) if ( $pass2< 2) echo ""
 
 else
 
skip_multicp __pad1__
 
 $mstable = array()
 
 for ( $i=0;$i< 0x1E;$i++) = "\n};\n"
 
hashtables __pad2__
 
 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16)
 
 $mask = $numelems - 1
 
 $hashes = array()
 
 sprintf ("0x%X", $numelems)
 
if(! $pass2) elseif( $pass2==1) elseif ( $pass2==2)
 

Typedef Documentation

◆ entity_stage1_row

typedef const entity_stage3_row* const* entity_stage1_row

Definition at line 398 of file html_table_gen.php.

◆ entity_stage2_row

Definition at line 395 of file html_table_gen.php.

Function Documentation

◆ hashfun()

hashfun ( $str)

Definition at line 714 of file html_table_gen.php.

Variable Documentation

◆ $a

$a = range(0, $maxencnum)

Definition at line 249 of file html_table_gen.php.

◆ $data

foreach ( $encodings as $e) $data = file_get_contents("ents_html5.txt")

Definition at line 350 of file html_table_gen.php.

◆ $dp

$dp = array()

Definition at line 418 of file html_table_gen.php.

◆ $encodings

$encodings

Definition at line 122 of file html_table_gen.php.

◆ $hashes

$hashes = array()

Definition at line 731 of file html_table_gen.php.

◆ $ident

$ident = "html5"

Definition at line 353 of file html_table_gen.php.

◆ $mask

$mask = $numelems - 1

Definition at line 730 of file html_table_gen.php.

◆ $maxencnum

foreach ( $encodings as $e) $maxencnum = max(array_map(function($e) { return $e['enumid']; }, $encodings))

Definition at line 248 of file html_table_gen.php.

◆ $mstable

$mstable = array()

Definition at line 516 of file html_table_gen.php.

◆ $multicp_rows

$multicp_rows = array()

Definition at line 433 of file html_table_gen.php.

◆ $name

$name = "HTML5"

Definition at line 352 of file html_table_gen.php.

◆ $numelems

$numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16)

Definition at line 729 of file html_table_gen.php.

◆ $origdp

foreach (explode("\n", $data) as $l) $origdp = $dp

Definition at line 429 of file html_table_gen.php.

◆ $pass2

$pass2 = false

Definition at line 351 of file html_table_gen.php.

◆ $prevStage2

$prevStage2 = array()

Definition at line 175 of file html_table_gen.php.

◆ $t

hashtables $t =

Definition at line 22 of file html_table_gen.php.

◆ __pad0__

again __pad0__

Definition at line 354 of file html_table_gen.php.

◆ __pad1__

skip_multicp __pad1__

Definition at line 485 of file html_table_gen.php.

◆ __pad2__

hashtables __pad2__

Definition at line 687 of file html_table_gen.php.

◆ CODE

CODE

Definition at line 413 of file html_table_gen.php.

◆ else

else

Definition at line 451 of file html_table_gen.php.

◆ elseif

if(! $pass2) elseif($pass2==1) elseif($pass2==2) ( $pass2 = = 2)

Definition at line 793 of file html_table_gen.php.

◆ entity_multicodepoint_row

again k (((i)<< 12)|((j)<< 6)|(k)) typedef union entity_multicodepoint_row

Definition at line 380 of file html_table_gen.php.

◆ for

for ( ) = "\n};\n"

Definition at line 596 of file html_table_gen.php.

◆ foreach

foreach($multicp_rows as $k=> $v) ( $encodings as)

Definition at line 250 of file html_table_gen.php.

◆ if

if ( )
Initial value:
{
char *value
value

Definition at line 449 of file html_table_gen.php.

◆ j

again j

Definition at line 365 of file html_table_gen.php.

◆ sprintf

sprintf("0x%X", $numelems) ( "0x%X" ,
$numelems )

Definition at line 775 of file html_table_gen.php.