3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DS { /* * Properties for logging in-loops */ private static $_variables = array(); private static $_arrays = array(); /* * Property for global data store */ private static $_globals = array(); private static $_constants = array(); private static $_objects = array(); /* * Properties for logging storage */ private static $_errors = array(); private static $_progress = array(); private static $_syse = array(); const LOGGING_PROGRESS_FILE_PREFIX = 'progress'; const LOGGING_ERRORS_FILE_PREFIX = 'errors'; const LOGGING_DEBUG_FILE_PREFIX = 'debug'; const LOGGING_KEYS_PER_WRITE = 100; const LOGGING_LINE_FORMAT = '%1$s - [%2$s/%3$s][%4$s] %5$s: %6$s'; const LOGGING_SYSE_LINE_FORMAT = '%1$s - [PHP %2$s ON %3$s:%4$s] - %5$s (%6$s)'; /* * Property for temporary storage */ private static $_tmp = array(); /* * Property for logging output */ private static $_log = array(); private static $_fbt = array(); public static function init() { //date folder // /* * Used for wiping data for in-loop stored data * ready for next iteration */ } /* * GENERAL LOGGING */ public static function L($section = 'general', $text = '', $type = 'progress', $kill = 0) { if (!empty($type) && !empty($title)) { self::$_fbt = self::FBT(debug_backtrace()); self::${"_$type"}[] = sprintf(self::LOGGING_LINE_FORMAT, date('dmY-His'), DS::G('CURRENT_TYPE'), DS::G('CURRENT_CRAWLER'), $section, self::$_fbt, $text ); if (count(self::${"_$type"}) >= self::LOGGING_KEYS_PER_WRITE) { self::logWrite($type); } } } public static function SYS_E($errno, $errstr, $errfile, $errline){ if (!$errno) return; switch ($errno) { case E_USER_ERROR: $type='ERROR'; break; case E_USER_WARNING: $type='WARNING'; break; case E_USER_NOTICE: $type='NOTICE'; break; default: $type='UNKNOWN'; break; } self::$_syse[] = sprintf(self::LOGGING_SYSE_LINE_FORMAT, date('dmY-His'), $type, $errfile, $errline, $errstr, $errno ); self::logWrite('syse'); return true; } private static function logWrite($type = '') { if (empty($type)) return false; $fh = fopen(DIR_LOG.date('Ymd').'-'.$type,'a'); foreach (self::${"_$type"} as $item) fwrite($fh,$text."\n"); fclose($fh); self::clearLogBuffer($type); } private static function FBT($fbt,$full=0) { $arr=array(); foreach($bt as $bti){ $arr[]= $bti['function']; } $arr=array_reverse($arr); array_pop($arr); return ($full===1 ? implode('->',$arr) : $arr[count($arr)-1]); } private static function clearLogBuffer($type) { self::${"_$type"} = array(); } /** * // GENERAL LOGGING */ /** * public static function loopReset() { self::$_variables = array(); self::$_arrays = array(); self::$_tmp = array(); self::$_log = array(); } /** * KEY - VALUE STORAGE */ public static function dump($title = '') { if (!empty($title)) { self::$_log[] = $title.' {'; self::$_log[] = ''; } foreach (array('variables','constants','arrays') as $varName) { self::$_log[] = "\t".strtoupper($varName); if (count(self::${"_$varName"}) > 0) { foreach (self::${"_$varName"} as $k => $v) { self::$_log[] = "\t\t".'$'.$k.' = '.self::inlinePrint($v); } } else { self::$_log[] = "\t\tnone"; } } if (!empty($title)) { self::$_log[] = ''; self::$_log[] = '}'; self::$_log[] = ''; } echo implode("\n",self::$_log); } public static function V($name,$val = '') { if (!self::setVal('variables',$name,$val)) return self::$_variables[$name]; } public static function C($name,$val = '') { if (!self::setVal('constants',$name,$val)) return self::$_constants[$name]; } public static function A($name,$array = '') { if (!self::setVal('arrays',$name,$array)) return self::$_arrays[$name]; } public static function G($name,$value) { if (!self::setVal('globals',$name,$value)) return self::$_globals[$name]; } public static function O($name,$value) { if (!self::setVal('objects',$name,$value)) return self::$_global[$name]; } private static function setVal($type,$name,$value) { if (!empty($type) && !empty($name) && !empty($value)) { if (strpos($name,':')!==false && in_array($type,array('arrays','globals'))) { foreach(explode(':',$arr) as $split) $conv.= '[\''.$split.'\']'; if (empty($array)) { eval("return (isset(self::\$_$type$conv) ? self::\$_$type$conv : false);"); }else{ eval("self::\$_arrays$conv = \$array;"); } }else{ self::${"_$type"}[$name] = $value; return true; } } } private static function inlinePrint($data) { return str_replace(array("\n","\t"," "," "),' ',print_r($data,true)); } } DS::A('array1',array(1,2,3)); DS::C('constant1','doom'); DS::dump('prod #12343'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  241     0  E >   INIT_STATIC_METHOD_CALL                                  'DS', 'A'
          1        SEND_VAL                                                 'array1'
          2        SEND_VAL                                                 <array>
          3        DO_FCALL                                      0          
  242     4        INIT_STATIC_METHOD_CALL                                  'DS', 'C'
          5        SEND_VAL                                                 'constant1'
          6        SEND_VAL                                                 'doom'
          7        DO_FCALL                                      0          
  243     8        INIT_STATIC_METHOD_CALL                                  'DS', 'dump'
          9        SEND_VAL                                                 'prod+%2312343'
         10        DO_FCALL                                      0          
  244    11      > RETURN                                                   1

Class DS:
Function init:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  init
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   63     0  E > > RETURN                                                   null

End of function init

Function l:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 51
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 51
Branch analysis from position: 48
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
Branch analysis from position: 51
Branch analysis from position: 10
filename:       /in/eNkNG
function name:  L
number of ops:  52
compiled vars:  !0 = $section, !1 = $text, !2 = $type, !3 = $kill, !4 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   70     0  E >   RECV_INIT                                        !0      'general'
          1        RECV_INIT                                        !1      ''
          2        RECV_INIT                                        !2      'progress'
          3        RECV_INIT                                        !3      0
   72     4        ISSET_ISEMPTY_CV                                 ~5      !2
          5        BOOL_NOT                                         ~6      ~5
          6      > JMPZ_EX                                          ~6      ~6, ->10
          7    >   ISSET_ISEMPTY_CV                                 ~7      !4
          8        BOOL_NOT                                         ~8      ~7
          9        BOOL                                             ~6      ~8
         10    > > JMPZ                                                     ~6, ->51
   73    11    >   INIT_STATIC_METHOD_CALL                                  'FBT'
         12        INIT_FCALL                                               'debug_backtrace'
         13        DO_ICALL                                         $10     
         14        SEND_VAR_NO_REF_EX                                       $10
         15        DO_FCALL                                      0  $11     
         16        ASSIGN_STATIC_PROP                                       '_fbt'
         17        OP_DATA                                                  $11
   74    18        NOP                                                      
         19        FAST_CONCAT                                      ~12     '_', !2
         20        INIT_FCALL                                               'sprintf'
         21        SEND_VAL                                                 '%251%24s+-+%5B%252%24s%2F%253%24s%5D%5B%254%24s%5D+%255%24s%3A+%256%24s'
   75    22        INIT_FCALL                                               'date'
         23        SEND_VAL                                                 'dmY-His'
         24        DO_ICALL                                         $15     
         25        SEND_VAR                                                 $15
   76    26        INIT_STATIC_METHOD_CALL                                  'DS', 'G'
         27        SEND_VAL_EX                                              'CURRENT_TYPE'
         28        DO_FCALL                                      0  $16     
         29        SEND_VAR                                                 $16
   77    30        INIT_STATIC_METHOD_CALL                                  'DS', 'G'
         31        SEND_VAL_EX                                              'CURRENT_CRAWLER'
         32        DO_FCALL                                      0  $17     
         33        SEND_VAR                                                 $17
   78    34        SEND_VAR                                                 !0
   79    35        FETCH_STATIC_PROP_R          unknown             ~18     '_fbt'
         36        SEND_VAL                                                 ~18
   80    37        SEND_VAR                                                 !1
         38        DO_ICALL                                         $19     
   74    39        FETCH_STATIC_PROP_W          global              $13     ~12
         40        ASSIGN_DIM                                               $13
   80    41        OP_DATA                                                  $19
   83    42        NOP                                                      
         43        FAST_CONCAT                                      ~20     '_', !2
         44        FETCH_STATIC_PROP_R          unknown             ~21     ~20
         45        COUNT                                            ~22     ~21
         46        IS_SMALLER_OR_EQUAL                                      100, ~22
         47      > JMPZ                                                     ~23, ->51
   84    48    >   INIT_STATIC_METHOD_CALL                                  'logWrite'
         49        SEND_VAR_EX                                              !2
         50        DO_FCALL                                      0          
   87    51    > > RETURN                                                   null

End of function l

Function sys_e:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
filename:       /in/eNkNG
function name:  SYS_E
number of ops:  42
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline, !4 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   89     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   90     4        BOOL_NOT                                         ~5      !0
          5      > JMPZ                                                     ~5, ->7
          6    > > RETURN                                                   null
   92     7    >   IS_EQUAL                                                 !0, 256
          8      > JMPNZ                                                    ~6, ->14
          9    >   IS_EQUAL                                                 !0, 512
         10      > JMPNZ                                                    ~6, ->16
         11    >   IS_EQUAL                                                 !0, 1024
         12      > JMPNZ                                                    ~6, ->18
         13    > > JMP                                                      ->20
   93    14    >   ASSIGN                                                   !4, 'ERROR'
         15      > JMP                                                      ->22
   94    16    >   ASSIGN                                                   !4, 'WARNING'
         17      > JMP                                                      ->22
   95    18    >   ASSIGN                                                   !4, 'NOTICE'
         19      > JMP                                                      ->22
   96    20    >   ASSIGN                                                   !4, 'UNKNOWN'
         21      > JMP                                                      ->22
   98    22    >   INIT_FCALL                                               'sprintf'
         23        SEND_VAL                                                 '%251%24s+-+%5BPHP+%252%24s+ON+%253%24s%3A%254%24s%5D+-+%255%24s+%28%256%24s%29'
   99    24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'dmY-His'
         26        DO_ICALL                                         $13     
         27        SEND_VAR                                                 $13
  100    28        SEND_VAR                                                 !4
  101    29        SEND_VAR                                                 !2
  102    30        SEND_VAR                                                 !3
  103    31        SEND_VAR                                                 !1
  104    32        SEND_VAR                                                 !0
         33        DO_ICALL                                         $14     
   98    34        FETCH_STATIC_PROP_W          global              $11     '_syse'
         35        ASSIGN_DIM                                               $11
  104    36        OP_DATA                                                  $14
  106    37        INIT_STATIC_METHOD_CALL                                  'logWrite'
         38        SEND_VAL_EX                                              'syse'
         39        DO_FCALL                                      0          
  107    40      > RETURN                                                   <true>
  108    41*     > RETURN                                                   null

End of function sys_e

Function logwrite:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 27
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/eNkNG
function name:  logWrite
number of ops:  35
compiled vars:  !0 = $type, !1 = $fh, !2 = $item, !3 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  110     0  E >   RECV_INIT                                        !0      ''
  112     1        ISSET_ISEMPTY_CV                                         !0
          2      > JMPZ                                                     ~4, ->4
          3    > > RETURN                                                   <false>
  114     4    >   INIT_FCALL                                               'fopen'
          5        FETCH_CONSTANT                                   ~5      'DIR_LOG'
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Ymd'
          8        DO_ICALL                                         $6      
          9        CONCAT                                           ~7      ~5, $6
         10        CONCAT                                           ~8      ~7, '-'
         11        CONCAT                                           ~9      ~8, !0
         12        SEND_VAL                                                 ~9
         13        SEND_VAL                                                 'a'
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !1, $10
  115    16        NOP                                                      
         17        FAST_CONCAT                                      ~12     '_', !0
         18        FETCH_STATIC_PROP_R          unknown             ~13     ~12
         19      > FE_RESET_R                                       $14     ~13, ->27
         20    > > FE_FETCH_R                                               $14, !2, ->27
  116    21    >   INIT_FCALL                                               'fwrite'
         22        SEND_VAR                                                 !1
         23        CONCAT                                           ~15     !3, '%0A'
         24        SEND_VAL                                                 ~15
         25        DO_ICALL                                                 
  115    26      > JMP                                                      ->20
         27    >   FE_FREE                                                  $14
  117    28        INIT_FCALL                                               'fclose'
         29        SEND_VAR                                                 !1
         30        DO_ICALL                                                 
  119    31        INIT_STATIC_METHOD_CALL                                  'clearLogBuffer'
         32        SEND_VAR_EX                                              !0
         33        DO_FCALL                                      0          
  120    34      > RETURN                                                   null

End of function logwrite

Function fbt:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 25
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/eNkNG
function name:  FBT
number of ops:  31
compiled vars:  !0 = $fbt, !1 = $full, !2 = $arr, !3 = $bt, !4 = $bti
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  122     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      0
  124     2        ASSIGN                                                   !2, <array>
  125     3      > FE_RESET_R                                       $6      !3, ->9
          4    > > FE_FETCH_R                                               $6, !4, ->9
  126     5    >   FETCH_DIM_R                                      ~8      !4, 'function'
          6        ASSIGN_DIM                                               !2
          7        OP_DATA                                                  ~8
  125     8      > JMP                                                      ->4
          9    >   FE_FREE                                                  $6
  128    10        INIT_FCALL                                               'array_reverse'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !2, $9
  129    14        INIT_FCALL                                               'array_pop'
         15        SEND_REF                                                 !2
         16        DO_ICALL                                                 
  130    17        IS_IDENTICAL                                             !1, 1
         18      > JMPZ                                                     ~12, ->25
         19    >   INIT_FCALL                                               'implode'
         20        SEND_VAL                                                 '-%3E'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                         $13     
         23        QM_ASSIGN                                        ~14     $13
         24      > JMP                                                      ->29
         25    >   COUNT                                            ~15     !2
         26        SUB                                              ~16     ~15, 1
         27        FETCH_DIM_R                                      ~17     !2, ~16
         28        QM_ASSIGN                                        ~14     ~17
         29    > > RETURN                                                   ~14
  131    30*     > RETURN                                                   null

End of function fbt

Function clearlogbuffer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  clearLogBuffer
number of ops:  6
compiled vars:  !0 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  133     0  E >   RECV                                             !0      
  135     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      '_', !0
          3        ASSIGN_STATIC_PROP                                       ~1
          4        OP_DATA                                                  <array>
  136     5      > RETURN                                                   null

End of function clearlogbuffer

Function dump:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 48
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 48
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 44
Branch analysis from position: 26
2 jumps found. (Code = 77) Position 1 = 30, Position 2 = 42
Branch analysis from position: 30
2 jumps found. (Code = 78) Position 1 = 31, Position 2 = 42
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
Branch analysis from position: 42
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 42
Branch analysis from position: 44
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 48
2 jumps found. (Code = 43) Position 1 = 52, Position 2 = 61
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 61
Branch analysis from position: 48
Branch analysis from position: 11
filename:       /in/eNkNG
function name:  dump
number of ops:  68
compiled vars:  !0 = $title, !1 = $varName, !2 = $v, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  158     0  E >   RECV_INIT                                        !0      ''
  160     1        ISSET_ISEMPTY_CV                                 ~4      !0
          2        BOOL_NOT                                         ~5      ~4
          3      > JMPZ                                                     ~5, ->11
  161     4    >   CONCAT                                           ~8      !0, '+%7B'
          5        FETCH_STATIC_PROP_W          global              $6      '_log'
          6        ASSIGN_DIM                                               $6
          7        OP_DATA                                                  ~8
  162     8        FETCH_STATIC_PROP_W          unknown             $9      '_log'
          9        ASSIGN_DIM                                               $9
         10        OP_DATA                                                  ''
  165    11    > > FE_RESET_R                                       $11     <array>, ->48
         12    > > FE_FETCH_R                                               $11, !1, ->48
  167    13    >   INIT_FCALL                                               'strtoupper'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $14     
         16        CONCAT                                           ~15     '%09', $14
         17        FETCH_STATIC_PROP_W          unknown             $12     '_log'
         18        ASSIGN_DIM                                               $12
         19        OP_DATA                                                  ~15
  169    20        NOP                                                      
         21        FAST_CONCAT                                      ~16     '_', !1
         22        FETCH_STATIC_PROP_R          unknown             ~17     ~16
         23        COUNT                                            ~18     ~17
         24        IS_SMALLER                                               0, ~18
         25      > JMPZ                                                     ~19, ->44
  170    26    >   NOP                                                      
         27        FAST_CONCAT                                      ~20     '_', !1
         28        FETCH_STATIC_PROP_R          unknown             ~21     ~20
         29      > FE_RESET_R                                       $22     ~21, ->42
         30    > > FE_FETCH_R                                       ~23     $22, !2, ->42
         31    >   ASSIGN                                                   !3, ~23
  171    32        CONCAT                                           ~27     '%09%09%24', !3
         33        CONCAT                                           ~28     ~27, '+%3D+'
         34        INIT_STATIC_METHOD_CALL                                  'inlinePrint'
         35        SEND_VAR_EX                                              !2
         36        DO_FCALL                                      0  $29     
         37        CONCAT                                           ~30     ~28, $29
         38        FETCH_STATIC_PROP_W          unknown             $25     '_log'
         39        ASSIGN_DIM                                               $25
         40        OP_DATA                                                  ~30
  170    41      > JMP                                                      ->30
         42    >   FE_FREE                                                  $22
         43      > JMP                                                      ->47
  174    44    >   FETCH_STATIC_PROP_W          unknown             $31     '_log'
         45        ASSIGN_DIM                                               $31
         46        OP_DATA                                                  '%09%09none'
  165    47    > > JMP                                                      ->12
         48    >   FE_FREE                                                  $11
  178    49        ISSET_ISEMPTY_CV                                 ~33     !0
         50        BOOL_NOT                                         ~34     ~33
         51      > JMPZ                                                     ~34, ->61
  179    52    >   FETCH_STATIC_PROP_W          unknown             $35     '_log'
         53        ASSIGN_DIM                                               $35
         54        OP_DATA                                                  ''
  180    55        FETCH_STATIC_PROP_W          unknown             $37     '_log'
         56        ASSIGN_DIM                                               $37
         57        OP_DATA                                                  '%7D'
  181    58        FETCH_STATIC_PROP_W          unknown             $39     '_log'
         59        ASSIGN_DIM                                               $39
         60        OP_DATA                                                  ''
  183    61    >   INIT_FCALL                                               'implode'
         62        SEND_VAL                                                 '%0A'
         63        FETCH_STATIC_PROP_R          unknown             ~41     '_log'
         64        SEND_VAL                                                 ~41
         65        DO_ICALL                                         $42     
         66        ECHO                                                     $42
  184    67      > RETURN                                                   null

End of function dump

Function v:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  V
number of ops:  13
compiled vars:  !0 = $name, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  186     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      ''
  188     2        INIT_STATIC_METHOD_CALL                                  'setVal'
          3        SEND_VAL_EX                                              'variables'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $2      
          7        BOOL_NOT                                         ~3      $2
          8      > JMPZ                                                     ~3, ->12
  189     9    >   FETCH_STATIC_PROP_R          unknown             ~4      '_variables'
         10        FETCH_DIM_R                                      ~5      ~4, !0
         11      > RETURN                                                   ~5
  190    12    > > RETURN                                                   null

End of function v

Function c:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  C
number of ops:  13
compiled vars:  !0 = $name, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  192     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      ''
  194     2        INIT_STATIC_METHOD_CALL                                  'setVal'
          3        SEND_VAL_EX                                              'constants'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $2      
          7        BOOL_NOT                                         ~3      $2
          8      > JMPZ                                                     ~3, ->12
  195     9    >   FETCH_STATIC_PROP_R          unknown             ~4      '_constants'
         10        FETCH_DIM_R                                      ~5      ~4, !0
         11      > RETURN                                                   ~5
  196    12    > > RETURN                                                   null

End of function c

Function a:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  A
number of ops:  13
compiled vars:  !0 = $name, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  198     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      ''
  201     2        INIT_STATIC_METHOD_CALL                                  'setVal'
          3        SEND_VAL_EX                                              'arrays'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $2      
          7        BOOL_NOT                                         ~3      $2
          8      > JMPZ                                                     ~3, ->12
  202     9    >   FETCH_STATIC_PROP_R          unknown             ~4      '_arrays'
         10        FETCH_DIM_R                                      ~5      ~4, !0
         11      > RETURN                                                   ~5
  204    12    > > RETURN                                                   null

End of function a

Function g:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNkNG
function name:  G
number of ops:  13
compiled vars:  !0 = $name, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-----------------------------------------------------------------------------

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
278.42 ms | 1428 KiB | 34 Q