[PHP-DOC] #37187 [NEW]: gmmktime() documentation error

2006-04-24 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  gmmktime() documentation error

Description:

The manual entry above is wrong.  The statement:
"Identical to mktime() except the passed parameters represents a GMT
date."
should read
"Identical to mktime() except the timestamp produced represents a GMT
date."

Here is a test case:
= gmmktime()) ? "Yes" : "No";
?>
This produces "Yes" as the answer.  Changing it to:
= gmmktime()) ? "Yes" : "No";
?>
Produces the expected answer of "No"

Reproduce code:
---
= gmmktime()) ? "Yes" : "No";
?>

Expected result:

No

Actual result:
--
Yes

-- 
Edit bug report at http://bugs.php.net/?id=37187&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37187&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37187&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37187&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37187&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37187&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37187&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37187&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37187&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37187&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37187&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37187&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37187&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37187&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37187&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37187&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37187&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37187&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37187&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37187&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37187&r=mysqlcfg


[PHP-DOC] #37184 [NEW]: Unit of disk_total_space not specified in French documentation

2006-04-24 Thread jdecoodt at uniways dot fr
From: jdecoodt at uniways dot fr
Operating system: Irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Unit of disk_total_space not specified in French documentation

Description:

In http://fr.php.net/manual/fr/function.disk-total-space.php, we do not
know which is the unit of the returned value.

Expected result:

I suggest this translation :
disk_total_space() lit récursivement toutes les tailles du dossier
directory et retourne la somme en octets. directory peut ĂȘtre aussi une
partition de disque.


-- 
Edit bug report at http://bugs.php.net/?id=37184&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37184&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37184&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37184&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37184&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37184&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37184&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37184&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37184&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37184&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37184&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37184&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37184&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37184&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37184&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37184&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37184&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37184&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37184&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37184&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37184&r=mysqlcfg


[PHP-DOC] cvs: phpdoc /en/reference/pdo constants.xml

2006-04-24 Thread Jakub Vrana
vrana   Mon Apr 24 07:41:57 2006 UTC

  Modified files:  
/phpdoc/en/reference/pdoconstants.xml 
  Log:
  New constants
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo/constants.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/pdo/constants.xml
diff -u phpdoc/en/reference/pdo/constants.xml:1.13 
phpdoc/en/reference/pdo/constants.xml:1.14
--- phpdoc/en/reference/pdo/constants.xml:1.13  Thu Nov 24 21:46:08 2005
+++ phpdoc/en/reference/pdo/constants.xml   Mon Apr 24 07:41:57 2006
@@ -1,5 +1,5 @@
 
-
+
 
 
  &reftitle.constants;
@@ -256,6 +256,39 @@
   
   

+PDO::FETCH_CLASSTYPE
+ (integer)
+   
+   
+
+
+
+   
+  
+  
+   
+PDO::FETCH_SERIALIZE
+ (integer)
+   
+   
+
+ Available since PHP 5.1.0.
+
+   
+  
+  
+   
+PDO::FETCH_PROPS_LATE
+ (integer)
+   
+   
+
+
+
+   
+  
+  
+   
 PDO::ATTR_AUTOCOMMIT
  (integer)

@@ -441,6 +474,17 @@
   
   

+PDO::ATTR_STATEMENT_CLASS
+ (integer)
+   
+   
+ 
+
+
+   
+  
+  
+   
 PDO::ATTR_FETCH_CATALOG_NAMES
  (integer)

@@ -469,6 +513,50 @@
   
   

+PDO::ATTR_STRINGIFY_FETCHES
+ (integer)
+   
+   
+ 
+
+
+   
+  
+  
+   
+PDO::ATTR_MAX_COLUMN_LEN
+ (integer)
+   
+   
+ 
+
+
+   
+  
+  
+   
+PDO::ATTR_DEFAULT_FETCH_MODE
+ (integer)
+   
+   
+ 
+
+
+   
+  
+  
+   
+PDO::ATTR_EMULATE_PREPARES
+ (integer)
+   
+   
+
+ Available since PHP 5.1.3.
+
+   
+  
+  
+   
 PDO::ERRMODE_SILENT
  (integer)

@@ -542,6 +630,39 @@
   
   

+PDO::PDO_NULL_NATURAL
+ (integer)
+   
+   
+
+
+
+   
+  
+  
+   
+PDO::PDO_NULL_EMPTY_STRING
+ (integer)
+   
+   
+
+
+
+   
+  
+  
+   
+PDO::PDO_NULL_TO_STRING
+ (integer)
+   
+   
+
+
+
+   
+  
+  
+   
 PDO::FETCH_ORI_NEXT
  (integer)