3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(ticks=1); register_tick_function(function() { echo " tick \n"; }); require_once("/in/HX6vH"); $A = new foo(); $A->bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LsanG
function name:  (null)
number of ops:  16
compiled vars:  !0 = $A
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   TICKS                                                    
    4     1        INIT_FCALL                                               'register_tick_function'
          2        DECLARE_LAMBDA_FUNCTION                          ~1      [0]
    6     3        SEND_VAL                                                 ~1
    4     4        DO_ICALL                                                 
    6     5        TICKS                                                    
    8     6        INCLUDE_OR_EVAL                                          '%2Fin%2FHX6vH', REQUIRE_ONCE
          7        TICKS                                                    
   10     8        NEW                                              $4      'foo'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !0, $4
         11        TICKS                                                    
   11    12        INIT_METHOD_CALL                                         !0, 'bar'
         13        DO_FCALL                                      0          
         14        TICKS                                                    
         15      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LsanG
function name:  {closure}
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     '+tick+%0A'
          1        TICKS                                                    
    6     2      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.84 ms | 997 KiB | 14 Q