3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = <<<TEXT Dear Some Name, here is your password ...or click the link to login... someurl.com?action=Log%20In&username=someuser@test.com&… Your log in details are: Username: your full email address (where this email was received) Password: yYng6Ytzh Some more bla bla Kind Regards, Admin TEXT; echo preg_replace('~Password: \K\S+~', '[redacted]', $email);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qdG9H
function name:  (null)
number of ops:  8
compiled vars:  !0 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Dear+Some+Name%2C%0Ahere+is+your+password%0A...or+click+the+link+to+login...+someurl.com%3Faction%3DLog%2520In%26username%3Dsomeuser%40test.com%26%E2%80%A6%0AYour+log+in+details+are%3A%0AUsername%3A+your+full+email+address+%28where+this+email+was+received%29%0APassword%3A+yYng6Ytzh+Some+more+bla+bla+Kind+Regards%2C+Admin'
   12     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7EPassword%3A+%5CK%5CS%2B%7E'
          3        SEND_VAL                                                 '%5Bredacted%5D'
          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:
138.38 ms | 996 KiB | 14 Q