3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "<pre>"; require_once("guitar_user-input.php"); class guitar_variable extends user_input{ /* public $a,$b,$c, $a1,$b1,$c1, $a2,$b2,$c2, $x,$y,$z, $x1,$y1,$z1, $x2,$y2,$z2, $tmp ;*/ function check(){ echo count(array_map('json_decode', array_unique(array_map('json_encode', $this->fretboard_overhang)))) . '<br>'; if( count(array_map('json_decode', array_unique(array_map('json_encode', $this->fretboard_overhang)))) == 1 ){ //equal // $this->fretboard_overhang[0] = $this->fretboard_overhang[0][0]; return 1; } else if ( ($this->fretboard_overhang[0][0] == $this->fretboard_overhang[0][1]) && ($this->fretboard_overhang[1][1] == $this->fretboard_overhang[1][0]) ){ // $this->fretboard_overhang[0] = $this->fretboard_overhang[0][0]; // $this->fretboard_overhang[1] = $this->fretboard_overhang[1][0]; return 2; } else { //foreach(new RecursiveIteratorIterator(new RecursiveArrayIterator($this->fretboard_overhang)) as $i) { //$this->tmp += count($i);} return 2; } } /* string di nut < string di bridge = udah string di nut > string di bridge = belum string di nut = string di bridge = belum */ function __construct(){ $check = $this->check() - 1; global $b; $a = pow($this->string[0],2); //panjang string kuadrat $b = ($this->string[1][1] - $this->string[1][0]) / 2; //tinggi string di bridge di kurangi tinggi string di nut dibagi 2 $this->fret_length[0][0] = $this->string[0] - ( $this->string[0] / pow(2,1/12) ); //panjang fret pertama for($i = 0; $i <= $check; $i++){ // -----------tanpa overhang---------- // $this->fretboard[0][$i] = pow( $a + ( pow($b,2) ), 1/2); //panjang total fretboard miring $this->nut_angle[$i] = 90 - rad2deg(acos( ( pow($b,2) + pow($this->fretboard[0][$i],2) - $a ) / (2*($b)*$this->fretboard[0][$i]) )); //aturan cosinus dan 180 derajat $this->fret[0][0][$i][0] = ( $this->fret_length[0][0] * sin(deg2rad(90)) ) / sin(deg2rad( 180 - ($this->nut_angle[$i] + 90) )); //aturan sinus, panjang fret miring pertama $this->fret[0][0][$i][1] = 0; $this->fret[0][1][$i][0] = ( sin(deg2rad( $this->nut_angle[$i] )) * $this->fret_length[0][0] ) / sin(deg2rad( 180 - ($this->nut_angle[$i] + 90) )); // ^^^^ aturan sinus, panjang fretwire di fret miring / 2 ^^^^ $this->fret[0][1][$i][1] = 0; // -----------dengan overhang---------- // $tmp0[$i] = 90 - $this->nut_angle[$i]; // sudut fretboard overhang di nut bagian atas, karena segitiga siku-siku if($this->fretboard_overhang[0][$i] == 0){ $tmp1[$i] = $this->fretboard[0][$i]; $tmp2[$i] = 90; // $tmp3[$i] = $this->nut_angle[$i]; // $tmp4[$i] = 90; } else{ // segitiga pecahan atas // $tmp1[$i] = pow( ((pow($this->fretboard[0][$i],2)+pow($this->fretboard_overhang[0][$i],2)) - (2*$this->fretboard[0][$i]*$this->fretboard_overhang[0][$i]*cos(deg2rad($tmp0[$i]))) ), 1/2); // aturan cosinus, panjang diagonal 1 total fret miring overhang $tmp2[$i] = rad2deg(acos( ( pow($this->fretboard_overhang[0][$i],2) + pow($tmp1[$i],2) - pow($this->fretboard[0][$i],2) ) / (2*$this->fretboard_overhang[0][$i]*$tmp1[$i]) )); // aturan cosinus, sudut fretboard miring overhang di nut bagian bawah pecahan atas // $tmp3[$i] = 180 - $tmp0[$i] - $tmp2[$i]; //aturan 180 derajat, sudut fretboard miring overhang di bridge bagian atas pecahan atas // segitiga pecahan bawah // // $tmp4[$i] = 180 - $tmp0[$i] - $tmp3[$i]; // aturan sudut bersebrangan dan 180 derajat, sudut fretboard miring overhang di bridge bagian atas pecahan bawah } $this->fretboard[1][$i] = pow( pow($this->fretboard_overhang[1][$i],2) + pow($tmp1[$i],2) - 2*$this->fretboard_overhang[1][$i]*$tmp1[$i]*cos(deg2rad($tmp2[$i])) ,1/2); // ^^^^ aturan cosinus, panjang total fretboard miring overhang ^^^^ // $this->fret_overhang[0][0][$i][0] = var_dump($tmp0[$i]); var_dump($tmp1[$i]); var_dump($tmp2[$i]); // var_dump($tmp3[$i]); // var_dump($tmp4[$i]); echo'<br>'; } } } class guitar_construct extends guitar_variable{ function __construct(){ parent::__construct(); global $b; for($i = $this->fret_range[0]; $i <= $this->fret_range[1]; $i++){ $this->fret_length[0][$i] = ($this->fret_length[0][0] * ($this->string[0] - ($this->fret_length[1][$i-1] + $this->fret_length[0][$i-1])) ) / $this->string[0]; //panjang fret $this->fret_length[1][$i] = $this->fret_length[0][$i] + $this->fret_length[1][$i-1]; //panjang fret dari nut $this->fret[$i][0][0][0] = ($this->fret[0][0][0][0] * ($this->fretboard[0][0] - ($this->fret[$i-1][0][0][1] + $this->fret[$i-1][0][0][0])) ) / $this->fretboard[0][0]; //panjang x1 $this->fret[$i][0][0][1] = $this->fret[$i][0][0][0] + $this->fret[$i-1][0][0][1]; // panjang x1 dari nut $this->fret[$i][1][0][0] = ($this->fret[0][1][0][0] * ($b - ($this->fret[$i-1][1][0][1] + $this->fret[$i-1][1][0][0])) ) / $b; //panjang y1 $this->fret[$i][1][0][1] = $this->fret[$i][1][0][0] + $this->fret[$i-1][1][0][1]; // panjang y1 dari nut } // panjang fretboard sebenarnya = } } $test = new guitar_construct(); print "<br>"; var_dump($test); print "</pre>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cXG9X
function name:  (null)
number of ops:  13
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Cpre%3E'
    4     1        INCLUDE_OR_EVAL                                          'guitar_user-input.php', REQUIRE_ONCE
    6     2        DECLARE_CLASS                                            'guitar_variable', 'user_input'
  101     3        DECLARE_CLASS                                            'guitar_construct', 'guitar_variable'
  127     4        NEW                                              $2      'guitar_construct'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $2
  128     7        ECHO                                                     '%3Cbr%3E'
  129     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
  130    11        ECHO                                                     '%3C%2Fpre%3E'
  131    12      > RETURN                                                   1

Class guitar_variable:
Function check:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 32
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
2 jumps found. (Code = 46) Position 1 = 40, Position 2 = 48
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 51
Branch analysis from position: 49
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 48
filename:       /in/cXG9X
function name:  check
number of ops:  53
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_FCALL                                               'array_map'
          1        SEND_VAL                                                 'json_decode'
          2        INIT_FCALL                                               'array_unique'
          3        INIT_FCALL                                               'array_map'
          4        SEND_VAL                                                 'json_encode'
          5        FETCH_OBJ_R                                      ~0      'fretboard_overhang'
          6        SEND_VAL                                                 ~0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        COUNT                                            ~4      $3
         13        CONCAT                                           ~5      ~4, '%3Cbr%3E'
         14        ECHO                                                     ~5
   19    15        INIT_FCALL                                               'array_map'
         16        SEND_VAL                                                 'json_decode'
         17        INIT_FCALL                                               'array_unique'
         18        INIT_FCALL                                               'array_map'
         19        SEND_VAL                                                 'json_encode'
         20        FETCH_OBJ_R                                      ~6      'fretboard_overhang'
         21        SEND_VAL                                                 ~6
         22        DO_ICALL                                         $7      
         23        SEND_VAR                                                 $7
         24        DO_ICALL                                         $8      
         25        SEND_VAR                                                 $8
         26        DO_ICALL                                         $9      
         27        COUNT                                            ~10     $9
         28        IS_EQUAL                                                 ~10, 1
         29      > JMPZ                                                     ~11, ->32
   21    30    > > RETURN                                                   1
         31*       JMP                                                      ->52
   22    32    >   FETCH_OBJ_R                                      ~12     'fretboard_overhang'
         33        FETCH_DIM_R                                      ~13     ~12, 0
         34        FETCH_DIM_R                                      ~14     ~13, 0
         35        FETCH_OBJ_R                                      ~15     'fretboard_overhang'
         36        FETCH_DIM_R                                      ~16     ~15, 0
         37        FETCH_DIM_R                                      ~17     ~16, 1
         38        IS_EQUAL                                         ~18     ~14, ~17
         39      > JMPZ_EX                                          ~18     ~18, ->48
         40    >   FETCH_OBJ_R                                      ~19     'fretboard_overhang'
         41        FETCH_DIM_R                                      ~20     ~19, 1
         42        FETCH_DIM_R                                      ~21     ~20, 1
         43        FETCH_OBJ_R                                      ~22     'fretboard_overhang'
         44        FETCH_DIM_R                                      ~23     ~22, 1
         45        FETCH_DIM_R                                      ~24     ~23, 0
         46        IS_EQUAL                                         ~25     ~21, ~24
         47        BOOL                                             ~18     ~25
         48    > > JMPZ                                                     ~18, ->51
   25    49    > > RETURN                                                   2
         50*       JMP                                                      ->52
   29    51    > > RETURN                                                   2
   31    52*     > RETURN                                                   null

End of function check

Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 289
Branch analysis from position: 289
2 jumps found. (Code = 44) Position 1 = 291, Position 2 = 37
Branch analysis from position: 291
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 157, Position 2 = 165
Branch analysis from position: 157
1 jumps found. (Code = 42) Position 1 = 239
Branch analysis from position: 239
2 jumps found. (Code = 44) Position 1 = 291, Position 2 = 37
Branch analysis from position: 291
Branch analysis from position: 37
Branch analysis from position: 165
2 jumps found. (Code = 44) Position 1 = 291, Position 2 = 37
Branch analysis from position: 291
Branch analysis from position: 37
filename:       /in/cXG9X
function name:  __construct
number of ops:  292
compiled vars:  !0 = $check, !1 = $b, !2 = $a, !3 = $i, !4 = $tmp0, !5 = $tmp1, !6 = $tmp2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   41     0  E >   INIT_METHOD_CALL                                         'check'
          1        DO_FCALL                                      0  $7      
          2        SUB                                              ~8      $7, 1
          3        ASSIGN                                                   !0, ~8
   42     4        BIND_GLOBAL                                              !1, 'b'
   43     5        INIT_FCALL                                               'pow'
          6        FETCH_OBJ_R                                      ~10     'string'
          7        FETCH_DIM_R                                      ~11     ~10, 0
          8        SEND_VAL                                                 ~11
          9        SEND_VAL                                                 2
         10        DO_ICALL                                         $12     
         11        ASSIGN                                                   !2, $12
   44    12        FETCH_OBJ_R                                      ~14     'string'
         13        FETCH_DIM_R                                      ~15     ~14, 1
         14        FETCH_DIM_R                                      ~16     ~15, 1
         15        FETCH_OBJ_R                                      ~17     'string'
         16        FETCH_DIM_R                                      ~18     ~17, 1
         17        FETCH_DIM_R                                      ~19     ~18, 0
         18        SUB                                              ~20     ~16, ~19
         19        DIV                                              ~21     ~20, 2
         20        ASSIGN                                                   !1, ~21
   47    21        FETCH_OBJ_R                                      ~26     'string'
         22        FETCH_DIM_R                                      ~27     ~26, 0
         23        FETCH_OBJ_R                                      ~28     'string'
         24        FETCH_DIM_R                                      ~29     ~28, 0
         25        INIT_FCALL                                               'pow'
         26        SEND_VAL                                                 2
         27        SEND_VAL                                                 0.0833333
         28        DO_ICALL                                         $30     
         29        DIV                                              ~31     ~29, $30
         30        SUB                                              ~32     ~27, ~31
         31        FETCH_OBJ_W                                      $23     'fret_length'
         32        FETCH_DIM_W                                      $24     $23, 0
         33        ASSIGN_DIM                                               $24, 0
         34        OP_DATA                                                  ~32
   50    35        ASSIGN                                                   !3, 0
         36      > JMP                                                      ->289
   52    37    >   INIT_FCALL                                               'pow'
         38        INIT_FCALL                                               'pow'
         39        SEND_VAR                                                 !1
         40        SEND_VAL                                                 2
         41        DO_ICALL                                         $37     
         42        ADD                                              ~38     !2, $37
         43        SEND_VAL                                                 ~38
         44        SEND_VAL                                                 0.5
         45        DO_ICALL                                         $39     
         46        FETCH_OBJ_W                                      $34     'fretboard'
         47        FETCH_DIM_W                                      $35     $34, 0
         48        ASSIGN_DIM                                               $35, !3
         49        OP_DATA                                                  $39
   53    50        INIT_FCALL                                               'rad2deg'
         51        INIT_FCALL                                               'acos'
         52        INIT_FCALL                                               'pow'
         53        SEND_VAR                                                 !1
         54        SEND_VAL                                                 2
         55        DO_ICALL                                         $42     
         56        INIT_FCALL                                               'pow'
         57        FETCH_OBJ_R                                      ~43     'fretboard'
         58        FETCH_DIM_R                                      ~44     ~43, 0
         59        FETCH_DIM_R                                      ~45     ~44, !3
         60        SEND_VAL                                                 ~45
         61        SEND_VAL                                                 2
         62        DO_ICALL                                         $46     
         63        ADD                                              ~47     $42, $46
         64        SUB                                              ~48     ~47, !2
         65        MUL                                              ~49     !1, 2
         66        FETCH_OBJ_R                                      ~50     'fretboard'
         67        FETCH_DIM_R                                      ~51     ~50, 0
         68        FETCH_DIM_R                                      ~52     ~51, !3
         69        MUL                                              ~53     ~49, ~52
         70        DIV                                              ~54     ~48, ~53
         71        SEND_VAL                                                 ~54
         72        DO_ICALL                                         $55     
         73        SEND_VAR                                                 $55
         74        DO_ICALL                                         $56     
         75        SUB                                              ~57     90, $56
         76        FETCH_OBJ_W                                      $40     'nut_angle'
         77        ASSIGN_DIM                                               $40, !3
         78        OP_DATA                                                  ~57
   55    79        FETCH_OBJ_R                                      ~63     'fret_length'
         80        FETCH_DIM_R                                      ~64     ~63, 0
         81        FETCH_DIM_R                                      ~65     ~64, 0
         82        INIT_FCALL                                               'sin'
         83        INIT_FCALL                                               'deg2rad'
         84        SEND_VAL                                                 90
         85        DO_ICALL                                         $66     
         86        SEND_VAR                                                 $66
         87        DO_ICALL                                         $67     
         88        MUL                                              ~68     $67, ~65
         89        INIT_FCALL                                               'sin'
         90        INIT_FCALL                                               'deg2rad'
         91        FETCH_OBJ_R                                      ~69     'nut_angle'
         92        FETCH_DIM_R                                      ~70     ~69, !3
         93        ADD                                              ~71     ~70, 90
         94        SUB                                              ~72     180, ~71
         95        SEND_VAL                                                 ~72
         96        DO_ICALL                                         $73     
         97        SEND_VAR                                                 $73
         98        DO_ICALL                                         $74     
         99        DIV                                              ~75     ~68, $74
        100        FETCH_OBJ_W                                      $58     'fret'
        101        FETCH_DIM_W                                      $59     $58, 0
        102        FETCH_DIM_W                                      $60     $59, 0
        103        FETCH_DIM_W                                      $61     $60, !3
        104        ASSIGN_DIM                                               $61, 0
        105        OP_DATA                                                  ~75
   56   106        FETCH_OBJ_W                                      $76     'fret'
        107        FETCH_DIM_W                                      $77     $76, 0
        108        FETCH_DIM_W                                      $78     $77, 0
        109        FETCH_DIM_W                                      $79     $78, !3
        110        ASSIGN_DIM                                               $79, 1
        111        OP_DATA                                                  0
   57   112        INIT_FCALL                                               'sin'
        113        INIT_FCALL                                               'deg2rad'
        114        FETCH_OBJ_R                                      ~86     'nut_angle'
        115        FETCH_DIM_R                                      ~87     ~86, !3
        116        SEND_VAL                                                 ~87
        117        DO_ICALL                                         $88     
        118        SEND_VAR                                                 $88
        119        DO_ICALL                                         $89     
        120        FETCH_OBJ_R                                      ~90     'fret_length'
        121        FETCH_DIM_R                                      ~91     ~90, 0
        122        FETCH_DIM_R                                      ~92     ~91, 0
        123        MUL                                              ~93     $89, ~92
        124        INIT_FCALL                                               'sin'
        125        INIT_FCALL                                               'deg2rad'
        126        FETCH_OBJ_R                                      ~94     'nut_angle'
        127        FETCH_DIM_R                                      ~95     ~94, !3
        128        ADD                                              ~96     ~95, 90
        129        SUB                                              ~97     180, ~96
        130        SEND_VAL                                                 ~97
        131        DO_ICALL                                         $98     
        132        SEND_VAR                                                 $98
        133        DO_ICALL                                         $99     
        134        DIV                                              ~100    ~93, $99
        135        FETCH_OBJ_W                                      $81     'fret'
        136        FETCH_DIM_W                                      $82     $81, 0
        137        FETCH_DIM_W                                      $83     $82, 1
        138        FETCH_DIM_W                                      $84     $83, !3
        139        ASSIGN_DIM                                               $84, 0
        140        OP_DATA                                                  ~100
   59   141        FETCH_OBJ_W                                      $101    'fret'
        142        FETCH_DIM_W                                      $102    $101, 0
        143        FETCH_DIM_W                                      $103    $102, 1
        144        FETCH_DIM_W                                      $104    $103, !3
        145        ASSIGN_DIM                                               $104, 1
        146        OP_DATA                                                  0
   63   147        FETCH_OBJ_R                                      ~107    'nut_angle'
        148        FETCH_DIM_R                                      ~108    ~107, !3
        149        SUB                                              ~109    90, ~108
        150        ASSIGN_DIM                                               !4, !3
        151        OP_DATA                                                  ~109
   65   152        FETCH_OBJ_R                                      ~110    'fretboard_overhang'
        153        FETCH_DIM_R                                      ~111    ~110, 0
        154        FETCH_DIM_R                                      ~112    ~111, !3
        155        IS_EQUAL                                                 ~112, 0
        156      > JMPZ                                                     ~113, ->165
   66   157    >   FETCH_OBJ_R                                      ~115    'fretboard'
        158        FETCH_DIM_R                                      ~116    ~115, 0
        159        FETCH_DIM_R                                      ~117    ~116, !3
        160        ASSIGN_DIM                                               !5, !3
        161        OP_DATA                                                  ~117
   67   162        ASSIGN_DIM                                               !6, !3
        163        OP_DATA                                                  90
        164      > JMP                                                      ->239
   72   165    >   INIT_FCALL                                               'pow'
        166        INIT_FCALL                                               'pow'
        167        FETCH_OBJ_R                                      ~120    'fretboard'
        168        FETCH_DIM_R                                      ~121    ~120, 0
        169        FETCH_DIM_R                                      ~122    ~121, !3
        170        SEND_VAL                                                 ~122
        171        SEND_VAL                                                 2
        172        DO_ICALL                                         $123    
        173        INIT_FCALL                                               'pow'
        174        FETCH_OBJ_R                                      ~124    'fretboard_overhang'
        175        FETCH_DIM_R                                      ~125    ~124, 0
        176        FETCH_DIM_R                                      ~126    ~125, !3
        177        SEND_VAL                                                 ~126
        178        SEND_VAL                                                 2
        179        DO_ICALL                                         $127    
        180        ADD                                              ~128    $123, $127
   73   181        FETCH_OBJ_R                                      ~129    'fretboard'
        182        FETCH_DIM_R                                      ~130    ~129, 0
        183        FETCH_DIM_R                                      ~131    ~130, !3
        184        MUL                                              ~132    ~131, 2
        185        FETCH_OBJ_R                                      ~133    'fretboard_overhang'
        186        FETCH_DIM_R                                      ~134    ~133, 0
        187        FETCH_DIM_R                                      ~135    ~134, !3
        188        MUL                                              ~136    ~132, ~135
        189        INIT_FCALL                                               'cos'
        190        INIT_FCALL                                               'deg2rad'
        191        FETCH_DIM_R                                      ~137    !4, !3
        192        SEND_VAL                                                 ~137
        193        DO_ICALL                                         $138    
        194        SEND_VAR                                                 $138
        195        DO_ICALL                                         $139    
        196        MUL                                              ~140    $139, ~136
        197        SUB                                              ~141    ~128, ~140
        198        SEND_VAL                                                 ~141
        199        SEND_VAL                                                 0.5
        200        DO_ICALL                                         $142    
   72   201        ASSIGN_DIM                                               !5, !3
   73   202        OP_DATA                                                  $142
   74   203        INIT_FCALL                                               'rad2deg'
        204        INIT_FCALL                                               'acos'
        205        INIT_FCALL                                               'pow'
        206        FETCH_OBJ_R                                      ~144    'fretboard_overhang'
        207        FETCH_DIM_R                                      ~145    ~144, 0
        208        FETCH_DIM_R                                      ~146    ~145, !3
        209        SEND_VAL                                                 ~146
        210        SEND_VAL                                                 2
        211        DO_ICALL                                         $147    
        212        INIT_FCALL                                               'pow'
        213        FETCH_DIM_R                                      ~148    !5, !3
        214        SEND_VAL                                                 ~148
        215        SEND_VAL                                                 2
        216        DO_ICALL                                         $149    
        217        ADD                                              ~150    $147, $149
        218        INIT_FCALL                                               'pow'
        219        FETCH_OBJ_R                                      ~151    'fretboard'
        220        FETCH_DIM_R                                      ~152    ~151, 0
        221        FETCH_DIM_R                                      ~153    ~152, !3
        222        SEND_VAL                                                 ~153
        223        SEND_VAL                                                 2
        224        DO_ICALL                                         $154    
        225        SUB                                              ~155    ~150, $154
   75   226        FETCH_OBJ_R                                      ~156    'fretboard_overhang'
        227        FETCH_DIM_R                                      ~157    ~156, 0
        228        FETCH_DIM_R                                      ~158    ~157, !3
        229        MUL                                              ~159    ~158, 2
        230        FETCH_DIM_R                                      ~160    !5, !3
        231        MUL                                              ~161    ~159, ~160
        232        DIV                                              ~162    ~155, ~161
        233        SEND_VAL                                                 ~162
        234        DO_ICALL                                         $163    
        235        SEND_VAR                                                 $163
        236        DO_ICALL                                         $164    
   74   237        ASSIGN_DIM                                               !6, !3
   75   238        OP_DATA                                                  $164
   81   239    >   INIT_FCALL                                               'pow'
        240        INIT_FCALL                                               'pow'
        241        FETCH_OBJ_R                                      ~168    'fretboard_overhang'
        242        FETCH_DIM_R                                      ~169    ~168, 1
        243        FETCH_DIM_R                                      ~170    ~169, !3
        244        SEND_VAL                                                 ~170
        245        SEND_VAL                                                 2
        246        DO_ICALL                                         $171    
        247        INIT_FCALL                                               'pow'
        248        FETCH_DIM_R                                      ~172    !5, !3
        249        SEND_VAL                                                 ~172
        250        SEND_VAL                                                 2
        251        DO_ICALL                                         $173    
        252        ADD                                              ~174    $171, $173
        253        FETCH_OBJ_R                                      ~175    'fretboard_overhang'
        254        FETCH_DIM_R                                      ~176    ~175, 1
        255        FETCH_DIM_R                                      ~177    ~176, !3
        256        MUL                                              ~178    ~177, 2
        257        FETCH_DIM_R                                      ~179    !5, !3
        258        MUL                                              ~180    ~178, ~179
        259        INIT_FCALL                                               'cos'
        260        INIT_FCALL                                               'deg2rad'
        261        FETCH_DIM_R                                      ~181    !6, !3
        262        SEND_VAL                                                 ~181
        263        DO_ICALL                                         $182    
        264        SEND_VAR                                                 $182
        265        DO_ICALL                                         $183    
        266        MUL                                              ~184    $183, ~180
        267        SUB                                              ~185    ~174, ~184
        268        SEND_VAL                                                 ~185
        269        SEND_VAL                                                 0.5
        270        DO_ICALL                                         $186    
        271        FETCH_OBJ_W                                      $165    'fretboard'
        272        FETCH_DIM_W                                      $166    $165, 1
        273        ASSIGN_DIM                                               $166, !3
        274        OP_DATA                                                  $186
   88   275        INIT_FCALL                                               'var_dump'
        276        FETCH_DIM_R                                      ~187    !4, !3
        277        SEND_VAL                                                 ~187
        278        DO_ICALL                                                 
   89   279        INIT_FCALL                                               'var_dump'
        280        FETCH_DIM_R                                      ~189    !5, !3
        281        SEND_VAL                                                 ~189
        282        DO_ICALL                                                 
   90   283        INIT_FCALL                                               'var_dump'
        284        FETCH_DIM_R                                      ~191    !6, !3
        285        SEND_VAL                                                 ~191
        286        DO_ICALL                                                 
   93   287        ECHO                                                     '%3Cbr%3E'
   50   288        PRE_INC                                                  !3
        289    >   IS_SMALLER_OR_EQUAL                                      !3, !0
        290      > JMPNZ                                                    ~194, ->37
   97   291    > > RETURN                                                   null

End of function __construct

End of class guitar_variable.

Class guitar_construct:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 139
Branch analysis from position: 139
2 jumps found. (Code = 44) Position 1 = 143, Position 2 = 7
Branch analysis from position: 143
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 143, Position 2 = 7
Branch analysis from position: 143
Branch analysis from position: 7
filename:     

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.22 ms | 1432 KiB | 31 Q