[PHP-DOC] cvs: phpdoc /en/reference/simplexml/functions simplexml-element-addAttribute.xml simplexml-element-addChild.xml simplexml-element-getDocNamespaces.xml simplexml-element-getName.xml simplexml

2006-05-10 Thread Ben Ramsey
ramsey  Thu May 11 06:32:45 2006 UTC

  Added files: 
/phpdoc/en/reference/simplexml/functions

simplexml-element-addAttribute.xml 
simplexml-element-addChild.xml 

simplexml-element-getDocNamespaces.xml 
simplexml-element-getName.xml 

simplexml-element-getNamespaces.xml 
  Log:
  Added addAttribute(), addChild(), getDocNamespaces(), getName(), and 
  getNamespaces() methods to SimpleXMLElement documentation.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml?view=markup&rev=1.1
Index: 
phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml
+++ phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml



 
  SimpleXMLElement->addAttribute
  
   Adds an attribute to the SimpleXML element
  
 
 
  &reftitle.description;
  
   voidSimpleXMLElement->addAttribute
   stringname
   stringvalue
   stringnamespace
  
  
   Adds an attribute to the SimpleXML element.
  
 

 
  &reftitle.parameters;
  
   

 name
 
  
   The name of the attribute to add.
  
 


 value
 
  
   The value of the attribute.
  
 


 namespace
 
  
   If specified, the namespace to which the attribute belongs.
  
 

   
  
 

 
  &reftitle.examples;
  
   
Add attributes and children to a SimpleXML element



   
  
 

 
  &reftitle.seealso;
  
   

   
  
 




http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml
+++ phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml



 
  SimpleXMLElement->addChild
  
   Adds a child element to the XML node
  
 
 
  &reftitle.description;
  
   
SimpleXMLElementSimpleXMLElement->addChild
   stringname
   stringvalue
   stringnamespace
  
  
   Adds a child element to the node and returns a SimpleXMLElement of the child.
  
 

 
  &reftitle.parameters;
  
   

 name
 
  
   The name of the child element to add.
  
 


 value
 
  
   If specified, the value of the child element.
  
 


 namespace
 
  
   If specified, the namespace to which the child element belongs.
  
 

   
  
 

 
  &reftitle.returnvalues;
  
   The addChild method returns a 
SimpleXMLElement
   object representing the child added to the XML node.
  
 

 
  &reftitle.examples;
  
   
Add attributes and children to a SimpleXML element



   
  
 

 
  &reftitle.seealso;
  
   

   
  
 




http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml?view=markup&rev=1.1
Index: 
phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml
+++ 
phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml



 
  SimpleXMLElement->getDocNamespaces
  
   Returns namespaces declared in document
  
 
 
  &reftitle.description;
  
   arraySimpleXMLElement->getDocNamespaces
   boolrecursive
  
  
   Returns namespaces declared in document
  
 

 
  &reftitle.parameters;
  
   

 recursive
 
  
   If specified, returns all namespaces declared in parent and child nodes. 
   Otherwise, returns only namespaces declared in root node.
  
 

   
  
 

 
  &reftitle.returnvalues;
  
   The getDocNamespaces method returns an array 
   of namespace names with their associated URIs.
  
 

 
  &reftitle.examples;
  
   
Get document namespaces



   
  
  
   
Working with multiple namespaces



   
  
 

 
  &reftitle.seealso;
  
   

   
  
 




http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml
+++ phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml



 
  SimpleXMLElement->getName
  Gets the name of the XML element
 
 
  &reftitle.description;
  
   stringSimpleXMLElement->getName
   
  
  
   Gets the name of the XML element.
  
 

 
  &reftitle.returnvalues;
  
   The getName method returns as a string the 
   name of the XML tag referenced by the SimpleXMLElement object.
  
 

 
  &reftitle.examples;
  
   
Get XML element names



   
  
 




http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml?view=markup&rev=1.1
Index: 
phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml
+++ phpdoc/en/reference/simple

[PHP-DOC] #37401 [NEW]: PDO statement preparing - missing example

2006-05-10 Thread stochnagara at hotmail dot com
From: stochnagara at hotmail dot com
Operating system: 
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  PDO statement preparing - missing example

Description:

The example 1 on page
http://www.php.net/manual/en/function.pdo-prepare.php
shows how we can prepare an SQL statement with named parameters.
The example shows that parameters are passed in this way:
$sth->execute(array(':calories' => 150, ':colour' => 'red'));
I think there should be one more example that shows using parameters
without ':' in front of each parameter, e.g.

$sth->execute(array('calories' => 150, 'colour' => 'red'));

This would be a valuable example because most of the people do not know
this convinient way of passing parameters without the need to foreach an
array and add ':' in front of every key.


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


[PHP-DOC] #37400 [Opn]: add missing documentation for zend_thread_id(), crash() and leak()

