Bug #60920 [Com]: CLI: php -v on STDERR

2012-01-29 Thread b...@php.net
Edit report at https://bugs.php.net/bug.php?id=60920edit=1

 ID: 60920
 Comment by: b...@php.net
 Reported by:the...@php.net
 Summary:CLI: php -v on STDERR
 Status: Open
 Type:   Bug
 Package:PHP options/info functions
 PHP Version:5.4SVN-2012-01-28 (SVN)
 Block user comment: N
 Private report: N

 New Comment:

This is causing sapi/cli/tests/001.phpt to fail - Is the fix intentional and 
does 
the unit test need updating, or should --version be outputting to STDOUT?


Previous Comments:

[2012-01-28 22:25:20] the...@php.net

Same goes for startup errors, e.g.

$ F:/Programme/php-5.4.0RC6-nts-Win32-VC9-x86/php.exe -dmagic_quotes_gpc=on 
2/dev/null

Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in 
Unknown on line 0

vs.

$ ~/devel/php/php/branches/PHP_5_4/Release/php.exe -dmagic_quotes_gpc=on 
2/dev/null


[2012-01-28 22:22:49] the...@php.net

Description:

The PHP version info lands on STDERR now, not on STDOUT. Caused by 
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/output.c?r1=322743r2=322742pathrev=322743

Test script:
---
$ php -v 2/dev/null

Expected result:

Something like:

PHP 5.4.0RC7-dev (cli) (built: Jan 28 2012 22:23:46)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies


Actual result:
--
(nothing)






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60920edit=1


Req #60045 [Asn]: Number of updated files

2011-10-13 Thread b...@php.net
Edit report at https://bugs.php.net/bug.php?id=60045edit=1

 ID: 60045
 User updated by:b...@php.net
 Reported by:b...@php.net
 Summary:Number of updated files
 Status: Assigned
 Type:   Feature/Change Request
 Package:Online Doc Editor problem
 PHP Version:5.4.0beta1
 Assigned To:yannick
 Block user comment: N
 Private report: N

 New Comment:

2yann...@php.net:

Yeah, that's it!


Previous Comments:

[2011-10-12 19:27:28] yann...@php.net

What do you mean ?

You want to display the number of YOUR file who need to be updated  ?

Something like this, in the title of the module : 

Need update (6 files - 3 of yours)


[2011-10-12 12:00:47] b...@php.net

*maintainer could see number of files need to be updated.


[2011-10-12 11:54:20] b...@php.net

Description:

It would be usefull if user could see which of translated files need to be 
updated. It would be better to add this number in string that contains all 
files 
that need to be updated.







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60045edit=1


[PHP-BUG] Bug #55701 [NEW]: GlobIterator throws LogicException with message 'The parent constructor was not

2011-09-15 Thread b...@php.net
From: 
Operating system: Linux, OSX
PHP version:  5.3.8
Package:  SPL related
Bug Type: Bug
Bug description:GlobIterator throws LogicException with message 'The parent 
constructor was not

Description:

Basic functionality doesn't work because it seems as the GlobIterator might
needs 
some changes to work with this commit: 
http://marc.info/?l=php-cvsm=130188548616717

Test script:
---
?php
$g = new \GlobIterator(__DIR__ . '/*');

do {
$g-next();
} while($g-valid());

Expected result:

Empty output

Actual result:
--
PHP Fatal error:  Uncaught exception 'LogicException' with message 'The
parent 
constructor 
was not called: the object is in an invalid state ' in
/private/tmp/x.php:6
Stack trace:
#0 /private/tmp/x.php(6): SplFileInfo-_bad_state_ex()
#1 {main}
  thrown in /private/tmp/x.php on line 6

Fatal error: Uncaught exception 'LogicException' with message 'The parent 
constructor was not 
called: the object is in an invalid state ' in /private/tmp/x.php:6
Stack trace:
#0 /private/tmp/x.php(6): SplFileInfo-_bad_state_ex()
#1 {main}
  thrown in /private/tmp/x.php on line 6

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