Posted by Greg Donald on 02/08/05 19:48
On Tue, 8 Feb 2005 09:23:46 -0800 (PST), Richard Lynch <ceo@l-i-e.com> wrote:
> There's no guarantee that will re-use the same bytes for the new string in
> the low-level C malloc/alloc/???alloc calls, I don't think...
Your right. In fact this script proves just how wrong I was:
#!/usr/bin/php
<?php
$cc = '1234123412341234';
$cc = md5( time() );
echo `cat /dev/mem | strings | grep "^1234123412341234$"`;
?>
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
Navigation:
[Reply to this message]
|