3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f(){} f(print "Jack"); $a; @f(print ++$a); print strlen(4); class C { public function __construct(){} } new C(print ++$a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/amc8P
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'f'
          1        ECHO                                                     'Jack'
          2        SEND_VAL                                                 1
          3        DO_FCALL                                      0          
    5     4        BEGIN_SILENCE                                    ~2      
          5        INIT_FCALL                                               'f'
          6        PRE_INC                                          ~3      !0
          7        ECHO                                                     ~3
          8        SEND_VAL                                                 1
          9        DO_FCALL                                      0          
         10        END_SILENCE                                              ~2
    6    11        STRLEN                                           ~5      4
         12        ECHO                                                     ~5
   11    13        NEW                                              $6      'C'
         14        PRE_INC                                          ~7      !0
         15        ECHO                                                     ~7
         16        SEND_VAL_EX                                              1
         17        DO_FCALL                                      0          
         18        FREE                                                     $6
         19      > RETURN                                                   1

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

End of function f

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

End of function __construct

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.87 ms | 1398 KiB | 15 Q