Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68019 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81929 invoked from network); 29 Jun 2013 09:27:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2013 09:27:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.184 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.184 c2beaomr06.btconnect.com Received: from [213.123.26.184] ([213.123.26.184:15567] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/D6-37409-788AEC15 for ; Sat, 29 Jun 2013 05:27:36 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO linux-dev4.lsces.org.uk) ([81.138.11.136]) by c2beaomr06.btconnect.com with ESMTP id MGB05346; Sat, 29 Jun 2013 10:27:32 +0100 (BST) Message-ID: <51CEA908.90702@lsces.co.uk> Date: Sat, 29 Jun 2013 10:29:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: PHP Internals References: <51CD5580.50103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0302.51CEA884.0009, actions=TAG X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2013.6.29.85117:17:7.944, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, BODY_ENDS_IN_URL, BODY_SIZE_700_799, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, BODY_SIZE_1000_LESS, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr06.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0209.51CEA884.0088:SCFSTAT14830815,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2013-04-19 10:07:54, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Re: hex2bin: E_WARNING is too much for odd string? From: lester@lsces.co.uk (Lester Caine) Sherif Ramadan wrote: > I see these as two separate problems. The first problem is clearly a design > problem (but we can't really do much about that in the short term). One thing that came to mind when this first popped up was "Why isn't the string automatically zero padded?" Check my own uses I see that I've always had an even number of characters but that seems to be more by luck than design ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk