3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<TEXT This is !@#$%^& TEXT; echo preg_replace("/[[:alnum:]]+\K(?= [^[:alnum:]])/", ",", $text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2hRLl
function name:  (null)
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'This+is+%21%40%23%24%25%5E%26'
    7     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5B%3Aalnum%3A%5D%5D%2B%5CK%28%3F%3D+%5B%5E%5B%3Aalnum%3A%5D%5D%29%2F'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.3 ms | 1008 KiB | 14 Q