3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class Cheese { public function foo($bar, int $baz) { echo $baz; } } (new Cheese())->foo('bar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dtTLm
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $0      'Cheese'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'foo'
          3        SEND_VAL_EX                                              'bar'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class Cheese:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dtTLm
function name:  foo
number of ops:  4
compiled vars:  !0 = $bar, !1 = $baz
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        ECHO                                                     !1
   10     3      > RETURN                                                   null

End of function foo

End of class Cheese.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.3 ms | 1384 KiB | 13 Q