3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '/"(securityPin)[\]*":[\]*"(.)[^"\]+[\]*"/'; echo preg_replace($t, '"\${1}\":\"${2}***\"', str_replace('":""', '":"*"', '3\",\"securityPin\":\"35515\",\"salutation'));
Output for 4.3.11 - 7.2.0
Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 39 in /in/3Ncui on line 3
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: missing terminating ] for character class at offset 39 in /in/3Ncui on line 3