[PHP-DOC] #24670 [NEW]: defining __call requires __sleep for serialize/session
From: tater at potatoe dot com Operating system: OS X 10.2 PHP version: 5CVS-2003-07-16 (dev) PHP Bug Type: Documentation problem Bug description: defining __call requires __sleep for serialize/session Description: If you create a __call() method for a class, and then try to serialize it yourself, or store an object of that class in $_SESSION, you need to either explicitly define a __sleep() method as well, or make sure that __call() will respond appropriately. Otherwise serialize() will complain. It seems unlikely that this is a bug, though I suppose it might be a feature request. So it should just be spelled out in the documentation for __call() when that gets written. Reproduce code: --- class foo { function __call() { return; } } $a = new foo; serialize($a); Expected result: n/a Actual result: -- n/a -- Edit bug report at http://bugs.php.net/?id=24670edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24670r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24670r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24670r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24670r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24670r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24670r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24670r=support Expected behavior: http://bugs.php.net/fix.php?id=24670r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24670r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24670r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24670r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24670r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24670r=dst IIS Stability: http://bugs.php.net/fix.php?id=24670r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24670r=gnused -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] php_manual_en.chm file, bug
On Tue, 15 Jul 2003, Tupteq wrote: I found not working link in .chm documentation file. Contents-Function Reference-Filesystem functions-chmod Chmod opened from index works fine. This is already known, and from what we can see this is just a bug in MS' HTML Help. Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #24672 [NEW]: Search Documentation - Function list does not work correctly
From: s dot pfalz at teles dot de Operating system: PHP Website de*.php.net mirrors PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Search Documentation - Function list does not work correctly Description: When using the PHP.net document search function on de3.php.net to search for parse_ini_file() and using the searchstring parse (note the trailing space) this function will be found, but not on de.php.net and de2.php.net. Searching for parse only does not even return the parse_ini_file function. There seems to be a problem with double underscores in function names and the website search. Reproduce code: --- Try to search for parse on any of the de.php.net mirrors and see yourself what is returned ;) Expected result: Expected to get a list of functions containing the word parse, but not all functions are returned, mainly none of the functions containing double underscores. Actual result: -- As mentioned above, this is always reproduceable with either Mozilla 1.4 or IE 6.0. -- Edit bug report at http://bugs.php.net/?id=24672edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24672r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24672r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24672r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24672r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24672r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24672r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24672r=support Expected behavior: http://bugs.php.net/fix.php?id=24672r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24672r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24672r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24672r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24672r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24672r=dst IIS Stability: http://bugs.php.net/fix.php?id=24672r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24672r=gnused -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] Re: Docmeeting Protocol
quote Damien is going to help us with generating PDF straight from HTML to finally get it working. It will still need a full bightml file (generated with XSLT), but we will most likely hack up livedocs to makes this work. /quote How are you going to be generating the PDF? Because it seems to me that going from XML-HTML-PDF is perhaps not the best way Why not use XSLT to go XML-XSL:FO and pass that through FOP to get the PDF? - Davey Derick Rethans wrote: Hello, here a rough summary of the docmeeting which we had at LT, i've no more time to wrap it up nicely before I go on holiday, so perhaps somebody else can do that? I'm cc-ing pear-doc@ as they might be interested in using all of this too, but that will require some restructuring of the PEAR doc system. regards, Derick -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] #24642 [Opn-Csd]: pg_field_is_null first row is 0 not 1
ID: 24642 Updated by: [EMAIL PROTECTED] Reported By: jc at mega-bucks dot co dot jp -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.3.3RC1 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. http://cvs.php.net/co.php/phpdoc/en/reference/pgsql/functions/pg-field-is-null.xml?login=2r=1.3 Mehdi Previous Comments: [2003-07-14 00:57:19] jc at mega-bucks dot co dot jp Description: For the function pg_field_is_null() row and column indexing seem to start at 0. Could you add that to the function7s description. It was not immediately obvious to me that row counting would start at 0 ... -- Edit this bug report at http://bugs.php.net/?id=24642edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Re: Docmeeting Protocol
On Wed, 16 Jul 2003, Davey wrote: quote Damien is going to help us with generating PDF straight from HTML to finally get it working. It will still need a full bightml file (generated with XSLT), but we will most likely hack up livedocs to makes this work. /quote How are you going to be generating the PDF? Because it seems to me that going from XML-HTML-PDF is perhaps not the best way Why not use XSLT to go XML-XSL:FO and pass that through FOP to get the PDF? Sure, if you can donate a box with 4GB of ram :) Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Re: Docmeeting Protocol
Derick Rethans wrote: On Wed, 16 Jul 2003, Davey wrote: quote Damien is going to help us with generating PDF straight from HTML to finally get it working. It will still need a full bightml file (generated with XSLT), but we will most likely hack up livedocs to makes this work. /quote How are you going to be generating the PDF? Because it seems to me that going from XML-HTML-PDF is perhaps not the best way Why not use XSLT to go XML-XSL:FO and pass that through FOP to get the PDF? Sure, if you can donate a box with 4GB of ram :) Derick Fair enough ;) - Davey -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Docmeeting Protocol
I am going to work on this more, and commit into phpdoc CVS later today or tomorrow. Thanks for the summaries Derick. Goba Derick Rethans wrote: Hello, here a rough summary of the docmeeting which we had at LT, i've no more time to wrap it up nicely before I go on holiday, so perhaps somebody else can do that? I'm cc-ing pear-doc@ as they might be interested in using all of this too, but that will require some restructuring of the PEAR doc system. regards, Derick -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] HOWDO
Hallo, könnte jemand so freundlich sein und mir in paar kurzen Worten mitteilen - wo man nachsehen kann, ob eine bestimmte Dokumentation bereits in bearbeiten ist - in welcher Form man eine erstellte Documentation Verfassen sollte - an welche Adresse man eine erstelle Documentation schicken darf. MfG Bernd Hoffmann
Re: [PHP-DOC] design of source code
Can someone tell me where I can find the documentaion for the design of source code for php? What do you mean by design of source code? Coding conventions? Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] [Fwd: Oracle FAQ - Site Moved]
Hi! Can someone please fix the link? Thanks, Goba ---BeginMessage--- Hi, Link http://www.onwe.co.za/frank/faqnet.htm; moved to http://www.orafaq.net/links/ Please update your page at http://si.php.net:/manual/en/function.ociplogon.php Best regards. Frank Naude [EMAIL PROTECTED] http://www.orafaq.net/ - Your Portal to the World of Oracle ---End Message--- -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] HOWDO
Am Mittwoch, 16. Juli 2003 11:06 schrieb Bernd Hoffmann: Hallo, könnte jemand so freundlich sein und mir in paar kurzen Worten mitteilen - wo man nachsehen kann, ob eine bestimmte Dokumentation bereits in bearbeiten ist - in welcher Form man eine erstellte Documentation Verfassen sollte - an welche Adresse man eine erstelle Documentation schicken darf. I hope this will help ... http://www.php.net/manual/howto/ -- Peter Prochaska P551 Internet / E-Security Systeme, DATEV eG /(bb|[^b]{2})/ (Shakespeare) -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] [Fwd: Oracle FAQ - Site Moved]
Hi! Can someone please fix the link? Thanks, Goba Hi, It was a user note. The link was updated yeaterday by dams : http://news.php.net/article.php?group=php.notesarticle=52153 Mehdi Subject: Oracle FAQ - Site Moved From: OraFAQ Support [EMAIL PROTECTED] Date: Tue, 15 Jul 2003 22:41:02 -0400 To: [EMAIL PROTECTED] Hi, Link http://www.onwe.co.za/frank/faqnet.htm; moved to http://www.orafaq.net/links/ Please update your page at http://si.php.net:/manual/en/function.ociplogon.php Best regards. Frank Naude [EMAIL PROTECTED] http://www.orafaq.net/ - Your Portal to the World of Oracle -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] HOWDO
Ups, da fehlte was wo man nachsehen kann, ob eine bestimmte Dokumentation bereits in bearbeiten ist Im PHPDOC-DE-Verzeichnis gibt's die Datei Translation.xml Dort steht ganz weit unten work-in-progress file name=functions/errorfunc.xml person=sts type=translation date=29.11.2001 / file name=functions/ncurses.xml person=georg type=translation date=13.02.2002 / file name=functions/pcre.xmlperson=moh type=translation date=29.11.2001 / file name=functions/pcntl.xml person=georg type=translation date=07.02.2002 / file name=chapters/install.iis.xml person=k.schroeder type=translation date=22.05.2002 / file name=faq/installation.xml person=samesch type=translation date=05.10.2002 / file name=features/commandline.xml person=frogger type=translation date=20.12.2002 / file name=reference/openssl/* person=betz type=review date=01.04.2003 / file name=reference/mysqli/*person=drews type=translation date=24.05.2003 / file name=reference/images/*person=jschultz type=translation date=24.05.2003 / file name=reference/fbsql/* person=sp type=translation date=11.06.2003 / file name=reference/pdf/* person=shadowwulf type=translation date=16.06.2003 / file name=reference/imap/* person=wiesemann type=translation date=28.06.2003 / /work-in-progress Sollte damit ja klar sein. (Die Datei kann übrigens über http://cvs.php.net/cvs.php/phpdoc-de/translation.xml?login=2 eingesehen werden - Hierbei immer die höchste Versionsnummer anklicken) Außerdem gibts noch die Datei Translators, die aber nur noch aus historischen Gründen existiert. Berichtigt mich, wenn ich da falsch liege. in welcher Form man eine erstellte Documentation Verfassen sollte Siehe http://www.php.net/manual/howto/ an welche Adresse man eine erstelle Documentation schicken darf. einfach DIFFs bzw. die Dateien in diese Liste posten Viele Grüße Sebastian -Ursprüngliche Nachricht- Von: Bernd Hoffmann [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 16. Juli 2003 11:06 An: [EMAIL PROTECTED] Betreff: [PHP-DOC] HOWDO Hallo, könnte jemand so freundlich sein und mir in paar kurzen Worten mitteilen - wo man nachsehen kann, ob eine bestimmte Dokumentation bereits in bearbeiten ist - in welcher Form man eine erstellte Documentation Verfassen sollte - an welche Adresse man eine erstelle Documentation schicken darf. MfG Bernd Hoffmann -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] HOWDO
On Wed, 16 Jul 2003, Sebastian Picklum wrote: Ups, da fehlte was wo man nachsehen kann, ob eine bestimmte Dokumentation bereits in bearbeiten ist Im PHPDOC-DE-Verzeichnis gibt's die Datei Translation.xml Please keep discussions on this list in english, use doc-de@ for things in german :) Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/nsapi/functions nsapi-virtual.xml
thetaphiWed Jul 16 07:36:04 2003 EDT Modified files: /phpdoc/en/reference/nsapi/functionsnsapi-virtual.xml Log: note about undocumented webserver usage Index: phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml diff -u phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.1 phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.2 --- phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.1 Tue Jul 15 14:08:58 2003 +++ phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml Wed Jul 16 07:36:04 2003 @@ -1,6 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- -!-- splitted from ./en/functions/apache.xml, last change in rev 1.20 -- +!-- $Revision: 1.2 $ -- refentry id=function.nsapi-virtual refnamediv refnamensapi_virtual/refname @@ -28,6 +27,16 @@ If you want to include PHP scripts, use functioninclude/function or functionrequire/function. /para +note + para + This function depends on a undocumented feature of the Netscape/iPlanet/SunONE + webservers. Use functionphpinfo/function to determine if it is available. + In the unix environment it should always work, in windows it depends on the name of + a filenamens-httpdXX.dll/filename file. It could be that newer servers + have newer versions of this DLL which is not detected. Contact us if you + experience that problem. + /para +/note /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/dbase/functions dbase-get-header-info.xml
zak Wed Jul 16 08:21:04 2003 EDT Added files: /phpdoc/en/reference/dbase/functionsdbase-get-header-info.xml Log: Adding documentation for dbase_get_header_info * Function file was checked for well-formedness. I am still installing the needed tools to build the docs on my local system Index: phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml +++ phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.dbase-get-header-info refnamediv refnamedbase_get_header_info/refname refpurposeGet the header info of a dBase database/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typearray/typemethodnamedbase_get_header_info/methodname methodparamtypeint/typeparameterdbase_identifier/parameter/methodparam /methodsynopsis para Returns information on the column structure of the database referenced by parameterdbase_identifier/parameter. For each column in the database, there is an entry in a numerically-indexed array. The array index starts at 0. Each array element contains an associative array of column information. If the database header information cannot be read, false; is returned. /para para The array elements are: variablelist varlistentry term name /term listitem simpara The name of the column /simpara /listitem /varlistentry varlistentry term type /term listitem simpara The human-readable name for the dbase type of the column (i.e. date, boolean, etc) /simpara /listitem /varlistentry varlistentry term length /term listitem simpara The number of bytes this column can hold /simpara /listitem /varlistentry varlistentry term precision /term listitem simpara The number of digits of decimal precision for the column /simpara /listitem /varlistentry varlistentry term format /term listitem simpara A suggested functionprintf/function format specifier for the column /simpara /listitem /varlistentry varlistentry term offset /term listitem simpara The byte offset of the column from the start of the row /simpara /listitem /varlistentry /variablelist /para para example titleShowing header information for a dBase database file/title programlisting role=php ![CDATA[ // Path to dbase file $db_path = /tmp/test.dbf; // Open dbase file $dbh = dbase_open($dbname) or die(Error! Could not open dbase database file '$db_path'.); // Get column information $column_info = dbase_get_header_info($dbh); // Display information print_r($column_info); ]] /programlisting /example /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] design of source code
Well I want to understand the source code of PHP, so I can modify it for my use. Where do I start from? Thanks, Pradeep.Gabor Hojtsy [EMAIL PROTECTED] wrote: Can someone tell me where I can find the documentaion for the design of source code for php?What do you mean by "design of source code"? Coding conventions?Goba-- PHP Documentation Mailing List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: [PHP-DOC] design of source code
[EVIL HTML MAIL DETECTED] On Wed, 16 Jul 2003, Pradeep Tallogu wrote: Well I want to understand the source code of PHP, so I can modify it for my use. Where do I start from? get the source from CVS: http://php.net/anoncvs.php The source is the documentation. Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-close.xml pg-delete.xml pg-fetch-all.xml pg-insert.xml pg-send-query.xml
damsWed Jul 16 11:05:35 2003 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-close.xml pg-delete.xml pg-fetch-all.xml pg-insert.xml pg-send-query.xml Log: some literals should be parameters Index: phpdoc/en/reference/pgsql/functions/pg-close.xml diff -u phpdoc/en/reference/pgsql/functions/pg-close.xml:1.4 phpdoc/en/reference/pgsql/functions/pg-close.xml:1.5 --- phpdoc/en/reference/pgsql/functions/pg-close.xml:1.4Wed Jul 16 05:20:01 2003 +++ phpdoc/en/reference/pgsql/functions/pg-close.xmlWed Jul 16 11:05:34 2003 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -- refentry id=function.pg-close refnamediv refnamepg_close/refname -refpurposeClose a PostgreSQL connection/refpurpose +refpurposeCloses a PostgreSQL connection/refpurpose /refnamediv refsect1 titleDescription/title Index: phpdoc/en/reference/pgsql/functions/pg-delete.xml diff -u phpdoc/en/reference/pgsql/functions/pg-delete.xml:1.7 phpdoc/en/reference/pgsql/functions/pg-delete.xml:1.8 --- phpdoc/en/reference/pgsql/functions/pg-delete.xml:1.7 Wed Jul 16 05:20:01 2003 +++ phpdoc/en/reference/pgsql/functions/pg-delete.xml Wed Jul 16 11:05:34 2003 @@ -1,11 +1,11 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -- refentry id='function.pg-delete' refnamediv refnamepg_delete/refname refpurpose - Delete records. + Deletes records. /refpurpose /refnamediv refsect1 @@ -26,7 +26,7 @@ /para para example - titlepg_delete/title + titlefunctionpg_delete/function example/title programlisting role=php ![CDATA[ ?php Index: phpdoc/en/reference/pgsql/functions/pg-fetch-all.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-all.xml:1.3 phpdoc/en/reference/pgsql/functions/pg-fetch-all.xml:1.4 --- phpdoc/en/reference/pgsql/functions/pg-fetch-all.xml:1.3Wed Jul 16 05:20:01 2003 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-all.xmlWed Jul 16 11:05:34 2003 @@ -1,10 +1,10 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -- refentry id=function.pg-fetch-all refnamediv refnamepg_fetch_all/refname -refpurposeFetch all rows from a result as an array/refpurpose +refpurposeFetches all rows from a result as an array/refpurpose /refnamediv refsect1 titleDescription/title Index: phpdoc/en/reference/pgsql/functions/pg-insert.xml diff -u phpdoc/en/reference/pgsql/functions/pg-insert.xml:1.7 phpdoc/en/reference/pgsql/functions/pg-insert.xml:1.8 --- phpdoc/en/reference/pgsql/functions/pg-insert.xml:1.7 Wed Jul 16 05:20:01 2003 +++ phpdoc/en/reference/pgsql/functions/pg-insert.xml Wed Jul 16 11:05:34 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -- refentry id='function.pg-insert' refnamediv @@ -18,14 +18,15 @@ methodparam choice=opttypeint/typeparameteroptions/parameter/methodparam /methodsynopsis para - functionpg_insert/function inserts the values of literalassoc_array/literal - into the table specified by literaltable_name/literal. - literaltable_name/literal must at least have as many columns as literalassoc_array/literal - has elements. The fieldnames as well as the fieldvalues in literaltable_name/literal - must match the indices and values of literalassoc_array/literal. + functionpg_insert/function inserts the values of parameterassoc_array/parameter + into the table specified by parametertable_name/parameter. + parametertable_name/parameter must at least have as many columns as + parameterassoc_array/parameter has elements. The fieldnames as + well as the fieldvalues in parametertable_name/parameter + must match the indices and values of parameterassoc_array/parameter. return.success; - If options is specified, functionpg_insert/function is applied to - literalassoc_array/literal with specified option. + If parameteroptions/parameter is specified, functionpg_insert/function + is applied to parameterassoc_array/parameter with specified option. /para para example Index: phpdoc/en/reference/pgsql/functions/pg-send-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-send-query.xml:1.5 phpdoc/en/reference/pgsql/functions/pg-send-query.xml:1.6 --- phpdoc/en/reference/pgsql/functions/pg-send-query.xml:1.5 Wed Jul 16 05:20:01 2003 +++
[PHP-DOC] cvs: phpdoc /en/reference/sqlite ini.xml reference.xml /en/reference/sqlite/functions sqlite-popen.xml
damsWed Jul 16 11:05:51 2003 EDT Modified files: /phpdoc/en/reference/sqlite ini.xml reference.xml /phpdoc/en/reference/sqlite/functions sqlite-popen.xml Log: use of entities Index: phpdoc/en/reference/sqlite/ini.xml diff -u phpdoc/en/reference/sqlite/ini.xml:1.3 phpdoc/en/reference/sqlite/ini.xml:1.4 --- phpdoc/en/reference/sqlite/ini.xml:1.3 Sat Jun 21 09:24:58 2003 +++ phpdoc/en/reference/sqlite/ini.xml Wed Jul 16 11:05:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- section id=sqlite.configuration reftitle.runtime; extension.runtime; @@ -26,8 +26,8 @@ For further details and definition of the PHP_INI_* constants see functionini_set/function. /para + ini.descriptions.title; para - Here is a short explanation of the configuration directives. variablelist varlistentry id=ini.sqlite.assoc-case term Index: phpdoc/en/reference/sqlite/reference.xml diff -u phpdoc/en/reference/sqlite/reference.xml:1.6 phpdoc/en/reference/sqlite/reference.xml:1.7 --- phpdoc/en/reference/sqlite/reference.xml:1.6Sat Jun 21 09:24:58 2003 +++ phpdoc/en/reference/sqlite/reference.xmlWed Jul 16 11:05:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- reference id=ref.sqlite titleSQLite/title titleabbrevSQLite/titleabbrev @@ -53,7 +53,7 @@ para In order to have these functions available, you must compile PHP with SQLite support, or load the SQLite extension dynamically from your - php.ini. + php.ini;. /para /section Index: phpdoc/en/reference/sqlite/functions/sqlite-popen.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-popen.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-popen.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-popen.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-popen.xml Wed Jul 16 11:05:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.sqlite-popen refnamediv refnamesqlite_popen/refname @@ -48,7 +48,7 @@ /simpara /note para - See also functionsqlite_popen/function, + See also functionsqlite_open/function, functionsqlite_close/function and functionsqlite_query/function. /para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml
damsWed Jul 16 11:07:38 2003 EDT Modified files: /phpdoc/en/reference/pdfreference.xml Log: removed informalexample Index: phpdoc/en/reference/pdf/reference.xml diff -u phpdoc/en/reference/pdf/reference.xml:1.8 phpdoc/en/reference/pdf/reference.xml:1.9 --- phpdoc/en/reference/pdf/reference.xml:1.8 Thu May 15 12:28:26 2003 +++ phpdoc/en/reference/pdf/reference.xml Wed Jul 16 11:07:38 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- reference id=ref.pdf titlePDF functions /title titleabbrevPDF/titleabbrev @@ -290,8 +290,9 @@ simpara The script filenamegetpdf.php/filename just returns the pdf document. /simpara - informalexample - programlisting + example + titleOutputing a precalculated PDF/title + programlisting ![CDATA[ ?php $len = filesize($filename); @@ -302,7 +303,7 @@ ? ]] /programlisting - /informalexample + /example /example /para para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/outcontrol/functions ob-end-clean.xml
damsWed Jul 16 11:08:03 2003 EDT Modified files: /phpdoc/en/reference/outcontrol/functions ob-end-clean.xml Log: removed useless see also Index: phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml diff -u phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.7 phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.8 --- phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.7 Mon Jun 16 14:50:48 2003 +++ phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml Wed Jul 16 11:08:03 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- !-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -- refentry id=function.ob-end-clean refnamediv @@ -51,9 +51,8 @@ /note para See also functionob_start/function, - functionob_get_contents/function, - functionob_flush/function and - functionob_end_clean/function. + functionob_get_contents/function, and + functionob_flush/function. /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/network/functions dns-get-record.xml
damsWed Jul 16 11:08:19 2003 EDT Modified files: /phpdoc/en/reference/network/functions dns-get-record.xml Log: adding literals Index: phpdoc/en/reference/network/functions/dns-get-record.xml diff -u phpdoc/en/reference/network/functions/dns-get-record.xml:1.14 phpdoc/en/reference/network/functions/dns-get-record.xml:1.15 --- phpdoc/en/reference/network/functions/dns-get-record.xml:1.14 Wed May 7 18:16:18 2003 +++ phpdoc/en/reference/network/functions/dns-get-record.xmlWed Jul 16 11:08:19 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- refentry id=function.dns-get-record refnamediv refnamedns_get_record/refname @@ -118,13 +118,13 @@ /thead tbody row - entryA/entry + entryliteralA/literal/entry entry literalip/literal: An IPv4 addresses in dotted decimal notation. /entry /row row - entryMX/entry + entryliteralMX/literal/entry entry literalpri/literal: Priority of mail exchanger. Lower numbers indicate greater priority. @@ -133,34 +133,34 @@ /entry /row row - entryCNAME/entry + entryliteralCNAME/literal/entry entry literaltarget/literal: FQDN of location in DNS namespace to which the record is aliased. /entry /row row - entryNS/entry + entryliteralNS/literal/entry entry literaltarget/literal: FQDN of the name server which is authoritative for this hostname. /entry /row row - entryPTR/entry + entryliteralPTR/literal/entry entry literaltarget/literal: Location within the DNS namespace to which this record points. /entry /row row - entryTXT/entry + entryliteralTXT/literal/entry entry literaltxt/literal: Arbitrary string data associated with this record. /entry /row row - entryHINFO/entry + entryliteralHINFO/literal/entry entry literalcpu/literal: IANA number designating the CPU of the machine referenced by this record. @@ -171,7 +171,7 @@ /entry /row row - entrySOA/entry + entryliteralSOA/literal/entry entry literalmname/literal: FQDN of the machine from which the resource records orignated. @@ -193,15 +193,15 @@ /entry /row row - entry/entry + entryliteral/literal/entry entry literalipv6/literal: IPv6 address /entry /row row - entrySRV/entry + entryliteralSRV/literal/entry entry - literalpri/literal: (Prioriry) lowest priorities should be used first. + literalpri/literal: (Priority) lowest priorities should be used first. literalweight/literal: Ranking to weight which of commonly prioritized parametertargets/parameter should be chosen at random. literaltarget/literal and literalport/literal: hostname and port @@ -210,7 +210,7 @@ /entry /row row - entryNAPTR/entry + entryliteralNAPTR/literal/entry entry literalorder/literal and literalpref/literal: Equivalent to parameterpri/parameter and parameterweight/parameter above. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml
damsWed Jul 16 11:11:05 2003 EDT Modified files: /phpdoc/en/reference/pdfreference.xml Log: tag mismatch Index: phpdoc/en/reference/pdf/reference.xml diff -u phpdoc/en/reference/pdf/reference.xml:1.9 phpdoc/en/reference/pdf/reference.xml:1.10 --- phpdoc/en/reference/pdf/reference.xml:1.9 Wed Jul 16 11:07:38 2003 +++ phpdoc/en/reference/pdf/reference.xml Wed Jul 16 11:11:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- reference id=ref.pdf titlePDF functions /title titleabbrevPDF/titleabbrev @@ -287,12 +287,13 @@ ? ]] /programlisting - simpara - The script filenamegetpdf.php/filename just returns the pdf document. - /simpara - example - titleOutputing a precalculated PDF/title - programlisting + /example + simpara + The script filenamegetpdf.php/filename just returns the pdf document. + /simpara + example + titleOutputing a precalculated PDF/title + programlisting ![CDATA[ ?php $len = filesize($filename); @@ -302,8 +303,7 @@ readfile($filename); ? ]] - /programlisting - /example + /programlisting /example /para para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml
damsWed Jul 16 11:16:06 2003 EDT Modified files: /phpdoc/en/reference/pdfreference.xml Log: useless tag Index: phpdoc/en/reference/pdf/reference.xml diff -u phpdoc/en/reference/pdf/reference.xml:1.10 phpdoc/en/reference/pdf/reference.xml:1.11 --- phpdoc/en/reference/pdf/reference.xml:1.10 Wed Jul 16 11:11:05 2003 +++ phpdoc/en/reference/pdf/reference.xml Wed Jul 16 11:16:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- reference id=ref.pdf titlePDF functions /title titleabbrevPDF/titleabbrev @@ -288,9 +288,9 @@ ]] /programlisting /example - simpara + The script filenamegetpdf.php/filename just returns the pdf document. - /simpara + example titleOutputing a precalculated PDF/title programlisting -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/sybase/functions sybase-deadlock-retry-count.xml
damsWed Jul 16 11:16:23 2003 EDT Modified files: /phpdoc/en/reference/sybase/functions sybase-deadlock-retry-count.xml Log: moved entity inside para Index: phpdoc/en/reference/sybase/functions/sybase-deadlock-retry-count.xml diff -u phpdoc/en/reference/sybase/functions/sybase-deadlock-retry-count.xml:1.4 phpdoc/en/reference/sybase/functions/sybase-deadlock-retry-count.xml:1.5 --- phpdoc/en/reference/sybase/functions/sybase-deadlock-retry-count.xml:1.4Sun Jul 13 05:35:44 2003 +++ phpdoc/en/reference/sybase/functions/sybase-deadlock-retry-count.xmlWed Jul 16 11:16:23 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.sybase-deadlock-retry-count refnamediv refnamesybase_deadlock_retry_count/refname @@ -38,8 +38,8 @@ /tbody /tgroup /table + sybase.ct.only; /para -sybase.ct.only; /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] Patch
Hi all, http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
Hi all, http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi No answers.. As other commits may screw up my work while I'm AFK, I need to make it quickly. I'll go for _one_ commit in 10 minutes if nobody disagree. Mehdi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
On Wed, 16 Jul 2003, Mehdi wrote: Hi all, http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi No answers.. As other commits may screw up my work while I'm AFK, I need to make it quickly. I'll go for _one_ commit in 10 minutes if nobody disagree. Do it per directory please. And doing things in a 10 minutes notice isn't really a nice thing to do. Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] cvs: phpdoc /en/reference/pdf reference.xml
On Wed, 16 Jul 2003, Damien Seguy wrote: dams Wed Jul 16 11:16:06 2003 EDT Modified files: /phpdoc/en/reference/pdf reference.xml Log: useless tag It was not useles, please put it back. Derick Index: phpdoc/en/reference/pdf/reference.xml diff -u phpdoc/en/reference/pdf/reference.xml:1.10 phpdoc/en/reference/pdf/reference.xml:1.11 --- phpdoc/en/reference/pdf/reference.xml:1.10Wed Jul 16 11:11:05 2003 +++ phpdoc/en/reference/pdf/reference.xml Wed Jul 16 11:16:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- reference id=ref.pdf titlePDF functions /title titleabbrevPDF/titleabbrev @@ -288,9 +288,9 @@ ]] /programlisting /example - simpara + The script filenamegetpdf.php/filename just returns the pdf document. - /simpara + example titleOutputing a precalculated PDF/title programlisting -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
On Wed, 16 Jul 2003, Mehdi wrote: Hi all, http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi No answers.. As other commits may screw up my work while I'm AFK, I need to make it quickly. I'll go for _one_ commit in 10 minutes if nobody disagree. Do it per directory please. And doing things in a 10 minutes notice isn't really a nice thing to do. I'll do so. For the 10 minutes stuff, it was just to hurry you up.. it works ;) Thank you for your reply Mehdi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/array/functions array-diff.xml count.xml
didou Wed Jul 16 13:06:57 2003 EDT Modified files: /phpdoc/en/reference/array/functionsarray-diff.xml count.xml Log: adding PHP tags in the examples and ws Index: phpdoc/en/reference/array/functions/array-diff.xml diff -u phpdoc/en/reference/array/functions/array-diff.xml:1.8 phpdoc/en/reference/array/functions/array-diff.xml:1.9 --- phpdoc/en/reference/array/functions/array-diff.xml:1.8 Sat May 17 22:32:19 2003 +++ phpdoc/en/reference/array/functions/array-diff.xml Wed Jul 16 13:06:57 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- !-- splitted from ./en/functions/array.xml, last change in rev 1.14 -- refentry id=function.array-diff refnamediv @@ -25,9 +25,11 @@ titlefunctionarray_diff/function example/title programlisting role=php ![CDATA[ +?php $array1 = array (a = green, red, blue, red); $array2 = array (b = green, yellow, red); $result = array_diff ($array1, $array2); +? ]] /programlisting /example Index: phpdoc/en/reference/array/functions/count.xml diff -u phpdoc/en/reference/array/functions/count.xml:1.5 phpdoc/en/reference/array/functions/count.xml:1.6 --- phpdoc/en/reference/array/functions/count.xml:1.5 Fri May 30 14:12:53 2003 +++ phpdoc/en/reference/array/functions/count.xml Wed Jul 16 13:06:57 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/array.xml, last change in rev 1.2 -- refentry id=function.count refnamediv @@ -58,12 +58,12 @@ /programlisting /example /para - note -para - The functionsizeof/function function is an - link linkend=aliasesalias/link for functioncount/function. -/para - /note +note + para + The functionsizeof/function function is an + link linkend=aliasesalias/link for functioncount/function. + /para +/note para See also functionis_array/function, functionisset/function, and -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/aspell/functions aspell-check-raw.xml aspell-new.xml aspell-suggest.xml
didou Wed Jul 16 13:07:17 2003 EDT Modified files: /phpdoc/en/reference/aspell/functions aspell-check-raw.xml aspell-new.xml aspell-suggest.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.2 phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.3 --- phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.2 Wed Apr 17 02:36:32 2002 +++ phpdoc/en/reference/aspell/functions/aspell-check-raw.xml Wed Jul 16 13:07:16 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -- refentry id=function.aspell-check-raw refnamediv @@ -25,6 +25,8 @@ titlefunctionaspell_check_raw/function/title programlisting role=php ![CDATA[ +?php + $aspell_link = aspell_new(english); if (aspell_check_raw($aspell_link, test)) { @@ -32,6 +34,8 @@ } else { echo Sorry, wrong spelling; } + +? ]] /programlisting /example Index: phpdoc/en/reference/aspell/functions/aspell-new.xml diff -u phpdoc/en/reference/aspell/functions/aspell-new.xml:1.2 phpdoc/en/reference/aspell/functions/aspell-new.xml:1.3 --- phpdoc/en/reference/aspell/functions/aspell-new.xml:1.2 Wed Apr 17 02:36:32 2002 +++ phpdoc/en/reference/aspell/functions/aspell-new.xml Wed Jul 16 13:07:16 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -- refentry id=function.aspell-new refnamediv @@ -24,7 +24,9 @@ titlefunctionaspell_new/function/title programlisting role=php ![CDATA[ +?php $aspell_link = aspell_new(english); +? ]] /programlisting /example Index: phpdoc/en/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.2 phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.3 --- phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.2 Wed Apr 17 02:36:32 2002 +++ phpdoc/en/reference/aspell/functions/aspell-suggest.xml Wed Jul 16 13:07:16 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -- refentry id=function.aspell-suggest refnamediv @@ -22,6 +22,8 @@ titlefunctionaspell_suggest/function/title programlisting role=php ![CDATA[ +?php + $aspell_link = aspell_new(english); if (!aspell_check($aspell_link, test)) { @@ -31,6 +33,8 @@ echo Possible spelling: $suggestionbr\n; } } + +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/calendar/functions easter-date.xml easter-days.xml
didou Wed Jul 16 13:07:35 2003 EDT Modified files: /phpdoc/en/reference/calendar/functions easter-date.xml easter-days.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/calendar/functions/easter-date.xml diff -u phpdoc/en/reference/calendar/functions/easter-date.xml:1.3 phpdoc/en/reference/calendar/functions/easter-date.xml:1.4 --- phpdoc/en/reference/calendar/functions/easter-date.xml:1.3 Mon Jun 10 03:53:22 2002 +++ phpdoc/en/reference/calendar/functions/easter-date.xml Wed Jul 16 13:07:34 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 -- refentry id=function.easter-date refnamediv @@ -31,9 +31,13 @@ titlefunctioneaster_date/function example/title programlisting role=php ![CDATA[ -echo date (M-d-Y, easter_date(1999));/* Apr-04-1999 */ -echo date (M-d-Y, easter_date(2000));/* Apr-23-2000 */ -echo date (M-d-Y, easter_date(2001));/* Apr-15-2001 */ +?php + +echo date (M-d-Y, easter_date(1999));// Apr-04-1999 +echo date (M-d-Y, easter_date(2000));// Apr-23-2000 +echo date (M-d-Y, easter_date(2001));// Apr-15-2001 + +? ]] /programlisting /example Index: phpdoc/en/reference/calendar/functions/easter-days.xml diff -u phpdoc/en/reference/calendar/functions/easter-days.xml:1.3 phpdoc/en/reference/calendar/functions/easter-days.xml:1.4 --- phpdoc/en/reference/calendar/functions/easter-days.xml:1.3 Mon Jun 10 03:53:22 2002 +++ phpdoc/en/reference/calendar/functions/easter-days.xml Wed Jul 16 13:07:34 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 -- refentry id=function.easter-days refnamediv @@ -43,9 +43,13 @@ titlefunctioneaster_days/function example/title programlisting role=php ![CDATA[ -echo easter_days (1999);/* 14, i.e. April 4 */ -echo easter_days (1492);/* 32, i.e. April 22 */ -echo easter_days (1913);/* 2, i.e. March 23 */ +?php + +echo easter_days (1999);// 14, i.e. April 4 +echo easter_days (1492);// 32, i.e. April 22 +echo easter_days (1913);// 2, i.e. March 23 + +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/com/functions class.com.xml
didou Wed Jul 16 13:08:45 2003 EDT Modified files: /phpdoc/en/reference/com/functions class.com.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/com/functions/class.com.xml diff -u phpdoc/en/reference/com/functions/class.com.xml:1.2 phpdoc/en/reference/com/functions/class.com.xml:1.3 --- phpdoc/en/reference/com/functions/class.com.xml:1.2 Wed Apr 17 02:36:44 2002 +++ phpdoc/en/reference/com/functions/class.com.xml Wed Jul 16 13:08:44 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/com.xml, last change in rev 1.12 -- refentry id=class.com refnamediv @@ -63,6 +63,7 @@ titleCOM example (1)/title programlisting role=php ![CDATA[ +?php // starting word $word = new COM(word.application) or die(Unable to instanciate Word); print Loaded Word, version {$word-Version}\n; @@ -83,6 +84,7 @@ //free the object $word-Release(); $word = null; +? ]] /programlisting /example @@ -92,6 +94,8 @@ titleCOM example (2)/title programlisting role=php ![CDATA[ +?php + $conn = new COM(ADODB.Connection) or die(Cannot start ADO); $conn-Open(Provider=SQLOLEDB; Data Source=localhost; Initial Catalog=database; User ID=user; Password=password); @@ -126,6 +130,8 @@ $rs = null; $conn = null; + +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/dbase/functions dbase-create.xml dbase-get-header-info.xml dbase-numfields.xml
didou Wed Jul 16 13:09:05 2003 EDT Modified files: /phpdoc/en/reference/dbase/functionsdbase-create.xml dbase-get-header-info.xml dbase-numfields.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/dbase/functions/dbase-create.xml diff -u phpdoc/en/reference/dbase/functions/dbase-create.xml:1.3 phpdoc/en/reference/dbase/functions/dbase-create.xml:1.4 --- phpdoc/en/reference/dbase/functions/dbase-create.xml:1.3Mon Feb 10 21:50:48 2003 +++ phpdoc/en/reference/dbase/functions/dbase-create.xmlWed Jul 16 13:09:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/dbase.xml, last change in rev 1.2 -- refentry id=function.dbase-create refnamediv @@ -79,6 +79,8 @@ titleCreating a dBase database file/title programlisting role=php ![CDATA[ +?php + // database name $dbname = /tmp/test.dbf; @@ -95,6 +97,8 @@ // creation if (!dbase_create($dbname, $def)) print strongError!/strong; + +? ]] /programlisting /example Index: phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml diff -u phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.1 phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.2 --- phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.1 Wed Jul 16 08:21:04 2003 +++ phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml Wed Jul 16 13:09:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry id=function.dbase-get-header-info refnamediv refnamedbase_get_header_info/refname @@ -95,6 +95,7 @@ titleShowing header information for a dBase database file/title programlisting role=php ![CDATA[ +?php // Path to dbase file $db_path = /tmp/test.dbf; @@ -107,6 +108,7 @@ // Display information print_r($column_info); +? ]] /programlisting /example Index: phpdoc/en/reference/dbase/functions/dbase-numfields.xml diff -u phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.2 phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.3 --- phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.2 Wed Apr 17 02:37:18 2002 +++ phpdoc/en/reference/dbase/functions/dbase-numfields.xml Wed Jul 16 13:09:05 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/dbase.xml, last change in rev 1.2 -- refentry id=function.dbase-numfields refnamediv @@ -22,11 +22,15 @@ titleUsing functiondbase_numfields/function/title programlisting role=php ![CDATA[ +?php + $rec = dbase_get_record($db, $recno); $nf = dbase_numfields($db); for ($i=0; $i $nf; $i++) { print $rec[$i].br\n; } + +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/dbm reference.xml /en/reference/dbm/functions dbmnextkey.xml
didou Wed Jul 16 13:09:32 2003 EDT Modified files: /phpdoc/en/reference/dbmreference.xml /phpdoc/en/reference/dbm/functions dbmnextkey.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/dbm/reference.xml diff -u phpdoc/en/reference/dbm/reference.xml:1.5 phpdoc/en/reference/dbm/reference.xml:1.6 --- phpdoc/en/reference/dbm/reference.xml:1.5 Tue Feb 18 13:05:28 2003 +++ phpdoc/en/reference/dbm/reference.xml Wed Jul 16 13:09:31 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- reference id=ref.dbm titleDBM Functions [deprecated]/title titleabbrevDBM/titleabbrev @@ -60,6 +60,8 @@ titleDBM example/title programlisting role=php ![CDATA[ +?php + $dbm = dbmopen (lastseen, w); if (dbmexists ($dbm, $userid)) { $last_seen = dbmfetch ($dbm, $userid); @@ -69,6 +71,8 @@ do_stuff(); dbmreplace ($dbm, $userid, time()); dbmclose ($dbm); + +? ]] /programlisting /example Index: phpdoc/en/reference/dbm/functions/dbmnextkey.xml diff -u phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.3 phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.4 --- phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.3Mon Apr 29 08:06:32 2002 +++ phpdoc/en/reference/dbm/functions/dbmnextkey.xmlWed Jul 16 13:09:31 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/dbm.xml, last change in rev 1.2 -- refentry id=function.dbmnextkey refnamediv @@ -23,14 +23,18 @@ titleVisiting every key/value pair in a DBM database/title programlisting role=php ![CDATA[ +?php + $key = dbmfirstkey ($dbm_id); while ($key) { echo $key = . dbmfetch ($dbm_id, $key) . \n; $key = dbmnextkey ($dbm_id, $key); } + +? ]] - /programlisting -/example + /programlisting + /example /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/dbx/functions dbx-connect.xml dbx-query.xml
didou Wed Jul 16 13:09:51 2003 EDT Modified files: /phpdoc/en/reference/dbx/functions dbx-connect.xml dbx-query.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/dbx/functions/dbx-connect.xml diff -u phpdoc/en/reference/dbx/functions/dbx-connect.xml:1.7 phpdoc/en/reference/dbx/functions/dbx-connect.xml:1.8 --- phpdoc/en/reference/dbx/functions/dbx-connect.xml:1.7 Wed Jul 9 12:40:04 2003 +++ phpdoc/en/reference/dbx/functions/dbx-connect.xml Wed Jul 16 13:09:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- !-- splitted from ./en/functions/dbx.xml, last change in rev 1.3 -- refentry id=function.dbx-connect refnamediv @@ -106,8 +106,10 @@ informalexample programlisting role=php ![CDATA[ +?php $link = dbx_connect (DBX_MYSQL, localhost, db, username, password); mysql_close ($link-handle); // dbx_close($link) would be better here +? ]] /programlisting /informalexample Index: phpdoc/en/reference/dbx/functions/dbx-query.xml diff -u phpdoc/en/reference/dbx/functions/dbx-query.xml:1.8 phpdoc/en/reference/dbx/functions/dbx-query.xml:1.9 --- phpdoc/en/reference/dbx/functions/dbx-query.xml:1.8 Tue Feb 11 18:13:12 2003 +++ phpdoc/en/reference/dbx/functions/dbx-query.xml Wed Jul 16 13:09:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- !-- splitted from ./en/functions/dbx.xml, last change in rev 1.3 -- refentry id=function.dbx-query refnamediv @@ -175,8 +175,10 @@ informalexample role=php programlisting ![CDATA[ +?php $result = dbx_query ($link, SELECT id FROM table); mysql_field_len ($result-handle, 0); +? ]] /programlisting /informalexample @@ -194,9 +196,11 @@ informalexample programlisting role=php ![CDATA[ +?php $result = dbx_query ($link, 'SELECT id FROM table'); echo $result-rows; // number of records echo $result-cols; // number of fields +? ]] /programlisting /informalexample @@ -219,6 +223,7 @@ titlelists each field's name and type/title programlisting role=php ![CDATA[ +?php $result = dbx_query ($link, 'SELECT id FROM table', DBX_RESULT_INDEX | DBX_RESULT_INFO); @@ -226,6 +231,7 @@ echo $result-info['name'][$i] . \n; echo $result-info['type'][$i] . \n; } +? ]] /programlisting /example @@ -246,6 +252,7 @@ titleoutputs the content of data property into HTML table/title programlisting role=php ![CDATA[ +?php $result = dbx_query ($link, 'SELECT id, parentid, description FROM table'); echo table\n; @@ -257,6 +264,7 @@ echo /tr\n; } echo /table\n; +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/dir/functions readdir.xml
didou Wed Jul 16 13:10:38 2003 EDT Modified files: /phpdoc/en/reference/dir/functions readdir.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/dir/functions/readdir.xml diff -u phpdoc/en/reference/dir/functions/readdir.xml:1.4 phpdoc/en/reference/dir/functions/readdir.xml:1.5 --- phpdoc/en/reference/dir/functions/readdir.xml:1.4 Wed Mar 19 07:14:20 2003 +++ phpdoc/en/reference/dir/functions/readdir.xml Wed Jul 16 13:10:38 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/dir.xml, last change in rev 1.2 -- refentry id=function.readdir refnamediv @@ -32,8 +32,9 @@ titleList all files in a directory/title programlisting role=php ![CDATA[ -// Note that !== did not exist until 4.0.0-RC2 ?php +// Note that !== did not exist until 4.0.0-RC2 + if ($handle = opendir('/path/to/files')) { echo Directory handle: $handle\n; echo Files:\n; @@ -81,7 +82,10 @@ /programlisting /example /para -paraSee also functionis_dir/function, and functionglob/function./para +para + See also functionis_dir/function and + functionglob/function. +/para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-insert-before.xml
didou Wed Jul 16 13:11:39 2003 EDT Modified files: /phpdoc/en/reference/domxml/functions DomNode-insert-before.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.4 Sat Jan 18 18:03:18 2003 +++ phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml Wed Jul 16 13:11:39 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 -- refentry id='function.DomNode-insert-before' refnamediv @@ -38,6 +38,7 @@ titleAdding a child/title programlisting role=php ![CDATA[ +?php include(example.inc); if(!$dom = domxml_open_mem($xmlstr)) { @@ -57,6 +58,7 @@ $xmlfile = $dom-dump_mem(); echo htmlentities($xmlfile); echo /PRE; +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/fbsql/functions fbsql-field-name.xml fbsql-list-dbs.xml fbsql-list-fields.xml
didou Wed Jul 16 13:11:50 2003 EDT Modified files: /phpdoc/en/reference/fbsql/functionsfbsql-field-name.xml fbsql-list-dbs.xml fbsql-list-fields.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/fbsql/functions/fbsql-field-name.xml diff -u phpdoc/en/reference/fbsql/functions/fbsql-field-name.xml:1.2 phpdoc/en/reference/fbsql/functions/fbsql-field-name.xml:1.3 --- phpdoc/en/reference/fbsql/functions/fbsql-field-name.xml:1.2Wed Apr 17 02:37:52 2002 +++ phpdoc/en/reference/fbsql/functions/fbsql-field-name.xmlWed Jul 16 13:11:50 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/fbsql.xml, last change in rev 1.1 -- refentry id=function.fbsql-field-name refnamediv @@ -35,6 +35,7 @@ titlefunctionfbsql_field_name/function example/title programlisting role=php ![CDATA[ +?php // The users table consists of three fields: // user_id // username @@ -44,20 +45,19 @@ echo fbsql_field_name($res, 0) . \n; echo fbsql_field_name($res, 2); +? ]] /programlisting - /example -/para -para - The above example would produce the following output: - informalexample - programlisting + para + The above example would produce the following output: + /para + screen ![CDATA[ user_id password ]] - /programlisting - /informalexample + /screen + /example /para /refsect1 /refentry Index: phpdoc/en/reference/fbsql/functions/fbsql-list-dbs.xml diff -u phpdoc/en/reference/fbsql/functions/fbsql-list-dbs.xml:1.2 phpdoc/en/reference/fbsql/functions/fbsql-list-dbs.xml:1.3 --- phpdoc/en/reference/fbsql/functions/fbsql-list-dbs.xml:1.2 Wed Apr 17 02:37:53 2002 +++ phpdoc/en/reference/fbsql/functions/fbsql-list-dbs.xml Wed Jul 16 13:11:50 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/fbsql.xml, last change in rev 1.1 -- refentry id=function.fbsql-list-dbs refnamediv @@ -35,20 +35,18 @@ } ]] /programlisting - /example -/para -para - The above example would produce the following output: - informalexample - programlisting + para + The above example would produce the following output: + /para + screen ![CDATA[ database1 database2 database3 ... ]] - /programlisting - /informalexample + /screen + /example /para note para Index: phpdoc/en/reference/fbsql/functions/fbsql-list-fields.xml diff -u phpdoc/en/reference/fbsql/functions/fbsql-list-fields.xml:1.4 phpdoc/en/reference/fbsql/functions/fbsql-list-fields.xml:1.5 --- phpdoc/en/reference/fbsql/functions/fbsql-list-fields.xml:1.4 Fri Nov 8 22:28:04 2002 +++ phpdoc/en/reference/fbsql/functions/fbsql-list-fields.xml Wed Jul 16 13:11:50 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/fbsql.xml, last change in rev 1.1 -- refentry id=function.fbsql-list-fields refnamediv @@ -37,6 +37,7 @@ titlefunctionfbsql_list_fields/function example/title programlisting role=php ![CDATA[ +?php $link = fbsql_connect('localhost', 'myname', 'secret'); $fields = fbsql_list_fields(database1, table1, $link); @@ -45,22 +46,21 @@ for ($i = 0; $i $columns; $i++) { echo fbsql_field_name($fields, $i) . \n;; } +? ]] /programlisting - /example -/para -para - The above example would produce the following output: - informalexample - programlisting + para + The above example would produce the following output: + /para + screen ![CDATA[ field1 field2 field3 ... ]] - /programlisting - /informalexample + /screen + /example /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fgets.xml
didou Wed Jul 16 13:12:12 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions fgets.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/filesystem/functions/fgets.xml diff -u phpdoc/en/reference/filesystem/functions/fgets.xml:1.8 phpdoc/en/reference/filesystem/functions/fgets.xml:1.9 --- phpdoc/en/reference/filesystem/functions/fgets.xml:1.8 Thu Apr 3 20:44:12 2003 +++ phpdoc/en/reference/filesystem/functions/fgets.xml Wed Jul 16 13:12:12 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -- refentry id=function.fgets refnamediv @@ -42,12 +42,14 @@ titleReading a file line by line/title programlisting role=php ![CDATA[ +?php $handle = fopen (/tmp/inputfile.txt, r); while (!feof ($handle)) { $buffer = fgets($handle, 4096); echo $buffer; } fclose ($handle); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/hw/functions hw-modifyobject.xml
didou Wed Jul 16 13:12:21 2003 EDT Modified files: /phpdoc/en/reference/hw/functions hw-modifyobject.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/hw/functions/hw-modifyobject.xml diff -u phpdoc/en/reference/hw/functions/hw-modifyobject.xml:1.2 phpdoc/en/reference/hw/functions/hw-modifyobject.xml:1.3 --- phpdoc/en/reference/hw/functions/hw-modifyobject.xml:1.2Wed Apr 17 02:38:40 2002 +++ phpdoc/en/reference/hw/functions/hw-modifyobject.xmlWed Jul 16 13:12:20 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/hw.xml, last change in rev 1.2 -- refentry id=function.hw-modifyobject refnamediv @@ -60,11 +60,13 @@ titlemodifying an attribute/title programlisting role=php ![CDATA[ +?php // $connect is an existing connection to the Hyperwave server // $objid is the ID of the object to modify $remarr = array(Name = books); $addarr = array(Name = articles); $hw_modifyobject($connect, $objid, $remarr, $addarr); +? ]] /programlisting /example @@ -76,11 +78,13 @@ titleadding a completely new attribute/title programlisting role=php ![CDATA[ +?php // $connect is an existing connection to the Hyperwave server // $objid is the ID of the object to modify $remarr = array(Name = 0); $addarr = array(Name = articles); $hw_modifyobject($connect, $objid, $remarr, $addarr); +? ]] /programlisting /example @@ -99,9 +103,11 @@ titlemodifying Title attribute/title programlisting role=php ![CDATA[ +?php $remarr = array(Title = en:Books); $addarr = array(Title = en:Articles); $hw_modifyobject($connect, $objid, $remarr, $addarr); +? ]] /programlisting /example @@ -110,9 +116,11 @@ titlemodifying Title attribute/title programlisting role=php ![CDATA[ +?php $remarr = array(Title = array(en = Books)); $addarr = array(Title = array(en = Articles, ge=Artikel)); $hw_modifyobject($connect, $objid, $remarr, $addarr); +? ]] /programlisting /example @@ -122,9 +130,11 @@ titleremoving attribute/title programlisting role=php ![CDATA[ +?php $remarr = array(Title = ); $addarr = array(Title = en:Articles); $hw_modifyobject($connect, $objid, $remarr, $addarr); +? ]] /programlisting /example @@ -165,7 +175,7 @@ /note /para para - Returns true; if no error occurs otherwise false;. + return.success; /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/gmp/functions gmp-gcdext.xml
didou Wed Jul 16 13:12:34 2003 EDT Modified files: /phpdoc/en/reference/gmp/functions gmp-gcdext.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/gmp/functions/gmp-gcdext.xml diff -u phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.3 phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.4 --- phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.3Tue Apr 1 01:39:54 2003 +++ phpdoc/en/reference/gmp/functions/gmp-gcdext.xmlWed Jul 16 13:12:33 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/gmp.xml, last change in rev 1.1 -- refentry id=function.gmp-gcdext refnamediv @@ -33,6 +33,7 @@ titleSolving a linear Diophantine equation/title programlisting role=php ![CDATA[ +?php // Solve the equation a*s + b*t = g // where a = 12, b = 21, g = gcd(12, 21) = 3 $a = gmp_init(12); @@ -53,6 +54,7 @@ } // output: Solution: 12*2 + 21*-1 = 3 +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/ibase/functions ibase-field-info.xml
didou Wed Jul 16 13:12:55 2003 EDT Modified files: /phpdoc/en/reference/ibase/functionsibase-field-info.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/ibase/functions/ibase-field-info.xml diff -u phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.3 phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.4 --- phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.3Tue Feb 18 10:31:16 2003 +++ phpdoc/en/reference/ibase/functions/ibase-field-info.xmlWed Jul 16 13:12:55 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -- refentry id=function.ibase-field-info refnamediv @@ -22,6 +22,7 @@ informalexample programlisting role=php ![CDATA[ +?php $rs=ibase_query(SELECT * FROM tablename); $coln = ibase_num_fields($rs); for ($i=0; $i $coln; $i++) { @@ -32,6 +33,7 @@ echo length: .$col_info['length'].\n; echo type: .$col_info['type'].\n; } +? ]] /programlisting /informalexample -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/iconv/functions iconv-get-encoding.xml iconv-set-encoding.xml iconv.xml ob-iconv-handler.xml
didou Wed Jul 16 13:13:01 2003 EDT Modified files: /phpdoc/en/reference/iconv/functionsiconv-get-encoding.xml iconv-set-encoding.xml iconv.xml ob-iconv-handler.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml diff -u phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.5 phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.6 --- phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml:1.5 Wed Sep 11 19:17:18 2002 +++ phpdoc/en/reference/iconv/functions/iconv-get-encoding.xml Wed Jul 16 13:13:00 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -- refentry id=function.iconv-get-encoding refnamediv @@ -28,7 +28,7 @@ /para para example - titlefunctioniconv_get_encoding/function example:/title + titlefunctioniconv_get_encoding/function example/title programlisting role=php ![CDATA[ pre @@ -42,23 +42,22 @@ /programlisting para The printout of the above program will be: - screen + /para + screen ![CDATA[ -Array -( -[input_encoding] = ISO-8859-1 -[output_encoding] = ISO-8859-1 -[internal_encoding] = UTF-8 -) +Array +( +[input_encoding] = ISO-8859-1 +[output_encoding] = ISO-8859-1 +[internal_encoding] = UTF-8 +) ]] - /screen - /para + /screen /example /para para - See also: - functioniconv_set_encoding/function and + See also functioniconv_set_encoding/function and functionob_iconv_handler/function. /para /refsect1 Index: phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml diff -u phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.5 phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.6 --- phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml:1.5 Wed Sep 11 19:17:19 2002 +++ phpdoc/en/reference/iconv/functions/iconv-set-encoding.xml Wed Jul 16 13:13:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -- refentry id=function.iconv-set-encoding refnamediv @@ -30,15 +30,16 @@ titlefunctioniconv_set_encoding/function example:/title programlisting role=php ![CDATA[ +?php iconv_set_encoding(internal_encoding, UTF-8); iconv_set_encoding(output_encoding, ISO-8859-1); +? ]] /programlisting /example /para para - See also: - functioniconv_get_encoding/function and + See also functioniconv_get_encoding/function and functionob_iconv_handler/function. /para /refsect1 Index: phpdoc/en/reference/iconv/functions/iconv.xml diff -u phpdoc/en/reference/iconv/functions/iconv.xml:1.5 phpdoc/en/reference/iconv/functions/iconv.xml:1.6 --- phpdoc/en/reference/iconv/functions/iconv.xml:1.5 Wed Sep 11 19:17:19 2002 +++ phpdoc/en/reference/iconv/functions/iconv.xml Wed Jul 16 13:13:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -- refentry id=function.iconv refnamediv @@ -25,7 +25,9 @@ titlefunctioniconv/function example:/title programlisting role=php ![CDATA[ +?php echo iconv(ISO-8859-1,UTF-8,This is a test.); +? ]] /programlisting /example Index: phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml diff -u phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.3 phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.4 --- phpdoc/en/reference/iconv/functions/ob-iconv-handler.xml:1.3Wed Sep 11 16:59:55 2002 +++ phpdoc/en/reference/iconv/functions/ob-iconv-handler.xmlWed Jul 16 13:13:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -- refentry id=function.ob-iconv-handler refnamediv @@ -29,15 +29,16 @@ titlefunctionob_iconv_handler/function example:/title programlisting role=php ![CDATA[ +?php ob_start(ob_iconv_handler); // start output buffering +? ]] /programlisting /example /para para - See also: - functioniconv_get_encoding/function, - functioniconv_set_encoding/function, and + See also functioniconv_get_encoding/function, + functioniconv_set_encoding/function and link linkend=ref.outcontroloutput-control functions/link. /para /refsect1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/ifx/functions ifx-affected-rows.xml ifx-close.xml ifx-connect.xml ifx-errormsg.xml ifx-fetch-row.xml ifx-fieldproperties.xml ifx-fieldtypes.xml ifx-getsqlca.xml ifx-htmltbl-result.xml ifx-query.xml
didou Wed Jul 16 13:13:19 2003 EDT Modified files: /phpdoc/en/reference/ifx/functions ifx-affected-rows.xml ifx-close.xml ifx-connect.xml ifx-errormsg.xml ifx-fetch-row.xml ifx-fieldproperties.xml ifx-fieldtypes.xml ifx-getsqlca.xml ifx-htmltbl-result.xml ifx-query.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml diff -u phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.2 phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.3 --- phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml:1.2 Wed Apr 17 02:38:56 2002 +++ phpdoc/en/reference/ifx/functions/ifx-affected-rows.xml Wed Jul 16 13:13:19 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 -- refentry id=function.ifx-affected-rows refnamediv @@ -35,12 +35,11 @@ reasonable result sets. /para para - See also: functionifx_num_rows/function -/para example titleInformix affected rows/title programlisting role=php ![CDATA[ +?php $rid = ifx_prepare (select * from emp where name like . $name, $connid); if (! $rid) { @@ -51,9 +50,14 @@ printf (Too many rows in result set (%d)\nbr, $rowcount); die (Please restrict your querybr\n); } +? ]] - /programlisting -/example + /programlisting + /example +/para +para + See also functionifx_num_rows/function. +/para /refsect1 /refentry Index: phpdoc/en/reference/ifx/functions/ifx-close.xml diff -u phpdoc/en/reference/ifx/functions/ifx-close.xml:1.2 phpdoc/en/reference/ifx/functions/ifx-close.xml:1.3 --- phpdoc/en/reference/ifx/functions/ifx-close.xml:1.2 Wed Apr 17 02:38:56 2002 +++ phpdoc/en/reference/ifx/functions/ifx-close.xml Wed Jul 16 13:13:19 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 -- refentry id=function.ifx-close refnamediv @@ -30,19 +30,23 @@ functionifx_close/function will not close persistent links generated by functionifx_pconnect/function. /para -para - See also: functionifx_connect/function, and - functionifx_pconnect/function. +para example titleClosing a Informix connection/title programlisting role=php ![CDATA[ +?php $conn_id = ifx_connect ([EMAIL PROTECTED], itsme, mypassword); ... some queries and stuff ... ifx_close($conn_id); +? ]] /programlisting /example +/para +para + See also functionifx_connect/function and + functionifx_pconnect/function. /para /refsect1 /refentry Index: phpdoc/en/reference/ifx/functions/ifx-connect.xml diff -u phpdoc/en/reference/ifx/functions/ifx-connect.xml:1.2 phpdoc/en/reference/ifx/functions/ifx-connect.xml:1.3 --- phpdoc/en/reference/ifx/functions/ifx-connect.xml:1.2 Wed Apr 17 02:38:56 2002 +++ phpdoc/en/reference/ifx/functions/ifx-connect.xml Wed Jul 16 13:13:19 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 -- refentry id=function.ifx-connect refnamediv @@ -42,17 +42,21 @@ the script ends, unless it's closed earlier by explicitly calling functionifx_close/function. /para -para - See also functionifx_pconnect/function, and - functionifx_close/function. +para example titleConnect to a Informix database/title programlisting role=php ![CDATA[ +?php $conn_id = ifx_connect ([EMAIL PROTECTED], imyself, mypassword); +? ]] /programlisting /example +/para +para + See also functionifx_pconnect/function and + functionifx_close/function. /para /refsect1 /refentry Index: phpdoc/en/reference/ifx/functions/ifx-errormsg.xml diff -u phpdoc/en/reference/ifx/functions/ifx-errormsg.xml:1.2 phpdoc/en/reference/ifx/functions/ifx-errormsg.xml:1.3 --- phpdoc/en/reference/ifx/functions/ifx-errormsg.xml:1.2 Wed Apr 17 02:38:57 2002 +++ phpdoc/en/reference/ifx/functions/ifx-errormsg.xml Wed Jul 16 13:13:19 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 -- refentry id=function.ifx-errormsg refnamediv @@ -18,16 +18,19 @@ parametererrorcode/parameter param is present, the error
[PHP-DOC] cvs: phpdoc /en/reference/image/functions getimagesize.xml imagecolorallocate.xml imagecolordeallocate.xml imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromwbmp.xml imagegif.xml
didou Wed Jul 16 13:14:17 2003 EDT Modified files: /phpdoc/en/reference/image/functionsgetimagesize.xml imagecolorallocate.xml imagecolordeallocate.xml imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromwbmp.xml imagegif.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/image/functions/getimagesize.xml diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.14 phpdoc/en/reference/image/functions/getimagesize.xml:1.15 --- phpdoc/en/reference/image/functions/getimagesize.xml:1.14 Sun Jun 1 17:12:59 2003 +++ phpdoc/en/reference/image/functions/getimagesize.xmlWed Jul 16 13:14:17 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.36 -- refentry id=function.getimagesize refnamediv @@ -52,7 +52,9 @@ titlegetimagesize (URL)/title programlisting role=php ![CDATA[ -?php $size = getimagesize (http://www.example.com/gifs/logo.gif;); ? +?php +$size = getimagesize (http://www.example.com/gifs/logo.gif;); +? ]] /programlisting /example Index: phpdoc/en/reference/image/functions/imagecolorallocate.xml diff -u phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.4 phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.5 --- phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.4 Fri Jun 20 10:37:21 2003 +++ phpdoc/en/reference/image/functions/imagecolorallocate.xml Wed Jul 16 13:14:17 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.36 -- refentry id=function.imagecolorallocate refnamediv @@ -30,8 +30,10 @@ informalexample programlisting role=php ![CDATA[ +?php $white = imagecolorallocate ($im, 255, 255, 255); $black = imagecolorallocate ($im, 0, 0, 0); +? ]] /programlisting /informalexample Index: phpdoc/en/reference/image/functions/imagecolordeallocate.xml diff -u phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.4 phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.5 --- phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.4Fri Jun 20 10:37:21 2003 +++ phpdoc/en/reference/image/functions/imagecolordeallocate.xmlWed Jul 16 13:14:17 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.36 -- refentry id=function.imagecolordeallocate refnamediv @@ -21,8 +21,10 @@ informalexample programlisting role=php ![CDATA[ +?php $white = imagecolorallocate ($im, 255, 255, 255); imagecolordeallocate ($im, $white); +? ]] /programlisting /informalexample Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.6 phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.7 --- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.6 Tue Jan 14 06:00:21 2003 +++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Wed Jul 16 13:14:17 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.2 -- refentry id=function.imagecreatefromgif refnamediv @@ -28,6 +28,7 @@ /title programlisting role=php ![CDATA[ +?php function LoadGif ($imgname) { $im = @imagecreatefromgif ($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ @@ -40,6 +41,7 @@ } return $im; } +? ]] /programlisting /example Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.4 phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.5 --- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.4 Thu Sep 26 09:56:54 2002 +++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Wed Jul 16 13:14:17 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/image.xml, last change in rev 1.4 -- refentry id=function.imagecreatefromjpeg refnamediv @@ -28,6 +28,7 @@ /title programlisting role=php ![CDATA[ +?php function LoadJpeg ($imgname) { $im = @imagecreatefromjpeg ($imgname); /* Attempt
[PHP-DOC] cvs: phpdoc /en/reference/imap/functions imap-append.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mime-header-decode.xml imap-open.xml imap-rfc822-parse-adrlist.xml imap-rfc822-write-address.xml imap-set-quota.xml imap-setflag-full.xml imap-status.xml
didou Wed Jul 16 13:14:40 2003 EDT Modified files: /phpdoc/en/reference/imap/functions imap-append.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mime-header-decode.xml imap-open.xml imap-rfc822-parse-adrlist.xml imap-rfc822-write-address.xml imap-set-quota.xml imap-setflag-full.xml imap-status.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/imap/functions/imap-append.xml diff -u phpdoc/en/reference/imap/functions/imap-append.xml:1.5 phpdoc/en/reference/imap/functions/imap-append.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-append.xml:1.5 Thu Feb 6 05:04:53 2003 +++ phpdoc/en/reference/imap/functions/imap-append.xml Wed Jul 16 13:14:40 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -- refentry id=function.imap-append refnamediv @@ -36,6 +36,7 @@ titlefunctionimap_append/function example/title programlisting role=php ![CDATA[ +?php $stream = imap_open({your.imap.host}INBOX.Drafts,username, password); $check = imap_check($stream); @@ -53,6 +54,7 @@ print Msg Count after append : . $check-Nmsgs.\n; imap_close($stream); +? ]] /programlisting /example Index: phpdoc/en/reference/imap/functions/imap-delete.xml diff -u phpdoc/en/reference/imap/functions/imap-delete.xml:1.3 phpdoc/en/reference/imap/functions/imap-delete.xml:1.4 --- phpdoc/en/reference/imap/functions/imap-delete.xml:1.3 Wed Oct 9 10:55:05 2002 +++ phpdoc/en/reference/imap/functions/imap-delete.xml Wed Jul 16 13:14:40 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -- refentry id=function.imap-delete refnamediv @@ -44,6 +44,7 @@ titlefunctionimap_delete/function Beispiel/title programlisting role=php ![CDATA[ +?php $mbox = imap_open ({your.imap.host}INBOX, username, password) or die (can't connect: . imap_last_error()); @@ -56,6 +57,7 @@ $check = imap_mailboxmsginfo ($mbox); print Messages after expunge: . $check-Nmsgs . br\n ; imap_close ($mbox); +? ]] /programlisting /example Index: phpdoc/en/reference/imap/functions/imap-fetch-overview.xml diff -u phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.3 phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.4 --- phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.3 Wed Oct 9 10:55:05 2002 +++ phpdoc/en/reference/imap/functions/imap-fetch-overview.xml Wed Jul 16 13:14:40 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/imap.xml, last change in rev 1.33 -- refentry id=function.imap-fetch-overview refnamediv @@ -101,6 +101,7 @@ titlefunctionimap_fetch_overview/function example/title programlisting role=php ![CDATA[ +?php $mbox = imap_open({your.imap.host:143},username,password) or die(can't connect: .imap_last_error()); @@ -117,6 +118,7 @@ } imap_close($mbox); +? ]] /programlisting /example Index: phpdoc/en/reference/imap/functions/imap-get-quota.xml diff -u phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.8 phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.9 --- phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.8 Thu Feb 13 09:39:29 2003 +++ phpdoc/en/reference/imap/functions/imap-get-quota.xml Wed Jul 16 13:14:40 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- !-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -- refentry id=function.imap-get-quota refnamediv @@ -43,6 +43,7 @@ titlefunctionimap_get_quota/function example/title programlisting role=php ![CDATA[ +?php $mbox = imap_open({your.imap.host},mailadmin,password,OP_HALFOPEN) or die(can't connect: .imap_last_error()); @@ -53,6 +54,7 @@ } imap_close($mbox); +? ]] /programlisting /example @@ -67,8 +69,8 @@ output. /para para - For backwards compatibility reasons, the originial access methods are - still available for use, although it is suggested to update. + For backwards compatibility
[PHP-DOC] cvs: phpdoc /en/reference/ircg/functions ircg-fetch-error-msg.xml
didou Wed Jul 16 13:15:34 2003 EDT Modified files: /phpdoc/en/reference/ircg/functions ircg-fetch-error-msg.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml diff -u phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.3 phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.4 --- phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.3 Wed Nov 27 11:50:10 2002 +++ phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml Wed Jul 16 13:15:34 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/ircg.xml, last change in rev 1.7 -- refentry id=function.ircg-fetch-error-msg refnamediv @@ -30,11 +30,13 @@ titlefunctionircg_fetch_error_msg/function example/title programlisting role=php ![CDATA[ +?php if (!ircg_join ($id, #php)) { $error = ircg_fetch_error_msg($id); print (Can't join channel #php. Error code: $error[0] Description: $error[1]); } +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/ldap/functions ldap-get-attributes.xml ldap-get-option.xml ldap-get-values.xml ldap-search.xml ldap-set-option.xml
didou Wed Jul 16 13:15:44 2003 EDT Modified files: /phpdoc/en/reference/ldap/functions ldap-get-attributes.xml ldap-get-option.xml ldap-get-values.xml ldap-search.xml ldap-set-option.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/ldap/functions/ldap-get-attributes.xml diff -u phpdoc/en/reference/ldap/functions/ldap-get-attributes.xml:1.2 phpdoc/en/reference/ldap/functions/ldap-get-attributes.xml:1.3 --- phpdoc/en/reference/ldap/functions/ldap-get-attributes.xml:1.2 Wed Apr 17 02:39:44 2002 +++ phpdoc/en/reference/ldap/functions/ldap-get-attributes.xml Wed Jul 16 13:15:44 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ldap.xml, last change in rev 1.2 -- refentry id=function.ldap-get-attributes refnamediv @@ -40,11 +40,13 @@ return_value[attribute][i] = (i+1)th value of the attribute /literallayout/informalexample -example - titleShow the list of attributes held for a particular directory - entry /title -programlisting role=php + example + title + Show the list of attributes held for a particular directory entry + /title + programlisting role=php ![CDATA[ +?php // $ds is the link identifier for the directory // $sr is a valid search result from a prior call to @@ -58,14 +60,15 @@ for ($i=0; $i$attrs[count]; $i++) echo $attrs[$i].br; +? ]] -/programlisting -/example/para - - para - See also functionldap_first_attribute/function and - functionldap_next_attribute/function/para - + /programlisting + /example +/para +para + See also functionldap_first_attribute/function and + functionldap_next_attribute/function. +/para /refsect1 /refentry Index: phpdoc/en/reference/ldap/functions/ldap-get-option.xml diff -u phpdoc/en/reference/ldap/functions/ldap-get-option.xml:1.2 phpdoc/en/reference/ldap/functions/ldap-get-option.xml:1.3 --- phpdoc/en/reference/ldap/functions/ldap-get-option.xml:1.2 Wed Apr 17 02:39:44 2002 +++ phpdoc/en/reference/ldap/functions/ldap-get-option.xml Wed Jul 16 13:15:44 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ldap.xml, last change in rev 1.17 -- refentry id=function.ldap-get-option refnamediv @@ -16,7 +16,8 @@ /methodsynopsis para Sets parameterretval/parameter to the value of the specified option. - return.success;/para + return.success; +/para para The parameter parameteroption/parameter can be one of: LDAP_OPT_DEREF, LDAP_OPT_SIZELIMIT, LDAP_OPT_TIMELIMIT, @@ -24,29 +25,31 @@ LDAP_OPT_RESTART, LDAP_OPT_HOST_NAME, LDAP_OPT_ERROR_STRING, LDAP_OPT_MATCHED_DN. These are described in ulink url=url.ldap.openldap-c-api;draft-ietf-ldapext-ldap-c-api-xx.txt/ulink +/para +note + paraThis function is only available when using OpenLDAP 2.x.x OR + Netscape Directory SDK x.x, and was added in PHP 4.0.4 /para - note - paraThis function is only available when using OpenLDAP 2.x.x OR - Netscape Directory SDK x.x, and was added in PHP 4.0.4 - /para - /note - para +/note +para example titleCheck protocol version/title -programlisting role=php + programlisting role=php ![CDATA[ +?php // $ds is a valid link identifier for a directory server if (ldap_get_option($ds, LDAP_OPT_PROTOCOL_VERSION, $version)) -echo Using protocol version $version; +echo Using protocol version $version\n; else -echo Unable to determine protocol version; +echo Unable to determine protocol version\n; +? ]] -/programlisting + /programlisting /example - /para - - para - See also functionldap_set_option/function./para +/para +para + See also functionldap_set_option/function. +/para /refsect1 /refentry Index: phpdoc/en/reference/ldap/functions/ldap-get-values.xml diff -u phpdoc/en/reference/ldap/functions/ldap-get-values.xml:1.2 phpdoc/en/reference/ldap/functions/ldap-get-values.xml:1.3 --- phpdoc/en/reference/ldap/functions/ldap-get-values.xml:1.2 Wed Apr 17 02:39:44 2002 +++ phpdoc/en/reference/ldap/functions/ldap-get-values.xml Wed Jul 16 13:15:44 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ldap.xml, last change in rev 1.2 -- refentry id=function.ldap-get-values refnamediv @@ -50,8 +50,9 @@ example titleList all values of the mail attribute for a directory entry /title -programlisting role=php + programlisting role=php ![CDATA[ +?php
[PHP-DOC] cvs: phpdoc /en/reference/mnogosearch/functions udm-load-ispell-data.xml
didou Wed Jul 16 13:16:43 2003 EDT Modified files: /phpdoc/en/reference/mnogosearch/functions udm-load-ispell-data.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/mnogosearch/functions/udm-load-ispell-data.xml diff -u phpdoc/en/reference/mnogosearch/functions/udm-load-ispell-data.xml:1.3 phpdoc/en/reference/mnogosearch/functions/udm-load-ispell-data.xml:1.4 --- phpdoc/en/reference/mnogosearch/functions/udm-load-ispell-data.xml:1.3 Sun Jun 29 15:51:33 2003 +++ phpdoc/en/reference/mnogosearch/functions/udm-load-ispell-data.xml Wed Jul 16 13:16:43 2003 @@ -1,12 +1,11 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/mnogosearch.xml, last change in rev 1.18 -- refentry id=function.udm-load-ispell-data refnamediv refnameudm_load_ispell_data/refname refpurposeLoad ispell data/refpurpose /refnamediv - refsect1 titleDescription/title methodsynopsis @@ -17,34 +16,28 @@ methodparamtypestring/typeparameterval2/parameter/methodparam methodparamtypeint/typeparameterflag/parameter/methodparam /methodsynopsis - para functionudm_load_ispell_data/function loads ispell data. return.success; /para - para parameteragent/parameter - agent link identifier, received after call to functionudm_alloc_agent/function. /para - para parametervar/parameter - parameter, indicating the source for ispell data. May have the following values: /para - para After using this function to free memory allocated for ispell data, please use functionudm_free_ispell_data/function, even if you use UDM_ISPELL_TYPE_SERVER mode. /para - para The fastest mode is UDM_ISPELL_TYPE_SERVER. UDM_ISPELL_TYPE_TEXT is slower and UDM_ISPELL_TYPE_DB is the slowest. The above pattern is true; for mnoGoSearch 3.1.10 - 3.1.11. It is planned to speed up DB mode in future versions and it is going to be faster than TEXT mode. /para - itemizedlist listitem simpara @@ -53,7 +46,6 @@ are ignored and should be left blank. parameterflag/parameter should be equal to literal1/literal. /simpara - note para parameterflag/parameter indicates that after loading ispell data @@ -68,6 +60,7 @@ functionudm_error/function and functionudm_errno/function. /para /note + para example titlefunctionudm_load_ispell_data/functionexample/title programlisting role=php @@ -81,6 +74,7 @@ ]] /programlisting /example + /para /listitem listitem para @@ -138,16 +132,17 @@ informalexample programlisting role=php ![CDATA[ +?php if ((! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } +? ]] /programlisting /informalexample - note para parameterflag/parameter is equal to literal1/literal only in the last call. @@ -181,21 +176,21 @@ is not running or invalid host indicated, there are no messages returned and ispell conversion does not work. /para - note para This function is available in mnoGoSearch 3.1.12 or later. /para /note - simparaExample:/simpara informalexample programlisting role=php ![CDATA[ +?php if (!udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SERVER,'','',1)) { printf(Error loading ispell data from serverbr\n); exit; } +? ]] /programlisting /informalexample -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/ncurses/functions ncurses-getmouse.xml ncurses-mousemask.xml
didou Wed Jul 16 13:16:57 2003 EDT Modified files: /phpdoc/en/reference/ncurses/functions ncurses-getmouse.xml ncurses-mousemask.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml diff -u phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.2 phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.3 --- phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml:1.2 Wed Apr 17 02:41:23 2002 +++ phpdoc/en/reference/ncurses/functions/ncurses-getmouse.xml Wed Jul 16 13:16:57 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ncurses.xml, last change in rev 1.5 -- refentry id=function.ncurses-getmouse refnamediv @@ -39,7 +39,7 @@ titlefunctionncurses_getmouse/function example/title programlisting role=php ![CDATA[ - +?php switch (ncurses_getch){ case NCURSES_KEY_MOUSE: if (!ncurses_getmouse($mevent)){ @@ -53,13 +53,13 @@ default: } - +? ]] /programlisting /example /para para - See also: functionncurses_ungetmouse/function + See also functionncurses_ungetmouse/function /para /refsect1 /refentry Index: phpdoc/en/reference/ncurses/functions/ncurses-mousemask.xml diff -u phpdoc/en/reference/ncurses/functions/ncurses-mousemask.xml:1.2 phpdoc/en/reference/ncurses/functions/ncurses-mousemask.xml:1.3 --- phpdoc/en/reference/ncurses/functions/ncurses-mousemask.xml:1.2 Wed Apr 17 02:41:28 2002 +++ phpdoc/en/reference/ncurses/functions/ncurses-mousemask.xml Wed Jul 16 13:16:57 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/ncurses.xml, last change in rev 1.5 -- refentry id=function.ncurses-mousemask refnamediv @@ -67,24 +67,25 @@ /itemizedlist /para para - See also: functionncurses_getmouse/function, - functionncurses_ungetmouse/function - functionncurese_getch/function -/para -para example titlefunctionncurses_mousemask/function example/title programlisting role=php ![CDATA[ - +?php $newmask = NCURSES_BUTTON1_CLICKED + NCURSES_BUTTON1_RELEASED; $mask = ncurses_mousemask($newmask, $oldmask); if ($mask $newmask){ printf (All specified mouse options will be supported\n); } +? ]] /programlisting /example +/para +para + See also functionncurses_getmouse/function, + functionncurses_ungetmouse/function and + functionncurese_getch/function. /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/objaggregation reference.xml
didou Wed Jul 16 13:17:21 2003 EDT Modified files: /phpdoc/en/reference/objaggregation reference.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/objaggregation/reference.xml diff -u phpdoc/en/reference/objaggregation/reference.xml:1.8 phpdoc/en/reference/objaggregation/reference.xml:1.9 --- phpdoc/en/reference/objaggregation/reference.xml:1.8Thu Jul 3 06:01:37 2003 +++ phpdoc/en/reference/objaggregation/reference.xmlWed Jul 16 13:17:20 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- reference id=ref.objaggregation titleObject Aggregation/Composition Functions/title titleabbrevObject Aggregation/titleabbrev @@ -28,6 +28,7 @@ titleClass association/title programlisting role=php ![CDATA[ +?php class DateTime { function DateTime() { @@ -56,6 +57,7 @@ } $rep = new Report(); +? ]] /programlisting /example @@ -67,6 +69,7 @@ titleObject association/title programlisting role=php ![CDATA[ +?php class DateTime { // same as previous example } @@ -118,6 +121,7 @@ $output = $rep-generateReport(); // save $output in database // ... etc ... +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/oracle/functions ora-logon.xml
didou Wed Jul 16 13:17:43 2003 EDT Modified files: /phpdoc/en/reference/oracle/functions ora-logon.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/oracle/functions/ora-logon.xml diff -u phpdoc/en/reference/oracle/functions/ora-logon.xml:1.4 phpdoc/en/reference/oracle/functions/ora-logon.xml:1.5 --- phpdoc/en/reference/oracle/functions/ora-logon.xml:1.4 Wed Feb 12 12:57:03 2003 +++ phpdoc/en/reference/oracle/functions/ora-logon.xml Wed Jul 16 13:17:43 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/oracle.xml, last change in rev 1.5 -- refentry id=function.ora-logon refnamediv @@ -24,7 +24,9 @@ informalexample programlisting role=php ![CDATA[ +?php $conn = Ora_Logon([EMAIL PROTECTED], pass); +? ]] /programlisting /informalexample -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/outcontrol/functions ob-start.xml
didou Wed Jul 16 13:17:55 2003 EDT Modified files: /phpdoc/en/reference/outcontrol/functions ob-start.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/outcontrol/functions/ob-start.xml diff -u phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.4 phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.5 --- phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.4 Sat Jun 28 03:24:36 2003 +++ phpdoc/en/reference/outcontrol/functions/ob-start.xml Wed Jul 16 13:17:54 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -- refentry id=function.ob-start refnamediv @@ -72,9 +72,10 @@ delete the contents of a buffer, return (a null string) from callback function. /para -example - titleUser defined callback function example/title - programlisting role=php +para + example + titleUser defined callback function example/title + programlisting role=php ![CDATA[ ?php @@ -101,12 +102,11 @@ ? ]] - /programlisting -/example -para - Would produce: - informalexample - programlisting role=php + /programlisting + para + Would produce: + /para + screen ![CDATA[ html body @@ -114,8 +114,8 @@ /body /html ]] - /programlisting - /informalexample + /screen + /example /para para See also functionob_get_contents/function, -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-grep.xml preg-quote.xml
didou Wed Jul 16 13:18:09 2003 EDT Modified files: /phpdoc/en/reference/pcre/functions preg-grep.xml preg-quote.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/pcre/functions/preg-grep.xml diff -u phpdoc/en/reference/pcre/functions/preg-grep.xml:1.2 phpdoc/en/reference/pcre/functions/preg-grep.xml:1.3 --- phpdoc/en/reference/pcre/functions/preg-grep.xml:1.2Wed Apr 17 02:42:48 2002 +++ phpdoc/en/reference/pcre/functions/preg-grep.xmlWed Jul 16 13:18:08 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -- refentry id=function.preg-grep refnamediv @@ -34,9 +34,11 @@ titlefunctionpreg_grep/function example/title programlisting role=php ![CDATA[ +?php // return all array elements // containing floating point numbers $fl_array = preg_grep (/^(\d+)?\.\d+$/, $array); +? ]] /programlisting /example Index: phpdoc/en/reference/pcre/functions/preg-quote.xml diff -u phpdoc/en/reference/pcre/functions/preg-quote.xml:1.3 phpdoc/en/reference/pcre/functions/preg-quote.xml:1.4 --- phpdoc/en/reference/pcre/functions/preg-quote.xml:1.3 Mon Jun 16 16:03:02 2003 +++ phpdoc/en/reference/pcre/functions/preg-quote.xml Wed Jul 16 13:18:08 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -- refentry id=function.preg-quote refnamediv @@ -34,9 +34,11 @@ titlefunctionpreg_quote/function example/title programlisting role=php ![CDATA[ +?php $keywords = $40 for a g3/400; $keywords = preg_quote ($keywords, /); echo $keywords; // returns \$40 for a g3\/400 +? ]] /programlisting /example @@ -46,6 +48,7 @@ titleItalicizing a word within some text/title programlisting role=php ![CDATA[ +?php // In this example, preg_quote($word) is used to keep the // asterisks from having special meaning to the regular // expression. @@ -55,6 +58,7 @@ $textbody = preg_replace (/.preg_quote($word)./, i.$word./i, $textbody); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/printer/functions printer-abort.xml printer-close.xml printer-create-dc.xml printer-draw-bmp.xml printer-draw-chord.xml printer-draw-elipse.xml printer-draw-line.xml printer-draw-pie.xml printer-draw-rectangle.xml printer-draw-roundrect.xml printer-draw-text.xml printer-get-option.xml printer-list.xml printer-logical-fontheight.xml printer-open.xml printer-select-brush.xml printer-select-font.xml printer-select-pen.xml printer-set-option.xml printer-start-doc.xml printer-write.xml
didou Wed Jul 16 13:18:46 2003 EDT Modified files: /phpdoc/en/reference/printer/functions printer-abort.xml printer-close.xml printer-create-dc.xml printer-draw-bmp.xml printer-draw-chord.xml printer-draw-elipse.xml printer-draw-line.xml printer-draw-pie.xml printer-draw-rectangle.xml printer-draw-roundrect.xml printer-draw-text.xml printer-get-option.xml printer-list.xml printer-logical-fontheight.xml printer-open.xml printer-select-brush.xml printer-select-font.xml printer-select-pen.xml printer-set-option.xml printer-start-doc.xml printer-write.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/printer/functions/printer-abort.xml diff -u phpdoc/en/reference/printer/functions/printer-abort.xml:1.2 phpdoc/en/reference/printer/functions/printer-abort.xml:1.3 --- phpdoc/en/reference/printer/functions/printer-abort.xml:1.2 Wed Apr 17 02:43:30 2002 +++ phpdoc/en/reference/printer/functions/printer-abort.xml Wed Jul 16 13:18:45 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/printer.xml, last change in rev 1.6 -- refentry id=function.printer-abort refnamediv @@ -22,9 +22,11 @@ titlefunctionprinter_abort/function example/title programlisting role=php ![CDATA[ +?php $handle = printer_open(); printer_abort($handle); printer_close($handle); +? ]] /programlisting /example Index: phpdoc/en/reference/printer/functions/printer-close.xml diff -u phpdoc/en/reference/printer/functions/printer-close.xml:1.2 phpdoc/en/reference/printer/functions/printer-close.xml:1.3 --- phpdoc/en/reference/printer/functions/printer-close.xml:1.2 Wed Apr 17 02:43:30 2002 +++ phpdoc/en/reference/printer/functions/printer-close.xml Wed Jul 16 13:18:45 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/printer.xml, last change in rev 1.6 -- refentry id=function.printer-close refnamediv @@ -24,8 +24,10 @@ titlefunctionprinter_close/function example/title programlisting role=php ![CDATA[ +?php $handle = printer_open(); printer_close($handle); +? ]] /programlisting /example Index: phpdoc/en/reference/printer/functions/printer-create-dc.xml diff -u phpdoc/en/reference/printer/functions/printer-create-dc.xml:1.2 phpdoc/en/reference/printer/functions/printer-create-dc.xml:1.3 --- phpdoc/en/reference/printer/functions/printer-create-dc.xml:1.2 Wed Apr 17 02:43:31 2002 +++ phpdoc/en/reference/printer/functions/printer-create-dc.xml Wed Jul 16 13:18:45 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/printer.xml, last change in rev 1.6 -- refentry id=function.printer-create-dc refnamediv @@ -21,6 +21,7 @@ titlefunctionprinter_create_dc/function example/title programlisting role=php ![CDATA[ +?php $handle = printer_open(); printer_start_doc($handle); printer_start_page($handle); @@ -42,6 +43,7 @@ printer_endpage($handle); printer_end_doc($handle); printer_close($handle); +? ]] /programlisting /example Index: phpdoc/en/reference/printer/functions/printer-draw-bmp.xml diff -u phpdoc/en/reference/printer/functions/printer-draw-bmp.xml:1.3 phpdoc/en/reference/printer/functions/printer-draw-bmp.xml:1.4 --- phpdoc/en/reference/printer/functions/printer-draw-bmp.xml:1.3 Tue Feb 11 06:47:57 2003 +++ phpdoc/en/reference/printer/functions/printer-draw-bmp.xml Wed Jul 16 13:18:45 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/printer.xml, last change in rev 1.6 -- refentry id=function.printer-draw-bmp refnamediv @@ -28,6 +28,7 @@ titlefunctionprinter_draw_bmp/function example/title programlisting
[PHP-DOC] cvs: phpdoc /en/reference/pspell/functions pspell-add-to-personal.xml pspell-check.xml pspell-clear-session.xml pspell-config-create.xml pspell-config-ignore.xml pspell-config-mode.xml pspell-config-personal.xml pspell-config-repl.xml pspell-config-runtogether.xml pspell-new-config.xml pspell-new-personal.xml pspell-new.xml pspell-save-wordlist.xml pspell-store-replacement.xml pspell-suggest.xml
didou Wed Jul 16 13:19:03 2003 EDT Modified files: /phpdoc/en/reference/pspell/functions pspell-add-to-personal.xml pspell-check.xml pspell-clear-session.xml pspell-config-create.xml pspell-config-ignore.xml pspell-config-mode.xml pspell-config-personal.xml pspell-config-repl.xml pspell-config-runtogether.xml pspell-new-config.xml pspell-new-personal.xml pspell-new.xml pspell-save-wordlist.xml pspell-store-replacement.xml pspell-suggest.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/pspell/functions/pspell-add-to-personal.xml diff -u phpdoc/en/reference/pspell/functions/pspell-add-to-personal.xml:1.2 phpdoc/en/reference/pspell/functions/pspell-add-to-personal.xml:1.3 --- phpdoc/en/reference/pspell/functions/pspell-add-to-personal.xml:1.2 Wed Apr 17 02:43:36 2002 +++ phpdoc/en/reference/pspell/functions/pspell-add-to-personal.xml Wed Jul 16 13:19:03 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 -- refentry id=function.pspell-add-to-personal refnamediv @@ -26,12 +26,14 @@ titlefunctionpspell_add_to_personal/function/title programlisting role=php ![CDATA[ +?php $pspell_config = pspell_config_create (en); pspell_config_personal ($pspell_config, /var/dictionaries/custom.pws); $pspell_link = pspell_new_config ($pspell_config); pspell_add_to_personal ($pspell_link, Vlad); pspell_save_wordlist ($pspell_link); +? ]] /programlisting /example Index: phpdoc/en/reference/pspell/functions/pspell-check.xml diff -u phpdoc/en/reference/pspell/functions/pspell-check.xml:1.2 phpdoc/en/reference/pspell/functions/pspell-check.xml:1.3 --- phpdoc/en/reference/pspell/functions/pspell-check.xml:1.2 Wed Apr 17 02:43:37 2002 +++ phpdoc/en/reference/pspell/functions/pspell-check.xml Wed Jul 16 13:19:03 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 -- refentry id=function.pspell-check refnamediv @@ -22,6 +22,7 @@ titlefunctionpspell_check/function/title programlisting role=php ![CDATA[ +?php $pspell_link = pspell_new (en); if (pspell_check ($pspell_link, testt)) { @@ -29,6 +30,7 @@ } else { echo Sorry, wrong spelling; } +? ]] /programlisting /example Index: phpdoc/en/reference/pspell/functions/pspell-clear-session.xml diff -u phpdoc/en/reference/pspell/functions/pspell-clear-session.xml:1.2 phpdoc/en/reference/pspell/functions/pspell-clear-session.xml:1.3 --- phpdoc/en/reference/pspell/functions/pspell-clear-session.xml:1.2 Wed Apr 17 02:43:38 2002 +++ phpdoc/en/reference/pspell/functions/pspell-clear-session.xml Wed Jul 16 13:19:03 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 -- refentry id=function.pspell-clear-session refnamediv @@ -22,6 +22,7 @@ titlefunctionpspell_add_to_personal/function/title programlisting role=php ![CDATA[ +?php $pspell_config = pspell_config_create (en); pspell_config_personal ($pspell_config, /var/dictionaries/custom.pws); $pspell_link = pspell_new_config ($pspell_config); @@ -29,6 +30,7 @@ pspell_add_to_personal ($pspell_link, Vlad); pspell_clear_session ($pspell_link); pspell_save_wordlist ($pspell_link);//Vlad will not be saved +? ]] /programlisting /example Index: phpdoc/en/reference/pspell/functions/pspell-config-create.xml diff -u phpdoc/en/reference/pspell/functions/pspell-config-create.xml:1.2 phpdoc/en/reference/pspell/functions/pspell-config-create.xml:1.3 --- phpdoc/en/reference/pspell/functions/pspell-config-create.xml:1.2 Wed Apr 17 02:43:38 2002 +++ phpdoc/en/reference/pspell/functions/pspell-config-create.xml Wed Jul 16 13:19:03 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 -- refentry id=function.pspell-config-create refnamediv @@ -85,10 +85,12 @@
[PHP-DOC] cvs: phpdoc /en/reference/readline/functions readline.xml
didou Wed Jul 16 13:20:01 2003 EDT Modified files: /phpdoc/en/reference/readline/functions readline.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/readline/functions/readline.xml diff -u phpdoc/en/reference/readline/functions/readline.xml:1.2 phpdoc/en/reference/readline/functions/readline.xml:1.3 --- phpdoc/en/reference/readline/functions/readline.xml:1.2 Wed Apr 17 02:43:44 2002 +++ phpdoc/en/reference/readline/functions/readline.xml Wed Jul 16 13:20:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/readline.xml, last change in rev 1.1 -- refentry id=function.readline refnamediv @@ -23,6 +23,7 @@ titlefunctionreadline/function/title programlisting role=php ![CDATA[ +?php //get 3 commands from user for ($i=0; $i 3; $i++) { $line = readline (Command: ); @@ -34,6 +35,7 @@ //dump variables print_r (readline_info()); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/recode/functions recode-file.xml recode-string.xml
didou Wed Jul 16 13:20:06 2003 EDT Modified files: /phpdoc/en/reference/recode/functions recode-file.xml recode-string.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/recode/functions/recode-file.xml diff -u phpdoc/en/reference/recode/functions/recode-file.xml:1.2 phpdoc/en/reference/recode/functions/recode-file.xml:1.3 --- phpdoc/en/reference/recode/functions/recode-file.xml:1.2Wed Apr 17 02:43:47 2002 +++ phpdoc/en/reference/recode/functions/recode-file.xmlWed Jul 16 13:20:06 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -- refentry id=function.recode-file refnamediv @@ -32,9 +32,11 @@ titleBasic functionrecode_file/function example/title programlisting role=php ![CDATA[ +?php $input = fopen ('input.txt', 'r'); $output = fopen ('output.txt', 'w'); recode_file (us..flat, $input, $output); +? ]] /programlisting /example Index: phpdoc/en/reference/recode/functions/recode-string.xml diff -u phpdoc/en/reference/recode/functions/recode-string.xml:1.2 phpdoc/en/reference/recode/functions/recode-string.xml:1.3 --- phpdoc/en/reference/recode/functions/recode-string.xml:1.2 Wed Apr 17 02:43:49 2002 +++ phpdoc/en/reference/recode/functions/recode-string.xml Wed Jul 16 13:20:06 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -- refentry id=function.recode-string refnamediv @@ -26,7 +26,9 @@ titleBasic functionrecode_string/function example:/title programlisting role=php ![CDATA[ +?php print recode_string (us..flat, The following character has a diacritical mark: aacute;); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/sesam/functions sesam-affected-rows.xml sesam-disconnect.xml sesam-errormsg.xml sesam-execimm.xml
didou Wed Jul 16 13:20:56 2003 EDT Modified files: /phpdoc/en/reference/sesam/functionssesam-affected-rows.xml sesam-disconnect.xml sesam-errormsg.xml sesam-execimm.xml Log: adding PHP tags in the examples and some structuring Index: phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml diff -u phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml:1.2 Wed Apr 17 02:43:53 2002 +++ phpdoc/en/reference/sesam/functions/sesam-affected-rows.xml Wed Jul 16 13:20:56 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -- refentry id=function.sesam-affected-rows refnamediv @@ -32,21 +32,26 @@ number returned is the number of affected rows. /para para - See also: functionsesam_query/function and - functionsesam_execimm/function -/para -informalexample - programlisting role=php + example + titlefunctionsesam_affected_rows/function example/title + programlisting role=php ![CDATA[ +?php $result = sesam_execimm (DELETE FROM PHONE WHERE LASTNAME = '.strtoupper ($name).'); if (!$result) { ... error ... } print sesam_affected_rows ($result). - entries with last name .$name. deleted.\n + entries with last name .$name. deleted.\n; +? ]] - /programlisting -/informalexample + /programlisting + /example +/para +para + See also functionsesam_query/function and + functionsesam_execimm/function. +/para /refsect1 /refentry Index: phpdoc/en/reference/sesam/functions/sesam-disconnect.xml diff -u phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-disconnect.xml:1.2Wed Apr 17 02:43:54 2002 +++ phpdoc/en/reference/sesam/functions/sesam-disconnect.xmlWed Jul 16 13:20:56 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -- refentry id=function.sesam-disconnect refnamediv @@ -35,18 +35,22 @@ fail. /para para - See also: functionsesam_connect/function. example titleClosing a SESAM connection/title programlisting role=php ![CDATA[ +?php if (sesam_connect (mycatalog, myschema, otto)) { ... some queries and stuff ... sesam_disconnect(); } +? ]] /programlisting /example +/para +para + See also functionsesam_connect/function. /para /refsect1 /refentry Index: phpdoc/en/reference/sesam/functions/sesam-errormsg.xml diff -u phpdoc/en/reference/sesam/functions/sesam-errormsg.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-errormsg.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-errormsg.xml:1.2 Wed Apr 17 02:43:54 2002 +++ phpdoc/en/reference/sesam/functions/sesam-errormsg.xml Wed Jul 16 13:20:56 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -- refentry id=function.sesam-errormsg refnamediv @@ -16,17 +16,22 @@ Returns the SESAM error message associated with the most recent SESAM error. /para -informalexample - programlisting role=php +para + example + titlefunctionsesam_errormsg/function example/title + programlisting role=php ![CDATA[ +?php if (!sesam_execimm ($stmt)) printf (%sbr\n, sesam_errormsg()); +? ]] - /programlisting -/informalexample + /programlisting + /example +/para para - See also: functionsesam_diagnostic/function for the full set - of SESAM SQL status information + See also functionsesam_diagnostic/function for the full set + of SESAM SQL status information. /para /refsect1 /refentry Index: phpdoc/en/reference/sesam/functions/sesam-execimm.xml diff -u phpdoc/en/reference/sesam/functions/sesam-execimm.xml:1.2 phpdoc/en/reference/sesam/functions/sesam-execimm.xml:1.3 --- phpdoc/en/reference/sesam/functions/sesam-execimm.xml:1.2 Wed Apr 17 02:43:54 2002 +++ phpdoc/en/reference/sesam/functions/sesam-execimm.xml Wed Jul 16 13:20:56 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/sesam.xml, last change in rev 1.1 -- refentry id=function.sesam-execimm refnamediv @@ -43,16 +43,20 @@ informalexample programlisting role=php
[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-last-error.xml socket-select.xml
didou Wed Jul 16 13:21:22 2003 EDT Modified files: /phpdoc/en/reference/sockets/functions socket-last-error.xml socket-select.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/sockets/functions/socket-last-error.xml diff -u phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.4 phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.5 --- phpdoc/en/reference/sockets/functions/socket-last-error.xml:1.4 Tue Apr 30 18:14:22 2002 +++ phpdoc/en/reference/sockets/functions/socket-last-error.xml Wed Jul 16 13:21:22 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/sockets.xml, last change in rev 1.1 -- refentry id=function.socket-last-error refnamediv @@ -28,10 +28,12 @@ describing the given error code. programlisting role=php ![CDATA[ +?php if (false == ($socket = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP))) { die(Couldn't create socket, error code is: . socket_last_error() . ,error message is: . socket_strerror(socket_last_error())); } +? ]] /programlisting /para Index: phpdoc/en/reference/sockets/functions/socket-select.xml diff -u phpdoc/en/reference/sockets/functions/socket-select.xml:1.9 phpdoc/en/reference/sockets/functions/socket-select.xml:1.10 --- phpdoc/en/reference/sockets/functions/socket-select.xml:1.9 Wed Jun 11 21:58:19 2003 +++ phpdoc/en/reference/sockets/functions/socket-select.xml Wed Jul 16 13:21:22 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- !-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 -- refentry id=function.socket-select refnamediv @@ -60,6 +60,7 @@ titlefunctionsocket_select/function example/title programlisting role=php ![CDATA[ +?php /* Prepare the read array */ $read = array($socket1, $socket2); @@ -70,6 +71,7 @@ } else if ($num_changed_sockets 0) { /* At least at one of the sockets something interesting happened */ } +? ]] /programlisting /example @@ -85,7 +87,9 @@ titleUsing null; with functionsocket_select/function/title programlisting role=php ![CDATA[ +?php socket_select($r, $w, $e = NULL, 0); +? ]] /programlisting /example @@ -117,10 +121,12 @@ titleUnderstanding functionsocket_select/function's result/title programlisting role=php ![CDATA[ +?php if (false === socket_select($r, $w, $e = NULL, 0)) { echo socket_select() failed, reason: . socket_strerror(socket_last_error()) . \n; } +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/stream/functions stream-select.xml stream-set-write-buffer.xml stream-wrapper-register.xml
didou Wed Jul 16 13:21:38 2003 EDT Modified files: /phpdoc/en/reference/stream/functions stream-select.xml stream-set-write-buffer.xml stream-wrapper-register.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/stream/functions/stream-select.xml diff -u phpdoc/en/reference/stream/functions/stream-select.xml:1.4 phpdoc/en/reference/stream/functions/stream-select.xml:1.5 --- phpdoc/en/reference/stream/functions/stream-select.xml:1.4 Sun Jun 22 07:25:57 2003 +++ phpdoc/en/reference/stream/functions/stream-select.xml Wed Jul 16 13:21:38 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.stream-select refnamediv refnamestream_select/refname @@ -122,7 +122,9 @@ temporary variable: programlisting role=php ![CDATA[ +?php stream_select($r, $w, $e = NULL, 0); +? ]] /programlisting /para @@ -134,9 +136,11 @@ comparison with literal==/literal would evaluate to true;: programlisting role=php ![CDATA[ +?php if (false === stream_select($r, $w, $e = NULL, 0)) { echo stream_select() failed\n; } +? ]] /programlisting /para Index: phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml diff -u phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.1 phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.2 --- phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.1Thu Jan 2 21:41:14 2003 +++ phpdoc/en/reference/stream/functions/stream-set-write-buffer.xmlWed Jul 16 13:21:38 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -- refentry id=function.stream-set-write-buffer refnamediv @@ -37,12 +37,14 @@ titlefunctionstream_set_write_buffer/function example/title programlisting role=php ![CDATA[ +?php $fp = fopen($file, w); if ($fp) { stream_set_write_buffer($fp, 0); fputs($fp, $output); fclose($fp); } +? ]] /programlisting /example Index: phpdoc/en/reference/stream/functions/stream-wrapper-register.xml diff -u phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.3 phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.4 --- phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.3Sat Jun 21 23:38:08 2003 +++ phpdoc/en/reference/stream/functions/stream-wrapper-register.xmlWed Jul 16 13:21:38 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry id=function.stream-wrapper-register refnamediv refnamestream_wrapper_register/refname @@ -298,6 +298,8 @@ titleA Stream for reading/writing global variables/title programlisting role=php ![CDATA[ +?php + class VariableStream { var $position; var $varname; @@ -391,6 +393,7 @@ fclose($fp); var_dump($myvar); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/strings/functions strrpos.xml
didou Wed Jul 16 13:22:01 2003 EDT Modified files: /phpdoc/en/reference/strings/functions strrpos.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/strings/functions/strrpos.xml diff -u phpdoc/en/reference/strings/functions/strrpos.xml:1.4 phpdoc/en/reference/strings/functions/strrpos.xml:1.5 --- phpdoc/en/reference/strings/functions/strrpos.xml:1.4 Mon Jun 16 06:44:57 2003 +++ phpdoc/en/reference/strings/functions/strrpos.xml Wed Jul 16 13:22:01 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/strings.xml, last change in rev 1.8 -- refentry id=function.strrpos refnamediv @@ -33,6 +33,8 @@ informalexample programlisting role=php ![CDATA[ +?php + // in PHP 4.0b3 and newer: $pos = strrpos($mystring, b); if ($pos === false) { // note: three equal signs @@ -44,6 +46,7 @@ if (is_string($pos) !$pos) { // not found... } +? ]] /programlisting /informalexample -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/swf/functions swf-addbuttonrecord.xml
didou Wed Jul 16 13:22:26 2003 EDT Modified files: /phpdoc/en/reference/swf/functions swf-addbuttonrecord.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml diff -u phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.2 phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.3 --- phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.2 Wed Apr 17 02:44:27 2002 +++ phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml Wed Jul 16 13:22:26 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/swf.xml, last change in rev 1.8 -- refentry id=function.swf-addbuttonrecord refnamediv @@ -28,17 +28,19 @@ button in the current frame. example title - functionswf_addbuttonrecord/function function example + functionswf_addbuttonrecord/function example /title programlisting role=php ![CDATA[ -swf_startButton ($objid, TYPE_MENUBUTTON); -swf_addButtonRecord (BSDown|BSOver, $buttonImageId, 340); -swf_onCondition (MenuEnter); -swf_actionGetUrl (http://www.designmultimedia.com;, _level1); -swf_onCondition (MenuExit); -swf_actionGetUrl (, _level1); -swf_endButton (); +?php +swf_startButton($objid, TYPE_MENUBUTTON); +swf_addButtonRecord(BSDown|BSOver, $buttonImageId, 340); +swf_onCondition(MenuEnter); +swf_actionGetUrl(http://www.designmultimedia.com;, _level1); +swf_onCondition(MenuExit); +swf_actionGetUrl(, _level1); +swf_endButton(); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/sybase/functions sybase-connect.xml
didou Wed Jul 16 13:22:43 2003 EDT Modified files: /phpdoc/en/reference/sybase/functions sybase-connect.xml Log: missing CDATA Index: phpdoc/en/reference/sybase/functions/sybase-connect.xml diff -u phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.3 phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.4 --- phpdoc/en/reference/sybase/functions/sybase-connect.xml:1.3 Sat Jul 12 12:25:58 2003 +++ phpdoc/en/reference/sybase/functions/sybase-connect.xml Wed Jul 16 13:22:43 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/sybase.xml, last change in rev 1.2 -- refentry id=function.sybase-connect refnamediv @@ -40,12 +40,14 @@ example titlefunctionsybase_connect/function example/title programlisting role=php +![CDATA[ ?php $link = sybase_connect('SYBASE', '', '') or die(Could not connect !); print (Connected successfully); sybase_close($link); ? +]] /programlisting /example /para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/uodbc/functions odbc-fetch-into.xml odbc-setoption.xml
didou Wed Jul 16 13:22:58 2003 EDT Modified files: /phpdoc/en/reference/uodbc/functionsodbc-fetch-into.xml odbc-setoption.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.2 phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.3 --- phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.2 Wed Apr 17 02:44:45 2002 +++ phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml Wed Jul 16 13:22:58 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/uodbc.xml, last change in rev 1.34 -- refentry id=function.odbc-fetch-into refnamediv @@ -47,7 +47,9 @@ titlefunctionodbc_fetch_into/function pre 4.0.6 example /title programlisting role=php ![CDATA[ +?php $rc = odbc_fetch_into($res_id, $my_array); +? ]] /programlisting para @@ -55,9 +57,11 @@ /para programlisting role=php ![CDATA[ +?php $rc = odbc_fetch_into($res_id, $row, $my_array); $rc = odbc_fetch_into($res_id, 1, $my_array); +? ]] /programlisting /example @@ -67,7 +71,9 @@ titlefunctionodbc_fetch_into/function 4.0.6 example/title programlisting role=php ![CDATA[ +?php $rc = odbc_fetch_into($res_id, $my_array); +? ]] /programlisting para @@ -75,8 +81,10 @@ /para programlisting role=php ![CDATA[ +?php $row = 1; $rc = odbc_fetch_into($res_id, $row, $my_array); +? ]] /programlisting /example @@ -86,7 +94,9 @@ titlefunctionodbc_fetch_into/function 4.2.0 example/title programlisting role=php ![CDATA[ +?php $rc = odbc_fetch_into($res_id, $my_array); +? ]] /programlisting para @@ -94,7 +104,9 @@ /para programlisting role=php ![CDATA[ +?php $rc = odbc_fetch_into($res_id,$my_array, 2); +? ]] /programlisting /example Index: phpdoc/en/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.2 phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.3 --- phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.2 Wed Apr 17 02:44:53 2002 +++ phpdoc/en/reference/uodbc/functions/odbc-setoption.xml Wed Jul 16 13:22:58 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/uodbc.xml, last change in rev 1.3 -- refentry id=function.odbc-setoption refnamediv @@ -58,6 +58,7 @@ titleODBC Setoption Examples/title programlisting role=php ![CDATA[ +?php // 1. Option 102 of SQLSetConnectOption() is SQL_AUTOCOMMIT. //Value 1 of SQL_AUTOCOMMIT is SQL_AUTOCOMMIT_ON. //This example has the same effect as @@ -71,6 +72,7 @@ $result = odbc_prepare ($conn, $sql); odbc_setoption ($result, 2, 0, 30); odbc_execute ($result); +? ]] /programlisting /example -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/var/functions print-r.xml
didou Wed Jul 16 13:23:51 2003 EDT Modified files: /phpdoc/en/reference/var/functions print-r.xml Log: structure Index: phpdoc/en/reference/var/functions/print-r.xml diff -u phpdoc/en/reference/var/functions/print-r.xml:1.5 phpdoc/en/reference/var/functions/print-r.xml:1.6 --- phpdoc/en/reference/var/functions/print-r.xml:1.5 Sat Apr 12 12:23:14 2003 +++ phpdoc/en/reference/var/functions/print-r.xml Wed Jul 16 13:23:51 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- !-- splitted from ./en/functions/var.xml, last change in rev 1.5 -- refentry id=function.print-r refnamediv @@ -45,11 +45,10 @@ /pre ]] /programlisting - /informalexample -/para -para - Which will output: - screen + para + Which will output: + /para + screen ![CDATA[ pre Array @@ -65,7 +64,8 @@ ) /pre ]] - /screen + /screen + /informalexample /para para If you would like to capture the output of functionprint_r/function, @@ -104,8 +104,9 @@ /simpara /note simpara - See also functionob_start/function, functionvar_dump/function, - and functionvar_export/function. + See also functionob_start/function, + functionvar_dump/function and + functionvar_export/function. /simpara /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/wddx reference.xml
didou Wed Jul 16 13:24:12 2003 EDT Modified files: /phpdoc/en/reference/wddx reference.xml Log: structure Index: phpdoc/en/reference/wddx/reference.xml diff -u phpdoc/en/reference/wddx/reference.xml:1.7 phpdoc/en/reference/wddx/reference.xml:1.8 --- phpdoc/en/reference/wddx/reference.xml:1.7 Fri May 23 13:47:24 2003 +++ phpdoc/en/reference/wddx/reference.xml Wed Jul 16 13:24:12 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- reference id=ref.wddx titleWDDX Functions/title titleabbrevWDDX/titleabbrev @@ -60,14 +60,12 @@ para This example will produce: /para - informalexample - programlisting role=php + screen ![CDATA[ wddxPacket version='1.0'header comment='PHP packet'/data stringPHP to WDDX packet example/string/data/wddxPacket ]] - /programlisting - /informalexample + /screen /example example @@ -91,16 +89,14 @@ para This example will produce: /para - informalexample - screen + screen ![CDATA[ wddxPacket version='1.0'header comment='PHP'/datastruct var name='pi'number3.1415926/number/varvar name='cities' array length='3'stringAustin/stringstringNovato/string stringSeattle/string/array/var/struct/data/wddxPacket ]] - /screen - /informalexample + /screen /example note -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml
didou Wed Jul 16 13:24:47 2003 EDT Modified files: /phpdoc/en/reference/xml/functions xml-parse-into-struct.xml Log: structure Index: phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml diff -u phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.5 --- phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 Fri Jan 3 15:53:01 2003 +++ phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml Wed Jul 16 13:24:47 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/xml.xml, last change in rev 1.11 -- refentry id=function.xml-parse-into-struct refnamediv @@ -31,6 +31,7 @@ informalexample programlisting role=php ![CDATA[ +?php $simple = paranotesimple note/note/para; $p = xml_parser_create(); xml_parse_into_struct($p,$simple,$vals,$index); @@ -39,11 +40,12 @@ print_r($index); echo \nVals array\n; print_r($vals); +? ]] /programlisting - /informalexample - When we run that code, the output will be: - informalexample + para + When we run that code, the output will be: + /para screen ![CDATA[ Index array -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/zlib/functions gzopen.xml gzread.xml
didou Wed Jul 16 13:25:02 2003 EDT Modified files: /phpdoc/en/reference/zlib/functions gzopen.xml gzread.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/zlib/functions/gzopen.xml diff -u phpdoc/en/reference/zlib/functions/gzopen.xml:1.3 phpdoc/en/reference/zlib/functions/gzopen.xml:1.4 --- phpdoc/en/reference/zlib/functions/gzopen.xml:1.3 Sun Aug 25 12:51:47 2002 +++ phpdoc/en/reference/zlib/functions/gzopen.xml Wed Jul 16 13:25:02 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/zlib.xml, last change in rev 1.2 -- refentry id=function.gzopen refnamediv @@ -46,7 +46,9 @@ titlefunctiongzopen/function Example/title programlisting role=php ![CDATA[ +?php $fp = gzopen (/tmp/file.gz, r); +? ]] /programlisting /example Index: phpdoc/en/reference/zlib/functions/gzread.xml diff -u phpdoc/en/reference/zlib/functions/gzread.xml:1.3 phpdoc/en/reference/zlib/functions/gzread.xml:1.4 --- phpdoc/en/reference/zlib/functions/gzread.xml:1.3 Sun Aug 25 12:52:39 2002 +++ phpdoc/en/reference/zlib/functions/gzread.xml Wed Jul 16 13:25:02 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/zlib.xml, last change in rev 1.2 -- refentry id=function.gzread refnamediv @@ -21,17 +21,20 @@ or EOF is reached, whichever comes first. /simpara para -informalexample + example + titlefunctiongzread/function example/title programlisting role=php ![CDATA[ +?php // get contents of a gz-file into a string $filename = /usr/local/something.txt.gz; $zd = gzopen ($filename, r); $contents = gzread ($zd, 1); gzclose ($zd); +? ]] /programlisting - /informalexample + /example /para simpara See also functiongzwrite/function, functiongzopen/function, -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
Patch applied, sorry for the spam :) Mehdi Hi all, http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/misc/functions unpack.xml
didou Wed Jul 16 13:36:24 2003 EDT Modified files: /phpdoc/en/reference/misc/functions unpack.xml Log: adding PHP tags in the examples, last one for today I promise Index: phpdoc/en/reference/misc/functions/unpack.xml diff -u phpdoc/en/reference/misc/functions/unpack.xml:1.3 phpdoc/en/reference/misc/functions/unpack.xml:1.4 --- phpdoc/en/reference/misc/functions/unpack.xml:1.3 Sat Jun 21 06:28:05 2003 +++ phpdoc/en/reference/misc/functions/unpack.xml Wed Jul 16 13:36:24 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/misc.xml, last change in rev 1.22 -- refentry id=function.unpack refnamediv @@ -27,7 +27,9 @@ titlefunctionunpack/function example/title programlisting role=php ![CDATA[ +?php $array = unpack(c2chars/nint, $binarydata); +? ]] /programlisting para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/appendices history.xml
betzWed Jul 16 14:30:50 2003 EDT Modified files: /phpdoc/en/appendices history.xml Log: grammar fix Index: phpdoc/en/appendices/history.xml diff -u phpdoc/en/appendices/history.xml:1.20 phpdoc/en/appendices/history.xml:1.21 --- phpdoc/en/appendices/history.xml:1.20 Mon Jul 14 05:10:16 2003 +++ phpdoc/en/appendices/history.xmlWed Jul 16 14:30:49 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.20 $ -- +!-- $Revision: 1.21 $ -- appendix id=history titleHistory of PHP and related projects/title @@ -145,9 +145,9 @@ sect2 id=history.php5 titlePHP 5/title para -The future of PHP is mainly driven by it's core, the Zend Engine. +The future of PHP is mainly driven by its core, the Zend Engine. PHP 5 will include the new Zend Engine 2.0. To get more information -on this engine, ulink url=url.zend.future;see it's webpage/ulink. +on this engine, ulink url=url.zend.future;see its webpage/ulink. /para /sect2 /sect1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] design of source code
I have a similar question: Where can I find info about the the proper documentation (comment) style for php/Zend extensions? Is it the same as it is for PEAR (phpdoc style), if so, would I use phpdoc to generate the documentation?? Thanks, Justin Hannus Gabor Hojtsy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone tell me where I can find the documentaion for the design of source code for php? What do you mean by design of source code? Coding conventions? Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi No answers.. As other commits may screw up my work while I'm AFK, I need to make it quickly. I'll go for _one_ commit in 10 minutes if nobody disagree. Do it per directory please. And doing things in a 10 minutes notice isn't really a nice thing to do. I'll do so. For the 10 minutes stuff, it was just to hurry you up.. it works ;) It may work for some, but it's not correct. I was out at the swimming pool for example, so noticing us that you are going to commit something in ten minutes is not fair. BTW what is the reason that this patch is needed in fact? Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
On Wed, 16 Jul 2003, Gabor Hojtsy wrote: http://didou.keliglia.com/didou_patch.txt Here's a patch getting rid of the missing PHP tags in examples (only programlisting role=php is treated there).My question is, should I commit the files directory by directory or should I just cvs ci from en/reference/ ? Mehdi No answers.. As other commits may screw up my work while I'm AFK, I need to make it quickly. I'll go for _one_ commit in 10 minutes if nobody disagree. Do it per directory please. And doing things in a 10 minutes notice isn't really a nice thing to do. I'll do so. For the 10 minutes stuff, it was just to hurry you up.. it works ;) It may work for some, but it's not correct. I was out at the swimming pool for example, so noticing us that you are going to commit something in ten minutes is not fair. BTW what is the reason that this patch is needed in fact? All examples should have PHP tags, for example this makes the livedocs versions have pretty colors. And it's in the coding standards. And fwiw, I see no reason to do this per directory, this could have been one huge commit. Per directory isn't a rule. And one more picky comment, please always show unified diffs :) Regards, Philip -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] Patch
It may work for some, but it's not correct. I was out at the swimming pool for example, so noticing us that you are going to commit something in ten minutes is not fair. BTW what is the reason that this patch is needed in fact? All examples should have PHP tags, for example this makes the livedocs versions have pretty colors. And it's in the coding standards. I know about this problem. All the examples had pretty colors in the extended CHM versions before livedocs came into existance. I have some code for it to detect if an example has no ? in it, and add a preceding and ending delimiter in this case. It worked. The problem with these commits is for translations, it made exta work which makes translators work a little bit harder. I have also seen things like deleted newlines in Mehdi's commits in the name of fixing structures. Also some and words moved from one line to another in see also lists. These are also things which are not structural fixes, but plain WS fixes, of which the only affect is to make translators' life harder. It would be nice to think of translators too, who work with revision numbers and diffs of the files. Goba -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mbstring/functions mb-convert-kana.xml mb-strwidth.xml
damsWed Jul 16 21:13:26 2003 EDT Modified files: /phpdoc/en/reference/mbstring/functions mb-convert-kana.xml mb-strwidth.xml Log: adding beautiful tables Index: phpdoc/en/reference/mbstring/functions/mb-convert-kana.xml diff -u phpdoc/en/reference/mbstring/functions/mb-convert-kana.xml:1.4 phpdoc/en/reference/mbstring/functions/mb-convert-kana.xml:1.5 --- phpdoc/en/reference/mbstring/functions/mb-convert-kana.xml:1.4 Wed Jul 16 13:16:02 2003 +++ phpdoc/en/reference/mbstring/functions/mb-convert-kana.xml Wed Jul 16 21:13:25 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/mbstring.xml, last change in rev 1.1 -- refentry id=function.mb-convert-kana refnamediv @@ -31,33 +31,114 @@ omitted, internal character encoding is used. /para para - informalexample - programlisting -![CDATA[ - Applicable Conversion Options - - option : Specify with conversion of following options. Default KV - r : Convert zen-kaku alphabets to han-kaku - R : Convert han-kaku alphabets to zen-kaku - n : Convert zen-kaku numbers to han-kaku - N : Convert han-kaku numbers to zen-kaku - a : Convert zen-kaku alphabets and numbers to han-kaku - A : Convert han-kaku alphabets and numbers to zen-kaku - (Characters included in a, A options are - U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E) - s : Convert zen-kaku space to han-kaku (U+3000 - U+0020) - S : Convert han-kaku space to zen-kaku (U+0020 - U+3000) - k : Convert zen-kaku kata-kana to han-kaku kata-kana - K : Convert han-kaku kata-kana to zen-kaku kata-kana - h : Convert zen-kaku hira-gana to han-kaku kata-kana - H : Convert han-kaku kata-kana to zen-kaku hira-gana - c : Convert zen-kaku kata-kana to zen-kaku hira-gana - C : Convert zen-kaku hira-gana to zen-kaku kata-kana - V : Collapse voiced sound notation and convert them into a character. Use with K,H -]] - /programlisting - /informalexample -/para + Specify with combinaison of following options. Default + value is literalKV/literal. + table + titleApplicable Conversion Options/title + tgroup cols=2 +thead + row + entryOption/entry + entryMeaning/entry + /row +/thead +tbody + row + entryliteralr/literal/entry + entry +Convert zen-kaku alphabets to han-kaku + /entry + /row + row + entryliteralR/literal/entry + entry + Convert han-kaku alphabets to zen-kaku + /entry + /row + row + entryliteraln/literal/entry + entry + Convert zen-kaku numbers to han-kaku + /entry + /row + row + entryliteralN/literal/entry + entry + Convert han-kaku numbers to zen-kaku + /entry + /row + row + entryliterala/literal/entry + entry + Convert zen-kaku alphabets and numbers to han-kaku + /entry + /row + row + entryliteralA/literal/entry + entry + Convert han-kaku alphabets and numbers to zen-kaku + (Characters included in a, A options are + U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E) + /entry + /row + row + entryliterals/literal/entry + entry +Convert zen-kaku space to han-kaku (U+3000 - U+0020) + /entry + /row + row + entryliteralS/literal/entry + entry +Convert han-kaku space to zen-kaku (U+0020 - U+3000) + /entry + /row + row + entryliteralk/literal/entry + entry + Convert zen-kaku kata-kana to han-kaku kata-kana + /entry + /row + row + entryliteralK/literal/entry + entry + Convert han-kaku kata-kana to zen-kaku kata-kana + /entry + /row + row + entryliteralh/literal/entry + entry + Convert zen-kaku hira-gana to han-kaku kata-kana + /entry + /row + row + entryliteralH/literal/entry + entry + Convert han-kaku kata-kana to zen-kaku hira-gana + /entry + /row + row + entryliteralc/literal/entry + entry + Convert zen-kaku kata-kana to zen-kaku hira-gana + /entry + /row + row + entryliteralC/literal/entry + entry + Convert zen-kaku hira-gana to zen-kaku kata-kana + /entry + /row + row + entryliteralV/literal/entry +