3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace("/(nödkåpa)/i", "<span style='background-color:#ffff00;'>$1</span>", "Nödkåpa för öppningsbehör |...");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q7rvb
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%28n%C3%B6dk%C3%A5pa%29%2Fi'
          2        SEND_VAL                                                 '%3Cspan+style%3D%27background-color%3A%23ffff00%3B%27%3E%241%3C%2Fspan%3E'
          3        SEND_VAL                                                 'N%C3%B6dk%C3%A5pa+f%C3%B6r+%C3%B6ppningsbeh%C3%B6r+%7C...'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.16 ms | 1394 KiB | 15 Q