3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $opt_dupa = 'a'; $options['dupa'] = 'b'; extract((array) $options, EXTR_OVERWRITE, 'opt_'); var_dump($opt_dupa);
based on S05sE
Output for 4.3.0 - 7.1.10
string(1) "a"