3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Variables declaration $users = array( "pseudo1" => array("name"=>"Edouard", "firstname"=>"Louis", "email"=>"louis@gmail.com", "passwd"=>hash("md5", "Road66")), "pseudo2" => array("name"=>"Alice", "firstname"=>"Louis", "email"=>"louis@gmail.com", "passwd"=>hash("md5", "Road66")), "pseudo3" => array("name"=>"Bob", "firstname"=>"Louis", "email"=>"louis@gmail.com", "passwd"=>hash("md5", "Road66")), "pseudo4" => array("name"=>"Charlie", "firstname"=>"Louis", "email"=>"louis@gmail.com", "passwd"=>hash("md5", "Road66")) ); // Reset of pointer reset($users); while ($currentUser = current($users)) { var_dump($currentUser); next($users); }
Output for rfc.property-hooks, git.master_jit, git.master
array(4) { ["name"]=> string(7) "Edouard" ["firstname"]=> string(5) "Louis" ["email"]=> string(15) "louis@gmail.com" ["passwd"]=> string(32) "0b6973b130c5b8cf72f8d5799444a5e7" } array(4) { ["name"]=> string(5) "Alice" ["firstname"]=> string(5) "Louis" ["email"]=> string(15) "louis@gmail.com" ["passwd"]=> string(32) "0b6973b130c5b8cf72f8d5799444a5e7" } array(4) { ["name"]=> string(3) "Bob" ["firstname"]=> string(5) "Louis" ["email"]=> string(15) "louis@gmail.com" ["passwd"]=> string(32) "0b6973b130c5b8cf72f8d5799444a5e7" } array(4) { ["name"]=> string(7) "Charlie" ["firstname"]=> string(5) "Louis" ["email"]=> string(15) "louis@gmail.com" ["passwd"]=> string(32) "0b6973b130c5b8cf72f8d5799444a5e7" }

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:
54.58 ms | 1407 KiB | 4 Q