3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A implements \Reflector { public static function export($a, $b) { return $a . $b; } } var_dump(A::export('a', 'b'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2nhJD
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'a'
   11     1        INIT_FCALL                                               'var_dump'
          2        INIT_STATIC_METHOD_CALL                                  'A', 'export'
          3        SEND_VAL_EX                                              'a'
          4        SEND_VAL_EX                                              'b'
          5        DO_FCALL                                      0  $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

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

End of function export

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.88 ms | 1394 KiB | 15 Q