<?php // your code goes here $string = 'test2';$compareHash = 'ad0234829205b9033196ba818f7a872b'; var_dump(md5($string), $compareHash, $compareHash == md5($string));
Standard input is empty
string(32) "ad0234829205b9033196ba818f7a872b" string(32) "ad0234829205b9033196ba818f7a872b" bool(true)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!