3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call; class B { } class G extends B { function __call($name, $arguments) { throw new \Exception('test');} function f4missing($a) { B::f4missing(5); // __call checking happened at B } } $g = new G(); $g->f4missing(3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pAMVW
function name:  (null)
number of ops:  7
compiled vars:  !0 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $1      'HHVM%5CUserDocumentation%5CInconsistencies%5CIntro%5CExamples%5CCall%5CG'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   15     3        INIT_METHOD_CALL                                         !0, 'f4missing'
          4        SEND_VAL_EX                                              3
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\B: [no user functions]
Class HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\G:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/pAMVW
function name:  __call
number of ops:  7
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        NEW                                              $2      'Exception'
          3        SEND_VAL_EX                                              'test'
          4        DO_FCALL                                      0          
          5      > THROW                                         0          $2
          6*     > RETURN                                                   null

End of function __call

Function f4missing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pAMVW
function name:  f4missing
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        INIT_STATIC_METHOD_CALL                                  'HHVM%5CUserDocumentation%5CInconsistencies%5CIntro%5CExamples%5CCall%5CB', 'f4missing'
          2        SEND_VAL_EX                                              5
          3        DO_FCALL                                      0          
   12     4      > RETURN                                                   null

End of function f4missing

End of class HHVM\UserDocumentation\Inconsistencies\Intro\Examples\Call\G.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.08 ms | 1399 KiB | 13 Q