3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('240610708') == md5('QNKCDZO')); var_dump(md5('aabg7XSs') == md5('aabC9RqS')); var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m')); var_dump('0010e2' == '1e3'); var_dump('0x1234Ab' == '1193131'); var_dump('0xABCdef' == ' 0xABCdef');
based on 2vrMi

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

Output for Arrow functions
bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false)
Output for Object typehint
bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false)
Output for Array change keys
bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false)
Output for Lexical anon
bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false)
Output for Typed properties
bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false)

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