3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p1sON
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'show4'
          1        SEND_VAL                                                 'php'
          2        DO_FCALL                                      0          
   14     3        INIT_FCALL                                               'show4'
          4        SEND_VAL                                                 '0'
          5        DO_FCALL                                      0          
   15     6        INIT_FCALL                                               'show4'
          7        SEND_VAL                                                 <array>
          8        DO_FCALL                                      0          
   16     9        INIT_FCALL                                               'show4'
         10        SEND_VAL                                                 0
         11        DO_FCALL                                      0          
   18    12        DECLARE_CLASS                                            'foo'
   28    13        INIT_FCALL                                               'show4'
         14        NEW                                              $4      'Foo'
         15        DO_FCALL                                      0          
         16        SEND_VAR                                                 $4
         17        DO_FCALL                                      0          
         18      > RETURN                                                   1

Function show4:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p1sON
function name:  show4
number of ops:  10
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        CAST                                          6  ~1      !0
          2      > JMPZ                                                     ~1, ->5
    5     3    >   ECHO                                                     1
    4     4      > JMP                                                      ->9
    6     5    > > JMPZ                                                     !0, ->8
    7     6    >   ECHO                                                     2
    6     7      > JMP                                                      ->9
    9     8    >   ECHO                                                     3
   11     9    > > RETURN                                                   null

End of function show4

Class Foo:
Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p1sON
function name:  __toString
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E > > RETURN                                                   '0'
   24     1*       VERIFY_RETURN_TYPE                                       
          2*     > RETURN                                                   null

End of function __tostring

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.32 ms | 984 KiB | 18 Q