3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $params = array('extract-core' => 'no'); public function __invoke() { var_dump(!(strtolower($this->params['extract-core']) === 'no')); } } A();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TVuJW
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL_BY_NAME                                       'A'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class A:
Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TVuJW
function name:  __invoke
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'strtolower'
          2        FETCH_OBJ_R                                      ~0      'params'
          3        FETCH_DIM_R                                      ~1      ~0, 'extract-core'
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        IS_IDENTICAL                                     ~3      $2, 'no'
          7        BOOL_NOT                                         ~4      ~3
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
    6    10      > RETURN                                                   null

End of function __invoke

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.18 ms | 1394 KiB | 17 Q