3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'This one I need 1', 'This one I DO NOT need 1', 'This one I need 2', 'This one I DO NOT need 2', 'That one I needed 1', 'This one I need 3', ); foreach($array AS $val){ // var_dump(stripos($val, 'This one I need')); var_dump($val);var_dump('This one I need'); }
Output for git.master, git.master_jit, rfc.property-hooks
string(17) "This one I need 1" string(15) "This one I need" string(24) "This one I DO NOT need 1" string(15) "This one I need" string(17) "This one I need 2" string(15) "This one I need" string(24) "This one I DO NOT need 2" string(15) "This one I need" string(19) "That one I needed 1" string(15) "This one I need" string(17) "This one I need 3" string(15) "This one I need"

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:
43.68 ms | 402 KiB | 8 Q