3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opt_dupa = 'a'; $options['dupa'] = 'b'; extract((array) $options, EXTR_PREFIX_ALL | EXTR_IF_EXISTS, 'opt_'); var_dump($opt_dupa);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: extract(): Argument #2 ($flags) must be a valid extract type in /in/J0GEB:4 Stack trace: #0 /in/J0GEB(4): extract(Array, 7, 'opt_') #1 {main} thrown in /in/J0GEB on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
32.21 ms | 401 KiB | 8 Q