3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1394 KiB | 17 Q