3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); final class SkipFirstClassCallableInDo { public function getSubscribedEvents() { do { } while ($this->textElement(...)); } public function textElement() { return 1; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5s30L
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E > > RETURN                                                   1

Class SkipFirstClassCallableInDo:
Function getsubscribedevents:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 3, Position 2 = 0
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 0
filename:       /in/5s30L
function name:  getSubscribedEvents
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_METHOD_CALL                                         'textElement'
          1        ZEND_CALLABLE_CONVERT                            ~0      
          2      > JMPNZ                                                    ~0, ->0
   10     3    > > RETURN                                                   null

End of function getsubscribedevents

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

End of function textelement

End of class SkipFirstClassCallableInDo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.31 ms | 996 KiB | 13 Q