Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/popularity/action.php on line 57

Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/safefnrecode/action.php on line 66

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldchangelog/action.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607
cor4:app:phpformat
Table of Contents

PHP file format

Egy PHP file utasítások sorozatából áll. Egy utasítás a tipusát meghatározó egyetlen byte-ból áll, ami a blokk záró utasítása esetén 0. Ezen kívül (szinte) minden utasításnak vannak egyéb paraméterei, amelyek száma az utasítás tipusától függ.

Blokk

tipus = 1

A {…} tipusú PHP blokkot reprezentálja.

Nincs kiegészítő paramétere.

gyermek: n

Kifejezés

tipus = 2

Egy tetszőleges PHP-ban érvényes kifejezést reprezentál.

gyermek: 0

Függvény

tipus = 3

PHPban definiált függvény. Az egyetlen gyermek kötelezően egy blokk.

gyermek: 1

Return

tipus = 4

Visszatérés PHP függvényből

gyermek: 0

Break

tipus = 5

Kilépés ciklusból illetve Switch utasításból.

Nincs kiegészítő paramétere.

gyermek: 0

Global

tipus = 6

A PHP függvények belsejében használt global utasítást reprezentálja.

gyermek: 0

If

tipus = 7

gyermek: n

While

tipus = 8

gyermek: 1

Foreach

tipus = 9

gyermek: 1

For

tipus = 10

gyermek: 1

Switch

tipus = 11

gyermek: n

Do-While

tipus = 12

gyermek: 1