3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pairs = array( '240610708' => 'QNKCDZO', 'aabg7XSs' => 'aabC9RqS', 'aaroZmOk' => 'aaK1STfY', 'aaO8zKZF' => 'aa3OFF9m', '0010e2' => '1e3', '0x1234Ab' => '1193131', '0xABCdef' => ' 0xABCdef', ); foreach ($pairs as $k => $v) { echo "Comparing '$k' and '$v': ".md5($k). " == ". md5($v) . "\n"; var_dump(md5($k) == md5($v)); }
Output for git.master, git.master_jit, rfc.property-hooks
Comparing '240610708' and 'QNKCDZO': 0e462097431906509019562988736854 == 0e830400451993494058024219903391 bool(true) Comparing 'aabg7XSs' and 'aabC9RqS': 0e087386482136013740957780965295 == 0e041022518165728065344349536299 bool(true) Comparing 'aaroZmOk' and 'aaK1STfY': 4e91292830102879cd95e9bae60460e7 == 18976373cef16fcf4a4ae2711eda7878 bool(false) Comparing 'aaO8zKZF' and 'aa3OFF9m': 4d144fa94d853213a8772b845584b097 == a912b3d5b5672b4731ad37259811f221 bool(false) Comparing '0010e2' and '1e3': 3d96543dab8fdc745be29a5b08f6f697 == 8d9e78ee05f0247b1e9399c06976bda7 bool(false) Comparing '0x1234Ab' and '1193131': 3c86c680ec8e550bf00514ef953f13d2 == f5dfe83cce8f725c8468b4aca2e119f8 bool(false) Comparing '0xABCdef' and ' 0xABCdef': 9337330147aae5b45b5341f1ed6e6ab1 == c4f7fe9e373c99f4170cce1dfc47e792 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:
37.39 ms | 402 KiB | 8 Q