3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = str_replace('loginForm-', '', sprintf('%s', 'loginForm-session_jmeno')); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L3bRh
function name:  (null)
number of ops:  14
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_replace'
          1        SEND_VAL                                                 'loginForm-'
          2        SEND_VAL                                                 ''
          3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '%25s'
          5        SEND_VAL                                                 'loginForm-session_jmeno'
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                         $2      
          9        ASSIGN                                                   !0, $2
    3    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.21 ms | 1394 KiB | 19 Q