3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Hello world'; $result = str_split($text); $result = array_map('ord', $result); $result = array_map('dechex', $result); var_dump("0x" . implode('', $result));
Output for git.master, git.master_jit, rfc.property-hooks
string(24) "0x48656c6c6f20776f726c64"

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.26 ms | 401 KiB | 8 Q