3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { static function dump($text) { echo 'bla' . $text; } } $test = array('Test', 'dump'); call_user_func($test, $text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TFJW3
function name:  (null)
number of ops:  5
compiled vars:  !0 = $test, !1 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_USER_CALL                                1          'call_user_func', !0
          2        SEND_USER                                                !1
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Test:
Function dump:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TFJW3
function name:  dump
number of ops:  4
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        CONCAT                                           ~1      'bla', !0
          2        ECHO                                                     ~1
    8     3      > RETURN                                                   null

End of function dump

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.27 ms | 1393 KiB | 13 Q