@ 2017-07-04T08:53:30Z <?php
$current_value = preg_replace('#<(password)(?:[^>]+)?>.*?</\1>#s', '<password>REDACTED</password>', "'senderPassword' => ''");
$current_value = preg_replace('#([pP])assword => (['']+)#s', "$1assword => REDACTED", $current_value);
$current_value = preg_replace('#([pP])assword":"([^"]+)"#s', '$1assword":"REDACTED"', $current_value);
var_dump($current_value);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.20 , 7.1.0 - 7.1.6 Parse error: syntax error, unexpected '']+)#s'' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ')' in /in/48o0r on line 5
Process exited with code 255 . preferences:dark mode live preview
169.72 ms | 1395 KiB | 35 Q