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) { var_dump('GA');} 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/PATLn
function name:  (null)
number of ops:  7
compiled vars:  !0 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'HHVM%5CUserDocumentation%5CInconsistencies%5CIntro%5CExamples%5CCall%5CG'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     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 = 62) Position 1 = -2
filename:       /in/PATLn
function name:  __call
number of ops:  6
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        INIT_NS_FCALL_BY_NAME                                    'HHVM%5CUserDocumentation%5CInconsistencies%5CIntro%5CExamples%5CCall%5Cvar_dump'
          3        SEND_VAL_EX                                              'GA'
          4        DO_FCALL                                      0          
          5      > 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/PATLn
function name:  f4missing
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1        INIT_STATIC_METHOD_CALL                                  'HHVM%5CUserDocumentation%5CInconsistencies%5CIntro%5CExamples%5CCall%5CB', 'f4missing'
          2        SEND_VAL_EX                                              5
          3        DO_FCALL                                      0          
   11     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:
168.91 ms | 1396 KiB | 15 Q