[php-maint] Bug#632194: php5: var_export of objects is causing std	output even with return=true
    Stefan Wendt 
    stefan_php at crafted.de
       
    Thu Jun 30 14:24:12 UTC 2011
    
    
  
Package: php5
Version: 5.2.6.dfsg.1-1+lenny12
Followup-For: Bug #632194
<?php
class SomeClass
{
      public $someVar;
}
$myObject=new SomeClass();
$text=var_export( $myObject, TRUE );
?>
This causes the following output:
dev at xxx:~/stefan$ php ./testVarDump.php
 'someVar' =>  dev at xxx:~/stefan$ 
I have tested the same on 5.2.6.dfsg.1-1+lenny9 and it's working fine there. 
-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5 depends on:
ii  libapache2-mod-ph 5.2.6.dfsg.1-1+lenny12 server-side, HTML-embedded scripti
ii  php5-common       5.2.6.dfsg.1-1+lenny12 Common files for packages built fr
php5 recommends no packages.
php5 suggests no packages.
-- no debconf information
    
    
More information about the pkg-php-maint
mailing list