3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CacheabilityMetadata {} class_alias('CacheabilityMetadata', 'CacheableMetadata'); class SomethingElse {} function f(CacheabilityMetadata $m) {} function g(CacheableMetadata $m) {} f(new CacheabilityMetadata); f(new CacheableMetadata); g(new CacheabilityMetadata); g(new CacheableMetadata); f(new SomethingElse);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80D6A
function name:  (null)
number of ops:  30
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'class_alias'
          1        SEND_VAL                                                 'CacheabilityMetadata'
          2        SEND_VAL                                                 'CacheableMetadata'
          3        DO_ICALL                                                 
   10     4        INIT_FCALL                                               'f'
          5        NEW                                              $1      'CacheabilityMetadata'
          6        DO_FCALL                                      0          
          7        SEND_VAR                                                 $1
          8        DO_FCALL                                      0          
   11     9        INIT_FCALL                                               'f'
         10        NEW                                              $4      'CacheableMetadata'
         11        DO_FCALL                                      0          
         12        SEND_VAR                                                 $4
         13        DO_FCALL                                      0          
   12    14        INIT_FCALL                                               'g'
         15        NEW                                              $7      'CacheabilityMetadata'
         16        DO_FCALL                                      0          
         17        SEND_VAR                                                 $7
         18        DO_FCALL                                      0          
   13    19        INIT_FCALL                                               'g'
         20        NEW                                              $10     'CacheableMetadata'
         21        DO_FCALL                                      0          
         22        SEND_VAR                                                 $10
         23        DO_FCALL                                      0          
   14    24        INIT_FCALL                                               'f'
         25        NEW                                              $13     'SomethingElse'
         26        DO_FCALL                                      0          
         27        SEND_VAR                                                 $13
         28        DO_FCALL                                      0          
         29      > RETURN                                                   1

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

End of function f

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

End of function g

Class CacheabilityMetadata: [no user functions]
Class SomethingElse: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.43 ms | 1001 KiB | 19 Q