3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $samplerequesturi = 'string(42) "{"ERROR_MSG":"Invalid path for user raol"}" '; $samplerequesturi = preg_replace('@^string\(\d{1,4}\)@', '', $samplerequesturi); var_dump($samplerequesturi);
Output for 4.3.0 - 7.1.0
string(46) " "{"ERROR_MSG":"Invalid path for user raol"}" "