PHP 5 bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm using EL6 with all updates applied and getting bit by a PHP5 bug 
that was fixed a year and a half ago...

https://bugs.php.net/bug.php?id=52534

EL6 ships with php 5.3.3, which was released prior to the bug fix. What 
are the chances that this fixed bug can be reported/fixed upstream at 
the prominent North American Linux Vendor? Here's sample code that 
demonstrates the problem:

function CheckBug52534(){
   $check = array(1 => 'a', -1 => 'b');
   $str = var_export($check, true);
   $str = "\$a=$str;";
   eval($str);
   if (!isset($a[-1]))
     return true;
}


echo (Checkbug52534()) ? "has it" : 'not found';

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux