3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text="wel come to itc"; echo $text; echo "<br></br>"; echo $show=str_replace(" ","_",$text); ?> <form action="change_name.php" method="post"> <input name="gettext" type="text"/> </form>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cpOfa
function name:  (null)
number of ops:  12
compiled vars:  !0 = $text, !1 = $show
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'wel+come+to+itc'
    3     1        ECHO                                                     !0
    4     2        ECHO                                                     '%3Cbr%3E%3C%2Fbr%3E'
    5     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '+'
          5        SEND_VAL                                                 '_'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        ASSIGN                                           ~4      !1, $3
          9        ECHO                                                     ~4
    7    10        ECHO                                                     '%0A%3Cform+action%3D%22change_name.php%22+method%3D%22post%22%3E%0A+%3Cinput+name%3D%22gettext%22+type%3D%22text%22%2F%3E%0A%0A%3C%2Fform%3E'
   11    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.56 ms | 1394 KiB | 15 Q