Edit report at https://bugs.php.net/bug.php?id=60179&edit=1

 ID:                 60179
 Updated by:         f...@php.net
 Reported by:        dbetz at df dot eu
 Summary:            php_flag and php_value does not work properly
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            FPM related
 Operating System:   Gentoo Linux
 PHP Version:        5.3.8
 Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

I've fixed 2 things:
1- php_flag didn't handle correctly the On and Off parameters
2- php_value didn't accept empty values


Previous Comments:
------------------------------------------------------------------------
[2011-11-03 15:47:13] f...@php.net

Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=318743
Log: - Fixed bug #60179 (php_flag and php_value does not work properly)

------------------------------------------------------------------------
[2011-11-03 15:13:26] dbetz at df dot eu

Hello Jerome,

works like a charm :-)

Thank you much.

Greetings,
Daniel

------------------------------------------------------------------------
[2011-11-03 15:08:02] f...@php.net

I finally understood your problem ;)

Can you please test the version 2 of the patch attached and reopen the bug when 
it's done ?

Thx
++ Jerome

------------------------------------------------------------------------
[2011-11-03 15:07:02] f...@php.net

The following patch has been added/updated:

Patch Name: fpm-bug60179-v2.patch
Revision:   1320332822
URL:        
https://bugs.php.net/patch-display.php?bug=60179&patch=fpm-bug60179-v2.patch&revision=1320332822

------------------------------------------------------------------------
[2011-10-31 14:44:52] dbetz at df dot eu

In the php manual http://php.net/ini_get is an notice:
Hinweis: When querying boolean values

A boolean ini value of off will be returned as an empty string or "0" while a 
boolean ini value of on will be returned as "1". The function can also return 
the literal string of INI value. 

--

It looks like, that the value is not boolen Off but string "Off"

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

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


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

Reply via email to