Re: Improvement to test script 'bug22414'

From: Date: Mon, 08 Aug 2005 21:59:48 +0000
Subject: Re: Improvement to test script 'bug22414'
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-17636@lists.php.net to get a copy of this message
Hello, I didn't write the test, I just added code to check the crc32() values, the rest is the original code. What should be used instead of '<?' out of curiousity? That's all I've ever used. Marcus Boerger wrote: > Hello Rob, > > just a short comment to everyone writing tests: never use '<?' in tests. > > marcus > > Monday, August 8, 2005, 9:07:24 PM, you wrote: > > >>Attached is a universal 'diff' that adds a crc32() check to the >>'passthru' >>test as well as an md5() test. This will help detect if there's a problem >>with md5() or crc32() unless both are failing, which indicates a problem with >>the 'mhash' functionality. > > >>Cheers, Rob > > > > > Best regards, > Marcus >

« previous php.internals (#17636) next »