3v4l.org

run code in 300+ PHP versions simultaneously
<pre><?php print "\n"; $web=true; //output for HTML (true) or Console (false) class simobject{} $res2=imagecreate(1,1); $q=array($res2,NAN,INF,-INF,NULL,'',array(),'true','text',TRUE,1,1e0,'1',FALSE,'false','-','+',chr(0),0,'0',0e0,-1,-1e0,'-01','-001','01','001'); if ($web) $lt='&lt';else $lt='<'; if ($web) $gt='&gt';else $gt='>'; function prhead($spc){ global $lt,$gt; print "\n".str_pad('$a',$spc-1,' ',STR_PAD_BOTH).'VS.'.str_pad('$b',$spc-1,' ',STR_PAD_BOTH).' '; print '$a'.$gt.'$b'." ".'$a'.$lt.'$b'." ".'$a'.$lt.'=$b'." ".'$a'.$gt.'=$b'; print " ".'$a==$b'." ".'$a===$b'." \n"; } function prline($item,$spc){ print str_pad($item['typea'].'('.$item['vala'].')',$spc,' ',STR_PAD_BOTH).' '; print str_pad($item['typeb'].'('.$item['valb'].')',$spc,' ',STR_PAD_BOTH); unset($item['typea']);unset($item['typeb']); unset($item['vala']);unset($item['valb']);unset($item['a']);unset($item['b']); foreach ($item as $i) print ' '.str_pad($i,5,' ',STR_PAD_LEFT); print " \n"; } function prabc($item,$spc){ global $lt,$gt; print str_pad($item['typea'].'('.$item['vala'].') ',$spc,' ',STR_PAD_BOTH).$gt.' '; print str_pad($item['typeb'].'('.$item['valb'].') ',$spc,' ',STR_PAD_BOTH).$gt.' '; print str_pad($item['typec'].'('.$item['valc'].')',$spc,' ',STR_PAD_BOTH); print "\n"; } $wh=array('boolean','string','double','integer'); $to=array('bool','str','float','int'); $cleanup=array("'' . "," . ''","\n",'array ()'); $res=array();$crazy=array();$equality=array();$ltgt=array();$compatible=array();$greater=array(); $types=array();$vals=array(); foreach ($q as $a) { foreach ($q as $b) { $item=array(); $typea=str_replace($wh,$to,gettype($a));$types[$typea]=strlen($typea); $vala=str_replace($cleanup,'',var_export($a,true)); $vals[$vala]=strlen($vala); $typeb=str_replace($wh,$to,gettype($b));$types[$typeb]=strlen($typeb); $valb=str_replace($cleanup,'',var_export($b,true)); $vals[$valb]=strlen($valb); //if (($typea!=$typeb)||($vala!=$valb)){ $item['gt']=var_export($a>$b,true); $item['lt']=var_export($a<$b,true); $item['lte']=var_export($a<=$b,true); $item['gte']=var_export($a>=$b,true); $item['eq']=var_export($a==$b,true); $item['eqs']=var_export($a===$b,true); $same=$item; $item['a']=$a; $item['b']=$b; $item['typea']=$typea; $item['typeb']=$typeb; $item['vala']=$vala; $item['valb']=$valb; $head=array($typea.'('.$vala.')',$typeb.'('.$valb.')'); sort($head); $head=implode('',$head); //funny huh? if ($item['gt']=='true') $greater[]=$item; if (count(array_unique($same))==1) { if (!isset($crazy[$head])) $crazy[$head]=$item; } elseif ($item['eq']!=$item['eqs']) { if (!isset($equality[$head])) $equality[$head]=$item; } elseif (($item['eq']==$item['eqs'])&&($item['eq']=='true')) { if (!isset($compatible[$head])) $compatible[$head]=$item; } elseif (($item['lt']==$item['gt'])&&($item['gt']=='true')) { if (!isset($ltgt[$head])) $ltgt[$head]=$item; } else { if (!isset($res[$head])) $res[$head]=$item; } //} } } ksort($crazy); ksort($res); ksort($ltgt); ksort($equality); ksort($compatible); $spc=max($vals)+max($types)+2; /* print "Very strange: "; prhead($spc); foreach ($crazy as $item) prline($item,$spc); print "</pre>\n"; print "Equal but not identical: \n<pre>"; prhead($spc); foreach ($equality as $item) prline($item,$spc); print "</pre>\n"; print "Lower and Greater at the same time? \n<pre>"; prhead($spc); foreach ($ltgt as $item) prline($item,$spc); print "</pre>\n"; print "Lower or Greater: \n<pre>"; prhead($spc); foreach ($res as $item) prline($item,$spc); */ /* // Mostly A to A comparisons, strange for INF and -INF only print "Compatible (equal and identical): \n<pre>"; prhead($spc); foreach ($compatible as $item) prline($item,$spc); print "</pre>\n"; */ print "\n".'The "$a '.$gt.' $b '.$gt.' $c" --'.$gt.' "$a not '.$gt.' than $c" Conundrum'."\n"; $total=count($greater); print 'Total greater: '.$total."\n"; ?></pre>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 39
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 77) Position 1 = 56, Position 2 = 241
Branch analysis from position: 56
2 jumps found. (Code = 78) Position 1 = 57, Position 2 = 241
Branch analysis from position: 57
2 jumps found. (Code = 77) Position 1 = 58, Position 2 = 239
Branch analysis from position: 58
2 jumps found. (Code = 78) Position 1 = 59, Position 2 = 239
Branch analysis from position: 59
2 jumps found. (Code = 43) Position 1 = 181, Position 2 = 183
Branch analysis from position: 181
2 jumps found. (Code = 43) Position 1 = 189, Position 2 = 195
Branch analysis from position: 189
2 jumps found. (Code = 43) Position 1 = 192, Position 2 = 194
Branch analysis from position: 192
1 jumps found. (Code = 42) Position 1 = 238
Branch analysis from position: 238
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
Branch analysis from position: 194
Branch analysis from position: 195
2 jumps found. (Code = 43) Position 1 = 199, Position 2 = 205
Branch analysis from position: 199
2 jumps found. (Code = 43) Position 1 = 202, Position 2 = 204
Branch analysis from position: 202
1 jumps found. (Code = 42) Position 1 = 238
Branch analysis from position: 238
Branch analysis from position: 204
Branch analysis from position: 205
2 jumps found. (Code = 46) Position 1 = 209, Position 2 = 212
Branch analysis from position: 209
2 jumps found. (Code = 43) Position 1 = 213, Position 2 = 219
Branch analysis from position: 213
2 jumps found. (Code = 43) Position 1 = 216, Position 2 = 218
Branch analysis from position: 216
1 jumps found. (Code = 42) Position 1 = 238
Branch analysis from position: 238
Branch analysis from position: 218
Branch analysis from position: 219
2 jumps found. (Code = 46) Position 1 = 223, Position 2 = 226
Branch analysis from position: 223
2 jumps found. (Code = 43) Position 1 = 227, Position 2 = 233
Branch analysis from position: 227
2 jumps found. (Code = 43) Position 1 = 230, Position 2 = 232
Branch analysis from position: 230
1 jumps found. (Code = 42) Position 1 = 238
Branch analysis from position: 238
Branch analysis from position: 232
Branch analysis from position: 233
2 jumps found. (Code = 43) Position 1 = 236, Position 2 = 238
Branch analysis from position: 236
1 jumps found. (Code = 42) Position 1 = 58
Branch analysis from position: 58
Branch analysis from position: 238
Branch analysis from position: 226
Branch analysis from position: 212
Branch analysis from position: 183
Branch analysis from position: 239
1 jumps found. (Code = 42) Position 1 = 56
Branch analysis from position: 56
Branch analysis from position: 239
Branch analysis from position: 241
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 241
Branch analysis from position: 43
2 jumps found. (Code = 77) Position 1 = 56, Position 2 = 241
Branch analysis from position: 56
Branch analysis from position: 241
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
Branch analysis from position: 43
filename:       /in/FSkl1
function name:  (null)
number of ops:  283
compiled vars:  !0 = $web, !1 = $res2, !2 = $q, !3 = $lt, !4 = $gt, !5 = $wh, !6 = $to, !7 = $cleanup, !8 = $res, !9 = $crazy, !10 = $equality, !11 = $ltgt, !12 = $compatible, !13 = $greater, !14 = $types, !15 = $vals, !16 = $a, !17 = $b, !18 = $item, !19 = $typea, !20 = $vala, !21 = $typeb, !22 = $valb, !23 = $same, !24 = $head, !25 = $spc, !26 = $total
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cpre%3E'
          1        ECHO                                                     '%0A'
    3     2        ASSIGN                                                   !0, <true>
    6     3        INIT_FCALL_BY_NAME                                       'imagecreate'
          4        SEND_VAL_EX                                              1
          5        SEND_VAL_EX                                              1
          6        DO_FCALL                                      0  $28     
          7        ASSIGN                                                   !1, $28
    7     8        INIT_ARRAY                                       ~30     !1
          9        ADD_ARRAY_ELEMENT                                ~30     NAN
         10        ADD_ARRAY_ELEMENT                                ~30     INF
         11        ADD_ARRAY_ELEMENT                                ~30     -INF
         12        ADD_ARRAY_ELEMENT                                ~30     null
         13        ADD_ARRAY_ELEMENT                                ~30     ''
         14        ADD_ARRAY_ELEMENT                                ~30     <array>
         15        ADD_ARRAY_ELEMENT                                ~30     'true'
         16        ADD_ARRAY_ELEMENT                                ~30     'text'
         17        ADD_ARRAY_ELEMENT                                ~30     <true>
         18        ADD_ARRAY_ELEMENT                                ~30     1
         19        ADD_ARRAY_ELEMENT                                ~30     1
         20        ADD_ARRAY_ELEMENT                                ~30     '1'
         21        ADD_ARRAY_ELEMENT                                ~30     <false>
         22        ADD_ARRAY_ELEMENT                                ~30     'false'
         23        ADD_ARRAY_ELEMENT                                ~30     '-'
         24        ADD_ARRAY_ELEMENT                                ~30     '%2B'
         25        ADD_ARRAY_ELEMENT                                ~30     '%00'
         26        ADD_ARRAY_ELEMENT                                ~30     0
         27        ADD_ARRAY_ELEMENT                                ~30     '0'
         28        ADD_ARRAY_ELEMENT                                ~30     0
         29        ADD_ARRAY_ELEMENT                                ~30     -1
         30        ADD_ARRAY_ELEMENT                                ~30     -1
         31        ADD_ARRAY_ELEMENT                                ~30     '-01'
         32        ADD_ARRAY_ELEMENT                                ~30     '-001'
         33        ADD_ARRAY_ELEMENT                                ~30     '01'
         34        ADD_ARRAY_ELEMENT                                ~30     '001'
         35        ASSIGN                                                   !2, ~30
    9    36      > JMPZ                                                     !0, ->39
         37    >   ASSIGN                                                   !3, '%26lt'
         38      > JMP                                                      ->40
         39    >   ASSIGN                                                   !3, '%3C'
   10    40    > > JMPZ                                                     !0, ->43
         41    >   ASSIGN                                                   !4, '%26gt'
         42      > JMP                                                      ->44
         43    >   ASSIGN                                                   !4, '%3E'
   36    44    >   ASSIGN                                                   !5, <array>
   37    45        ASSIGN                                                   !6, <array>
   38    46        ASSIGN                                                   !7, <array>
   40    47        ASSIGN                                                   !8, <array>
         48        ASSIGN                                                   !9, <array>
         49        ASSIGN                                                   !10, <array>
         50        ASSIGN                                                   !11, <array>
         51        ASSIGN                                                   !12, <array>
         52        ASSIGN                                                   !13, <array>
   41    53        ASSIGN                                                   !14, <array>
         54        ASSIGN                                                   !15, <array>
   42    55      > FE_RESET_R                                       $47     !2, ->241
         56    > > FE_FETCH_R                                               $47, !16, ->241
   43    57    > > FE_RESET_R                                       $48     !2, ->239
         58    > > FE_FETCH_R                                               $48, !17, ->239
   44    59    >   ASSIGN                                                   !18, <array>
   46    60        INIT_FCALL                                               'str_replace'
         61        SEND_VAR                                                 !5
         62        SEND_VAR                                                 !6
         63        GET_TYPE                                         ~50     !16
         64        SEND_VAL                                                 ~50
         65        DO_ICALL                                         $51     
         66        ASSIGN                                                   !19, $51
         67        STRLEN                                           ~54     !19
         68        ASSIGN_DIM                                               !14, !19
         69        OP_DATA                                                  ~54
   47    70        INIT_FCALL                                               'str_replace'
         71        SEND_VAR                                                 !7
         72        SEND_VAL                                                 ''
         73        INIT_FCALL                                               'var_export'
         74        SEND_VAR                                                 !16
         75        SEND_VAL                                                 <true>
         76        DO_ICALL                                         $55     
         77        SEND_VAR                                                 $55
         78        DO_ICALL                                         $56     
         79        ASSIGN                                                   !20, $56
   48    80        STRLEN                                           ~59     !20
         81        ASSIGN_DIM                                               !15, !20
         82        OP_DATA                                                  ~59
   49    83        INIT_FCALL                                               'str_replace'
         84        SEND_VAR                                                 !5
         85        SEND_VAR                                                 !6
         86        GET_TYPE                                         ~60     !17
         87        SEND_VAL                                                 ~60
         88        DO_ICALL                                         $61     
         89        ASSIGN                                                   !21, $61
         90        STRLEN                                           ~64     !21
         91        ASSIGN_DIM                                               !14, !21
         92        OP_DATA                                                  ~64
   50    93        INIT_FCALL                                               'str_replace'
         94        SEND_VAR                                                 !7
         95        SEND_VAL                                                 ''
         96        INIT_FCALL                                               'var_export'
         97        SEND_VAR                                                 !17
         98        SEND_VAL                                                 <true>
         99        DO_ICALL                                         $65     
        100        SEND_VAR                                                 $65
        101        DO_ICALL                                         $66     
        102        ASSIGN                                                   !22, $66
   51   103        STRLEN                                           ~69     !22
        104        ASSIGN_DIM                                               !15, !22
        105        OP_DATA                                                  ~69
   54   106        INIT_FCALL                                               'var_export'
        107        IS_SMALLER                                       ~71     !17, !16
        108        SEND_VAL                                                 ~71
        109        SEND_VAL                                                 <true>
        110        DO_ICALL                                         $72     
        111        ASSIGN_DIM                                               !18, 'gt'
        112        OP_DATA                                                  $72
   55   113        INIT_FCALL                                               'var_export'
        114        IS_SMALLER                                       ~74     !16, !17
        115        SEND_VAL                                                 ~74
        116        SEND_VAL                                                 <true>
        117        DO_ICALL                                         $75     
        118        ASSIGN_DIM                                               !18, 'lt'
        119        OP_DATA                                                  $75
   56   120        INIT_FCALL                                               'var_export'
        121        IS_SMALLER_OR_EQUAL                              ~77     !16, !17
        122        SEND_VAL                                                 ~77
        123        SEND_VAL                                                 <true>
        124        DO_ICALL                                         $78     
        125        ASSIGN_DIM                                               !18, 'lte'
        126        OP_DATA                                                  $78
   57   127        INIT_FCALL                                               'var_export'
        128        IS_SMALLER_OR_EQUAL                              ~80     !17, !16
        129        SEND_VAL                                                 ~80
        130        SEND_VAL                                                 <true>
        131        DO_ICALL                                         $81     
        132        ASSIGN_DIM                                               !18, 'gte'
        133        OP_DATA                                                  $81
   58   134        INIT_FCALL                                               'var_export'
        135        IS_EQUAL                                         ~83     !16, !17
        136        SEND_VAL                                                 ~83
        137        SEND_VAL                                                 <true>
        138        DO_ICALL                                         $84     
        139        ASSIGN_DIM                                               !18, 'eq'
        140        OP_DATA                                                  $84
   59   141        INIT_FCALL                                               'var_export'
        142        IS_IDENTICAL                                     ~86     !16, !17
        143        SEND_VAL                                                 ~86
        144        SEND_VAL                                                 <true>
        145        DO_ICALL                                         $87     
        146        ASSIGN_DIM                                               !18, 'eqs'
        147        OP_DATA                                                  $87
   61   148        ASSIGN                                                   !23, !18
   63   149        ASSIGN_DIM                                               !18, 'a'
        150        OP_DATA                                                  !16
   64   151        ASSIGN_DIM                                               !18, 'b'
        152        OP_DATA                                                  !17
   65   153        ASSIGN_DIM                                               !18, 'typea'
        154        OP_DATA                                                  !19
   66   155        ASSIGN_DIM                                               !18, 'typeb'
        156        OP_DATA                                                  !21
   67   157        ASSIGN_DIM                                               !18, 'vala'
        158        OP_DATA                                                  !20
   68   159        ASSIGN_DIM                                               !18, 'valb'
        160        OP_DATA                                                  !22
   70   161        CONCAT                                           ~95     !19, '%28'
        162        CONCAT                                           ~96     ~95, !20
        163        CONCAT                                           ~97     ~96, '%29'
        164        INIT_ARRAY                                       ~98     ~97
        165        CONCAT                                           ~99     !21, '%28'
        166        CONCAT                                           ~100    ~99, !22
        167        CONCAT                                           ~101    ~100, '%29'
        168        ADD_ARRAY_ELEMENT                                ~98     ~101
        169        ASSIGN                                                   !24, ~98
   71   170        INIT_FCALL                                               'sort'
        171        SEND_REF                                                 !24
        172        DO_ICALL                                                 
   72   173        INIT_FCALL                                               'implode'
        174        SEND_VAL                                                 ''
        175        SEND_VAR                                                 !24
        176        DO_ICALL                                         $104    
        177        ASSIGN                                                   !24, $104
   74   178        FETCH_DIM_R                                      ~106    !18, 'gt'
        179        IS_EQUAL                                                 ~106, 'true'
        180      > JMPZ                                                     ~107, ->183
        181    >   ASSIGN_DIM                                               !13
        182        OP_DATA                                                  !18
   76   183    >   INIT_FCALL                                               'array_unique'
        184        SEND_VAR                                                 !23
        185        DO_ICALL                                         $109    
        186        COUNT                                            ~110    $109
        187        IS_EQUAL                                                 ~110, 1
        188      > JMPZ                                                     ~111, ->195
        189    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~112    !9, !24
        190        BOOL_NOT                                         ~113    ~112
        191      > JMPZ                                                     ~113, ->194
        192    >   ASSIGN_DIM                                               !9, !24
        193        OP_DATA                                                  !18
        194    > > JMP                                                      ->238
   77   195    >   FETCH_DIM_R                                      ~115    !18, 'eq'
        196        FETCH_DIM_R                                      ~116    !18, 'eqs'
        197        IS_NOT_EQUAL                                             ~115, ~116
        198      > JMPZ                                                     ~117, ->205
        199    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~118    !10, !24
        200        BOOL_NOT                                         ~119    ~118
        201      > JMPZ                                                     ~119, ->204
        202    >   ASSIGN_DIM                                               !10, !24
        203        OP_DATA                                                  !18
        204    > > JMP                                                      ->238
   78   205    >   FETCH_DIM_R                                      ~121    !18, 'eq'
        206        FETCH_DIM_R                                      ~122    !18, 'eqs'
        207        IS_EQUAL                                         ~123    ~121, ~122
        208      > JMPZ_EX                                          ~123    ~123, ->212
        209    >   FETCH_DIM_R                                      ~124    !18, 'eq'
        210        IS_EQUAL                                         ~125    ~124, 'true'
        211        BOOL                                             ~123    ~125
        212    > > JMPZ                                                     ~123, ->219
   79   213    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~126    !12, !24
        214        BOOL_NOT                                         ~127    ~126
        215      > JMPZ                                                     ~127, ->218
        216    >   ASSIGN_DIM                                               !12, !24
        217        OP_DATA                                                  !18
        218    > > JMP                                                      ->238
   80   219    >   FETCH_DIM_R                                      ~129    !18, 'lt'
        220        FETCH_DIM_R                                      ~130    !18, 'gt'
        221        IS_EQUAL                                         ~131    ~129, ~130
        222      > JMPZ_EX                                          ~131    ~131, ->226
        223    >   FETCH_DIM_R                                      ~132    !18, 'gt'
        224        IS_EQUAL                                         ~133    ~132, 'true'
        225        BOOL                                             ~131    ~133
        226    > > JMPZ                                                     ~131, ->233
   81   227    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~134    !11, !24
        228        BOOL_NOT                                         ~135    ~134
        229      > JMPZ                                                     ~135, ->232
        230    >   ASSIGN_DIM                                               !11, !24
        231        OP_DATA                                                  !18
        232    > > JMP                                                      ->238
   82   233    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~137    !8, !24
        234        BOOL_NOT                                         ~138    ~137
        235      > JMPZ                                                     ~138, ->238
        236    >   ASSIGN_DIM                                               !8, !24
        237        OP_DATA                                                  !18
   43   238    > > JMP                                                      ->58
        239    >   FE_FREE                                                  $48
   42   240      > JMP                                                      ->56
        241    >   FE_FREE                                                  $47
   87   242        INIT_FCALL                                               'ksort'
        243        SEND_REF                                                 !9
        244        DO_ICALL                                                 
   88   245        INIT_FCALL                                               'ksort'
        246        SEND_REF                                                 !8
        247        DO_ICALL                                                 
   89   248        INIT_FCALL                                               'ksort'
        249        SEND_REF                                                 !11
        250        DO_ICALL                                                 
   90   251        INIT_FCALL                                               'ksort'
        252        SEND_REF                                                 !10
        253        DO_ICALL                                                 
   91   254        INIT_FCALL                                               'ksort'
        255        SEND_REF                                                 !12
        256        DO_ICALL                                                 
   93   257        INIT_FCALL                                               'max'
        258        SEND_VAR                                                 !15
        259        DO_ICALL                                         $145    
        260        INIT_FCALL                                               'max'
        261        SEND_VAR                                                 !14
        262        DO_ICALL                                         $146    
        263        ADD                                              ~147    $145, $146
        264        ADD                                              ~148    ~147, 2
        265        ASSIGN                                                   !25, ~148
  120   266        CONCAT                                           ~150    '%0AThe+%22%24a+', !4
        267        CONCAT                                           ~151    ~150, '+%24b+'
        268        CONCAT                                           ~152    ~151, !4
        269        CONCAT                                           ~153    ~152, '+%24c%22+--'
        270        CONCAT                                           ~154    ~153, !4
        271        CONCAT                                           ~155    ~154, '+%22%24a+not+'
        272        CONCAT                                           ~156    ~155, !4
        273        CONCAT                                           ~157    ~156, '+than+%24c%22+Conundrum'
        274        CONCAT                                           ~158    ~157, '%0A'
        275        ECHO                                                     ~158
  121   276        COUNT                                            ~159    !13
        277        ASSIGN                                                   !26, ~159
  122   278        CONCAT                                           ~161    'Total+greater%3A+', !26
        279        CONCAT                                           ~162    ~161, '%0A'
        280        ECHO                                                     ~162
  124   281        ECHO                                                     '%3C%2Fpre%3E'
        282      > RETURN                                                   1

