3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $opt_dupa = 'a'; $o['dupa'] = 'b'; extract((array) $o, EXTR_PREFIX_ALL | EXTR_OVERWRITE, 'opt'); var_dump($opt_dupa);
based on qhSY0
Output for 4.3.0 - 7.2.0
string(1) "b"