3v4l.org

run code in 300+ PHP versions simultaneously
<?php $StringToReplace = array("\"","'"); $text = "Plagiarism is the \"wrongful appropriation\" and \"stealing and publication\" of another author's \"language\""; echo "<pre>$text</pre>"; foreach($StringToReplace as $String){ $text = str_replace($String,"",$text); } echo "<hr>"; echo "<pre>$text</pre>";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/qpNrZ
function name:  (null)
number of ops:  22
compiled vars:  !0 = $StringToReplace, !1 = $text, !2 = $String
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 'Plagiarism+is+the+%22wrongful+appropriation%22+and+%22stealing+and+publication%22+of+another+author%27s+%22language%22'
    4     2        ROPE_INIT                                     3  ~6      '%3Cpre%3E'
          3        ROPE_ADD                                      1  ~6      ~6, !1
          4        ROPE_END                                      2  ~5      ~6, '%3C%2Fpre%3E'
          5        ECHO                                                     ~5
    5     6      > FE_RESET_R                                       $8      !0, ->15
          7    > > FE_FETCH_R                                               $8, !2, ->15
    6     8    >   INIT_FCALL                                               'str_replace'
          9        SEND_VAR                                                 !2
         10        SEND_VAL                                                 ''
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !1, $9
    5    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $8
    8    16        ECHO                                                     '%3Chr%3E'
    9    17        ROPE_INIT                                     3  ~12     '%3Cpre%3E'
         18        ROPE_ADD                                      1  ~12     ~12, !1
         19        ROPE_END                                      2  ~11     ~12, '%3C%2Fpre%3E'
         20        ECHO                                                     ~11
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.83 ms | 1395 KiB | 15 Q