Function prhead:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FSkl1
function name:  prhead
number of ops:  39
compiled vars:  !0 = $spc, !1 = $lt, !2 = $gt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        BIND_GLOBAL                                              !1, 'lt'
          2        BIND_GLOBAL                                              !2, 'gt'
   14     3        INIT_FCALL                                               'str_pad'
          4        SEND_VAL                                                 '%24a'
          5        SUB                                              ~3      !0, 1
          6        SEND_VAL                                                 ~3
          7        SEND_VAL                                                 '+'
          8        SEND_VAL                                                 2
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      '%0A', $4
         11        CONCAT                                           ~6      ~5, 'VS.'
         12        INIT_FCALL                                               'str_pad'
         13        SEND_VAL                                                 '%24b'
         14        SUB                                              ~7      !0, 1
         15        SEND_VAL                                                 ~7
         16        SEND_VAL                                                 '+'
         17        SEND_VAL                                                 2
         18        DO_ICALL                                         $8      
         19        CONCAT                                           ~9      ~6, $8
         20        CONCAT                                           ~10     ~9, '+++'
         21        ECHO                                                     ~10
   15    22        CONCAT                                           ~11     '%24a', !2
         23        CONCAT                                           ~12     ~11, '%24b'
         24        CONCAT                                           ~13     ~12, '+++'
         25        CONCAT                                           ~14     ~13, '%24a'
         26        CONCAT                                           ~15     ~14, !1
         27        CONCAT                                           ~16     ~15, '%24b'
         28        CONCAT                                           ~17     ~16, '+++'
         29        CONCAT                                           ~18     ~17, '%24a'
         30        CONCAT                                           ~19     ~18, !1
         31        CONCAT                                           ~20     ~19, '%3D%24b'
         32        CONCAT                                           ~21     ~20, '++'
         33        CONCAT                                           ~22     ~21, '%24a'
         34        CONCAT                                           ~23     ~22, !2
         35        CONCAT                                           ~24     ~23, '%3D%24b'
         36        ECHO                                                     ~24
   16    37        ECHO                                                     '++%24a%3D%3D%24b++%24a%3D%3D%3D%24b++%0A'
   17    38      > RETURN                                                   null

End of function prhead

Function prline:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 34, Position 2 = 44
Branch analysis from position: 34
2 jumps found. (Code = 78) Position 1 = 35, Position 2 = 44
Branch analysis from position: 35
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 44
filename:       /in/FSkl1
function name:  prline
number of ops:  47
compiled vars:  !0 = $item, !1 = $spc, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   20     2        INIT_FCALL                                               'str_pad'
          3        FETCH_DIM_R                                      ~3      !0, 'typea'
          4        CONCAT                                           ~4      ~3, '%28'
          5        FETCH_DIM_R                                      ~5      !0, 'vala'
          6        CONCAT                                           ~6      ~4, ~5
          7        CONCAT                                           ~7      ~6, '%29'
          8  

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.58 ms | 1428 KiB | 29 Q