note 104669 added to class.lengthexception

From: Date: Wed, 29 Jun 2011 14:41:05 +0000
Subject: note 104669 added to class.lengthexception
Groups: php.notes 
Request: Send a blank email to php-notes+get-181041@lists.php.net to get a copy of this message
<?php function check_hash($hash) { if (strlen($hash) != 32) { throw new LengthException; } // ... } ?> ---- Server IP: 80.67.10.228 Probable Submitter: 217.118.209.33 ---- Manual Page -- http://www.php.net/manual/en/class.lengthexception.php Edit -- https://master.php.net/note/edit/104669 Del: integrated -- https://master.php.net/note/delete/104669/integrated Del: useless -- https://master.php.net/note/delete/104669/useless Del: bad code -- https://master.php.net/note/delete/104669/bad+code Del: spam -- https://master.php.net/note/delete/104669/spam Del: non-english -- https://master.php.net/note/delete/104669/non-english Del: in docs -- https://master.php.net/note/delete/104669/in+docs Del: other reasons-- https://master.php.net/note/delete/104669 Reject -- https://master.php.net/note/reject/104669 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181041) next »