3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "array ( 2 => 'authenticated user, 6 => employee',)"; eval('$foo = $string;'); print_r($foo);
based on RRsBa
Output for 4.3.0 - 7.1.0
array ( 2 => 'authenticated user, 6 => employee',)