3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $base16Alphabet = 'abcdefghijklmnop'; $hash = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"; $result = ''; for ($i = 0; $i < 16; $i++) { $byte = ord($hash[$i]); $result .= $base16Alphabet[$byte & 0xF0 >> 4] . $base16Alphabet[$byte & 0x0F]; } echo $result;

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Notice: Uninitialized string offset: 8 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 9 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 10 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 11 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 12 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 13 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 14 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 15 in /in/ZTa1M on line 8 bbddffhhjjllnnppaaaaaaaaaaaaaaaa
Output for Array change keys
Notice: Uninitialized string offset: 8 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 9 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 10 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 11 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 12 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 13 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 14 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 15 in /in/ZTa1M on line 8 bbddffhhjjllnnppaaaaaaaaaaaaaaaa
Output for Lexical anon
Notice: Uninitialized string offset: 8 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 9 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 10 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 11 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 12 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 13 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 14 in /in/ZTa1M on line 8 Notice: Uninitialized string offset: 15 in /in/ZTa1M on line 8 bbddffhhjjllnnppaaaaaaaaaaaaaaaa

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