3v4l.org

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

Function prhead:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IBpho
function name:  prhead
number of ops:  39
compiled vars:  !0 = $spc, !1 = $lt, !2 = $gt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1        BIND_GLOBAL                                              !1, 'lt'
          2        BIND_GLOBAL                                              !2, 'gt'
   15     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
   16    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
   17    37        ECHO                                                     '++%24a%3D%3D%24b++%24a%3D%3D%3D%24b++%0A'
   18    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/IBpho
function name:  prline
number of ops:  47
compiled vars:  !0 = $item, !1 = $spc, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   21     2        INIT_FCALL                                               'str_pad'
          3        FETCH_DIM_R                                      ~3      !0, 'typea'
       

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.4 ms | 1428 KiB | 29 Q