3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strtr(substr(rtrim('PhpParser\Node\Scalar\MagicConst\Namespace_', '_'), 15), '\\', '_'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gVVT2
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'strtr'
          2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'rtrim'
          4        SEND_VAL                                                 'PhpParser%5CNode%5CScalar%5CMagicConst%5CNamespace_'
          5        SEND_VAL                                                 '_'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        SEND_VAL                                                 15
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        SEND_VAL                                                 '%5C'
         12        SEND_VAL                                                 '_'
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.92 ms | 1394 KiB | 21 Q