3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'CURRENT: '.current( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) ).PHP_EOL; echo 'RESET: '.reset( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) );
Output for git.master
CURRENT: three Notice: Only variables should be passed by reference in /in/sUrcB on line 14 RESET: three

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:
27.12 ms | 990 KiB | 16 Q