From:             ab
Operating system: windows
PHP version:      Irrelevant
Package:          *Directory/Filesystem functions
Bug Type:         Bug
Bug description:ext\standard\tests\file\rename_variation13-win32.phpt fails

Description:
------------
Test diff on php 5.3:

040+ -- 6 testing '^@' string --
040- -- 6 testing '

Test diff on php 5.4:

005+ Warning:
rename(-1,C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp):
The system cannot find the file specified. (code: 2) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
005- Warning: rename(-1,%safile.tmp): The system cannot find the file
specified. (code: 2) in %srename_variation13-win32.php on line 50
010+ Warning:
rename(1,C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp):
The system cannot find the file specified. (code: 2) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
010- Warning: rename(1,%safile.tmp): The system cannot find the file
specified. (code: 2) in %srename_variation13-win32.php on line 50
042+ Warning: rename() expects parameter 2 to be a valid path, string given
in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 45
042- Warning: rename() expects parameter 2 to be a valid path, string given
in %srename_variation13-win32.php on line 42
045+ Warning: file_exists() expects parameter 1 to be a valid path, string
given in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 46
045- Warning: file_exists() expects parameter 1 to be a valid path, string
given in %srename_variation13-win32.php on line 43
047+ Warning: rename() expects parameter 1 to be a valid path, string given
in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
047- Warning: rename() expects parameter 1 to be a valid path, string given
in %srename_variation13-win32.php on line 50
051+ Warning: rename() expects parameter 2 to be a valid path, array given
in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 45
051- Warning: rename() expects parameter 2 to be a valid path, array given
in %srename_variation13-win32.php on line 42
054+ Warning: file_exists() expects parameter 1 to be a valid path, array
given in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 46
054- Warning: file_exists() expects parameter 1 to be a valid path, array
given in %srename_variation13-win32.php on line 43
056+ Warning: rename() expects parameter 1 to be a valid path, array given
in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
056- Warning: rename() expects parameter 1 to be a valid path, array given
in %srename_variation13-win32.php on line 50
060+ Warning:
rename(C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp,/no/such/file/dir):
The system cannot find the path specified. (code: 3) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 45
060- Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find
the path specified. (code: 3) in %srename_variation13-win32.php on line 42
063+ Warning:
rename(/no/such/file/dir,C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp):
The system cannot find the path specified. (code: 3) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
063- Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find
the path specified. (code: 3) in %srename_variation13-win32.php on line 50
067+ Warning:
rename(C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp,php/php):
The system cannot find the path specified. (code: 3) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 45
067- Warning: rename(%safile.tmp,php/php): The system cannot find the path
specified. (code: 3) in %srename_variation13-win32.php on line 42
070+ Warning:
rename(php/php,C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file/renameVar13/afile.tmp):
The system cannot find the path specified. (code: 3) in
C:\php-sdk\php54\vc9\x86\php-src\ext\standard\tests\file\rename_variation13-win32.php
on line 53
070- Warning: rename(php/php,%safile.tmp): The system cannot find the path
specified. (code: 3) in %srename_variation13-win32.php on line 50

Expected result:
----------------
test pass

Actual result:
--------------
test fail

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

Reply via email to