From:             deminy at deminy dot net
Operating system: OS-unrelated
PHP version:      5.3SVN-2009-09-17 (SVN)
PHP Bug Type:     Unknown/Other Function
Bug description:  PHP syntax error in run-tests.php

Description:
------------
By making a 'svn diff' on PHP v3.0 and PHP v3.0.1RC1, I found following
changes (which also exists in
http://svn.php.net/repository/php/php-src/branches/PHP_5_3/run-tests.php
rev 286503 (latest revision):

Index: run-tests.php
===================================================================
--- run-tests.php       (.../php_5_3_0) (revision 288389)
+++ run-tests.php       (.../php_5_3_1RC1)      (revision 288389)
@@ -1023,7 +1023,7 @@
 {
        global $leak_check, $cwd;
 
-       $data = '';
+       $data = b'';
 
        $bin_env = array();
        foreach((array)$env as $key => $value) {
@@ -1059,23 +1059,23 @@
                        break;
                } else if ($n === 0) {
                        /* timed out */
-                       $data .= "\n ** ERROR: process timed out **\n";
+                       $data .= b"\n ** ERROR: process timed out **\n";

Obviously the change introduced some PHP syntax errors.


-- 
Edit bug report at http://bugs.php.net/?id=49574&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49574&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49574&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49574&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49574&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49574&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49574&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49574&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49574&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49574&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49574&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49574&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49574&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49574&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49574&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49574&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49574&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49574&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49574&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49574&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49574&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49574&r=mysqlcfg

Reply via email to