3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row['content'] = 'Lorem Ipsum <img src="tralala.jpg"> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.'; echo substr(preg_replace("/<img[^>]+\>/i", " ",$row['content']), 0, 200);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7WG4j
function name:  (null)
number of ops:  15
compiled vars:  !0 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'content'
          1        OP_DATA                                                  'Lorem+Ipsum+%3Cimg+src%3D%22tralala.jpg%22%3E+is+simply+dummy+text+of+the+printing+and+typesetting+industry.+Lorem+Ipsum+has+been+the+industry%27s+standard+dummy+text+ever+since+the+1500s%2C+when+an+unknown+printer+took+a+galley+of+type+and+scrambled+it+to+make+a+type+specimen+book.+It+has+survived+not+only+five+centuries%2C+but+also+the+leap+into+electronic+typesetting%2C+remaining+essentially+unchanged.+It+was+popularised+in+the+1960s+with+the+release+of+Letraset+sheets+containing+Lorem+Ipsum+passages%2C+and+more+recently+with+desktop+publishing+software+like+Aldus+PageMaker+including+versions+of+Lorem+Ipsum.'
    4     2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAL                                                 '%2F%3Cimg%5B%5E%3E%5D%2B%5C%3E%2Fi'
          5        SEND_VAL                                                 '+'
          6        FETCH_DIM_R                                      ~2      !0, 'content'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 200
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.27 ms | 1437 KiB | 15 Q