php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/ext/hash/tests/ |
files >> //opt/php-7.0.1/ext/hash/tests/joaat.phpt |
--TEST-- Jenkins's one-at-a-time --SKIPIF-- <?php extension_loaded('hash') or die ('Skip - hash extension not available'); ?> --FILE-- <?php $tests = array( array("hello world", "3e4a5a57"), array("", 0), array("", "000000"), array("a", "ca2e9442"), array("aa", "7081738e"), ); $i = 0; $pass = true; foreach ($tests as $test) { ++$i; $result = hash("joaat", $test[0]); if ($result != $test[1]) { echo "Iteration " . $i . " failed - expected '" . $test[1] . "', got '" . $result . "' for '" . $test[1] . "'\n"; $pass = false; } } if($pass) { echo "PASS"; } ?> --EXPECT-- PASSy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`