3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar($a) { var_dump("5$a"); } } call_user_func(['foo', 'bar'], 'asdf');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FF5hX
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_USER_CALL                                1          'call_user_func', <array>
          1        SEND_USER                                                'asdf'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class Foo:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FF5hX
function name:  bar
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'var_dump'
          2        NOP                                                      
          3        FAST_CONCAT                                      ~1      '5', !0
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                                 
    5     6      > RETURN                                                   null

End of function bar

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.09 ms | 1398 KiB | 15 Q