3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function __call($method, $args) { return $this; } } $c = new C; $c->work()->please()->¿();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T00I3
function name:  (null)
number of ops:  10
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $1      'C'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    7     3        INIT_METHOD_CALL                                         !0, 'work'
          4        DO_FCALL                                      0  $4      
          5        INIT_METHOD_CALL                                         $4, 'please'
          6        DO_FCALL                                      0  $5      
          7        INIT_METHOD_CALL                                         $5, '%C2%BF'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Class C:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T00I3
function name:  __call
number of ops:  5
compiled vars:  !0 = $method, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        FETCH_THIS                                       ~2      
          3      > RETURN                                                   ~2
          4*     > RETURN                                                   null

End of function __call

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.51 ms | 1397 KiB | 13 Q