3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = '/"(securityPin)[\]*":[\]*"(.)[^"\]+[\]*"/'; echo preg_replace($t, '"\${1}\":\"${2}***\"', str_replace('":""', '":"*"', '3\",\"securityPin\":\"35515\",\"salutation'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Ncui
function name:  (null)
number of ops:  13
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%22%28securityPin%29%5B%5C%5D%2A%22%3A%5B%5C%5D%2A%22%28.%29%5B%5E%22%5C%5D%2B%5B%5C%5D%2A%22%2F'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%22%5C%24%7B1%7D%5C%22%3A%5C%22%24%7B2%7D%2A%2A%2A%5C%22'
          4        INIT_FCALL                                               'str_replace'
          5        SEND_VAL                                                 '%22%3A%22%22'
          6        SEND_VAL                                                 '%22%3A%22%2A%22'
          7        SEND_VAL                                                 '3%5C%22%2C%5C%22securityPin%5C%22%3A%5C%2235515%5C%22%2C%5C%22salutation'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.47 ms | 1394 KiB | 17 Q