3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [0x100000000 => "5\0", 0x001 => 'hund']; $input[1] = md5($input[1]); var_dump($input); var_dump($input === ["5", '06e2b745f3124f7d670f78eabaa94809']); var_dump($input[0] + 0); var_dump([5 => 5] === [0x100000005 => 0x05]); // bool(true)
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [4294967296]=> string(2) "5" [1]=> string(32) "06e2b745f3124f7d670f78eabaa94809" } bool(false) Warning: Undefined array key 0 in /in/Tbugt on line 8 int(0) bool(false)

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:
65.24 ms | 401 KiB | 8 Q