[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/dio dio.c

2004-09-02 Thread Dave Barr
Ilia Alshanetsky wrote: iliaa Thu Sep 2 23:35:22 2004 EDT Modified files: /php-src/ext/dio dio.c Log: Adjusted input check. http://cvs.php.net/diff.php/php-src/ext/dio/dio.c?r1=1.36&r2=1.37&ty=u Index: php-src/ext/dio/dio.c diff -u php-src/ext/dio/dio.c:

Re: [PHP-DEV] fputcsv()

2004-09-02 Thread Curt Zirzow
* Thus wrote Marcus Boerger: > Hello David, > > as promised i looked at the patch. Besides a small misstake it looks > good. But it seems to work different then fgetcsv(). In other words if > you write using fputcsv() you are not sure to get the same back with > fgetcsv(). Though my current opin

Re: [PHP-DEV] fputcsv()

2004-09-02 Thread David Sklar
Marcus Boerger wrote: Hello David, i looked up the fputcsv() magic in the file manually and agree that this is fairly correct (as i wrote before). But when i execute the test the second var_export() is supposed to show the input from the .phpt file. Unfortunatley i get a FAIL from run-tests.php: F

[PHP-DEV] PHP 4.3.9RC2 and pdflib

2004-09-02 Thread Jacques Marneweck
Hi, Is there any particular reason why pdflib 6 does not compile with PHP 4.3.9RC2. ext/pdf/pdf.lo: In function `zif_pdf_open': /usr/local/src/php-4.3.9RC2/ext/pdf/pdf.c:472: undefined reference to `PDF_open_fp' *** Error code 1 I would assume that we should ensure that we maintain the extension

Re: [PHP-DEV] [PATCH] #29416 - ob_include

2004-09-02 Thread Stuart Dallas
On Wed, 1 Sep 2004 16:15:59 -0700, Sara Golemon <[EMAIL PROTECTED]> wrote: > > This is my first attempt at submitting a patch so please be gentle :). > > > *sharpens fangs* Oops, asked for that! > > The feature requested in #29416 is something I've wanted to see for a > > while, so I decided to h

Re: [PHP-DEV] fputcsv()

2004-09-02 Thread Marcus Boerger
Hello David, i looked up the fputcsv() magic in the file manually and agree that this is fairly correct (as i wrote before). But when i execute the test the second var_export() is supposed to show the input from the .phpt file. Unfortunatley i get a FAIL from run-tests.php: FAIL various fputcsv(

Re: [PHP-DEV] Directoryiterator / preg_match behavior

2004-09-02 Thread Andrei Zmievski
On Thu, 02 Sep 2004, Curt Zirzow wrote: > Test 1: ($file holds last type conversion) > foreach (new DirectoryIterator('.') as $file) { > echo "\n--\n"; > var_dump($file); > preg_match("/xxx/", $file); > var_dump($file); > echo "\n--"; > } > > Output: > Object(DirectoryIterator

Re: [PHP-DEV] New function request - Variable parsing a string

2004-09-02 Thread Daniel C.
While this would definitely be handy, it seems (to me, and I am not by any means an expert on these things,) that it would make more sense to add this to a string-munging library instead of integrating it into the PHP language itself. Dan On Wed, 1 Sep 2004 08:22:14 -0700, Sara Golemon <[EMAIL PRO

Re: [PHP-DEV] fputcsv()

2004-09-02 Thread David Sklar
Marcus Boerger wrote: Hello David, as promised i looked at the patch. Besides a small misstake it looks good. But it seems to work different then fgetcsv(). In other words if you write using fputcsv() you are not sure to get the same back with fgetcsv(). Though my current opinion is that fputcsv(

Re: [PHP-DEV] New function request - Variable parsing a string

2004-09-02 Thread Antony Dovgal
On Wed, 1 Sep 2004 08:22:14 -0700 "Sara Golemon" <[EMAIL PROTECTED]> wrote: > > Just use double quotes, no need for a function: > > > > $string = "* {$abc} * {$klm['klm']} * {$xyz->xyz} *"; > > echo $string; > > > He wants to store an UNinterpolated string somewhere (like a DB or > text file),

Re: [PHP-DEV] PHP 4.3.9RC2 Released

2004-09-02 Thread Phil Driscoll
On Thursday 02 September 2004 10:10, Phil Driscoll wrote: > I've just installed RC2 on a SuSE 9.1 box and saving SQL dumps from > phpMyAdmin seems to have broken. I'll investigate further and get back with > more info as soon as I can. Forget it - I reverted to 4.3.8 and it's still broken - someth

Re: [PHP-DEV] New function request - Variable parsing a string

2004-09-02 Thread Herbert Groot Jebbink
Sara Golemon wrote: >> $string = "* {$abc} * {$klm['klm']} * {$xyz->xyz} *"; >> echo $string; >> > He wants to store an UNinterpolated string somewhere (like a DB or text > file), then interpolate it at run-time. indeed, and it's usage is in a driver that calls include files for the business

Re: [PHP-DEV] PHP 4.3.9RC2 Released

2004-09-02 Thread Phil Driscoll
On Tuesday 31 August 2004 15:43, Ilia Alshanetsky wrote: > The final release candidate of PHP 4.3.9 is now available for testing. Hf > no new problems are uncovered, this release will be re-released as 4.3.9 at > the end of the week. I've just installed RC2 on a SuSE 9.1 box and saving SQL dumps f