3v4l.org

run code in 300+ PHP versions simultaneously
<?php $magic = "\x45\x52\x00\x05\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x20\x20\x00\x00\x00\x20\x40\x00\x00\x00\xff\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x00\x52\x64\x00\x00"; $info = finfo_open(FILEINFO_MIME); var_dump(finfo_buffer($info, $magic));
Output for git.master, git.master_jit, rfc.property-hooks
string(40) "application/octet-stream; charset=binary"

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