2006-05-10 Thread philip
 ID:   37400
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: irrelevant
 PHP Version:  Irrelevant
 New Comment:

Note: We decided to remove the docs for leak(), and not document
crash(). See also bug #23248

Whoever decides to document zend_thread_id(), it can be found in
zend_builtin_functions.c





Previous Comments:


[2006-05-10 16:46:00] [EMAIL PROTECTED]

Description:

topic says it all ..






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


[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-last-error.xml

2006-05-10 Thread Philip Olson
philip  Wed May 10 17:27:51 2006 UTC

  Added files: 
/phpdoc/en/reference/pcre/functions preg-last-error.xml 
  Log:
  Initial commit, still considered undocumented.
  See also: pcre.backtrack_limit and pcre.recursion_limit
  
  

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pcre/functions/preg-last-error.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/pcre/functions/preg-last-error.xml
+++ phpdoc/en/reference/pcre/functions/preg-last-error.xml



 
  preg_last_error
  Returns the error code of the last PCRE regexp 
execution.
 

 
  &reftitle.description;
  
   intpreg_last_error
   
  
  
   Returns the error code of the last PCRE regexp execution.
  

  &warn.undocumented.func;

 

 
  &reftitle.returnvalues;
  
   The error code on success.
  
 

 
  &reftitle.seealso;
  
   
preg_replace
   
  
 





[PHP-DOC] #37400 [NEW]: add missing documentation for zend_thread_id(), crash() and leak()

2006-05-10 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  add missing documentation for zend_thread_id(), crash() and 
leak()

Description:

topic says it all ..


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


[PHP-DOC] cvs: phpdoc /en/reference/filter ini.xml

2006-05-10 Thread Dave Barr
daveWed May 10 08:09:02 2006 UTC

  Modified files:  
/phpdoc/en/reference/filter ini.xml 
  Log:
  - Revert changelog.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/filter/ini.xml
diff -u phpdoc/en/reference/filter/ini.xml:1.4 
phpdoc/en/reference/filter/ini.xml:1.5
--- phpdoc/en/reference/filter/ini.xml:1.4  Tue May  9 23:58:06 2006
+++ phpdoc/en/reference/filter/ini.xml  Wed May 10 08:09:02 2006
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.runtime;
  &extension.runtime;
@@ -20,19 +20,13 @@
   filter.default
   unsafe_raw
   PHP_INI_PERDIR
-  
-   Before Filter 0.9.5, default was "string" and
-   changeable was PHP_INI_SYSTEM.
- 
+  
  
  
   filter.default_flags
   
   PHP_INI_PERDIR
-  
-   Before Filter 0.9.5, changeable was
-   PHP_INI_SYSTEM.
-  
+  
  
 



Re: [PHP-DOC] cvs: phpdoc /en/reference/filter ini.xml

2006-05-10 Thread Jakub Vrana
Dave Barr wrote:
> +  
> +   Before Filter 0.9.5, default was "string" and
> +   changeable was PHP_INI_SYSTEM.
> + 

> +  
> +   Before Filter 0.9.5, changeable was
> +   PHP_INI_SYSTEM.
> +  

Filter is in EXPERIMENTAL state - I think this kind of changes are not
worth commenting.

Jakub Vrana


Re: [PHP-DOC] cvs: phpdoc /en/reference/filter ini.xml

2006-05-10 Thread Derick Rethans
On Tue, 9 May 2006, Dave Barr wrote:

> dave  Tue May  9 23:58:06 2006 UTC
> 
>   Modified files:  
> /phpdoc/en/reference/filter   ini.xml 
>   Log:
>   - INI entry changelog.

I honestly don't think this should be kept track of for pre-release 
versions. It's just going to confuse people.

Derick

> http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.3&r2=1.4&diff_format=u
> Index: phpdoc/en/reference/filter/ini.xml
> diff -u phpdoc/en/reference/filter/ini.xml:1.3 
> phpdoc/en/reference/filter/ini.xml:1.4
> --- phpdoc/en/reference/filter/ini.xml:1.3Tue May  9 02:07:12 2006
> +++ phpdoc/en/reference/filter/ini.xmlTue May  9 23:58:06 2006
> @@ -1,5 +1,5 @@
>  
> -
> +
>  
>   &reftitle.runtime;
>   &extension.runtime;
> @@ -20,13 +20,19 @@
>filter.default
>unsafe_raw
>PHP_INI_PERDIR
> -  
> +  
> +   Before Filter 0.9.5, default was "string" and
> +   changeable was PHP_INI_SYSTEM.
> + 
>   
>   
>filter.default_flags
>
>PHP_INI_PERDIR
> -  
> +  
> +   Before Filter 0.9.5, changeable was
> +   PHP_INI_SYSTEM.
> +  
>   
>  
> 
> 

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org