3v4l.org

run code in 300+ PHP versions simultaneously
<?php $generator = function ($bytes) { for ($i = 0; $i < $bytes; $i++) { yield '.'; } }; var_dump( get_class_methods($generator(10)) );
Output for git.master, git.master_jit, rfc.property-hooks
array(8) { [0]=> string(6) "rewind" [1]=> string(5) "valid" [2]=> string(7) "current" [3]=> string(3) "key" [4]=> string(4) "next" [5]=> string(4) "send" [6]=> string(5) "throw" [7]=> string(9) "getReturn" }

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