3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { public static function doIt() { printf( "Line: %s\n File: %s\n Dir: %s\n Function: %s\n Class: %s\n Trait: %s\n Method: %s\n Namespace: %s\n", __LINE__, __FILE__, __DIR__, __FUNCTION__, __CLASS__, __TRAIT__, __METHOD__, __NAMESPACE__); } } x::doIt();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/amWeq
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_STATIC_METHOD_CALL                                  'x', 'doIt'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class x:
Function doit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/amWeq
function name:  doIt
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'printf'
    6     1        SEND_VAL                                                 'Line%3A+%25s%0A%0AFile%3A+%25s%0A%0ADir%3A+%25s%0A%0AFunction%3A+%25s%0A%0AClass%3A+%25s%0A%0ATrait%3A+%25s%0A%0AMethod%3A+%25s%0A%0ANamespace%3A+%25s%0A'
   14     2        SEND_VAL                                                 14
          3        SEND_VAL                                                 '%2Fin%2FamWeq'
          4        SEND_VAL                                                 '%2Fin'
          5        SEND_VAL                                                 'doIt'
          6        SEND_VAL                                                 'x'
          7        SEND_VAL                                                 ''
          8        SEND_VAL                                                 'x%3A%3AdoIt'
          9        SEND_VAL                                                 ''
         10        DO_ICALL                                                 
   15    11      > RETURN                                                   null

End of function doit

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.05 ms | 1395 KiB | 15 Q