3v4l.org

run code in 300+ PHP versions simultaneously
<?php $secret = 'секретный ключ'; class test { public function test(int $secret){} } $test = new test(); $test->test( $secret );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YXOrW
function name:  (null)
number of ops:  8
compiled vars:  !0 = $secret, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%D1%81%D0%B5%D0%BA%D1%80%D0%B5%D1%82%D0%BD%D1%8B%D0%B9+%D0%BA%D0%BB%D1%8E%D1%87'
    6     1        NEW                                              $3      'test'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
    7     4        INIT_METHOD_CALL                                         !1, 'test'
    8     5        SEND_VAR_EX                                              !0
    7     6        DO_FCALL                                      0          
    9     7      > RETURN                                                   1

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

End of function test

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146 ms | 1065 KiB | 13 Q