Re: [PHP-DEV] prior to next release...

2005-02-25 Thread Nuno Lopes
The same applies to sqlite 3 used in PDO. Nuno - Original Message - Prior to the upcoming release, if not already done, the embedded sqlite 2.8.15 should be upgraded to 2.8.16. The new version fixes a database corruption problem which can occur when VACUUM is used. IIRC, all of the prev

Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Brad House
it's not defined in php4, only in php5 (you have to manually define it in php4 like this: static unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; ) in php5 it's defined in zend_modules.h As far as usage, you pretty much define it as by reference, and just set the variable as

[PHP-DEV] Re: java extention windows version for php5

2005-02-25 Thread Alawi Albaity
that extension is not working with php 5.0.3 correctly untill now I am in contact with its developer , please do you now any another solution On Fri, 25 Feb 2005 21:08:52 +0100, Marek Lewczuk <[EMAIL PROTECTED]> wrote: > Alawi Albaity napisaÅ(a): > > - How can I port the old java extention to wor

[PHP-DEV] prior to next release...

2005-02-25 Thread Derrell . Lipman
Prior to the upcoming release, if not already done, the embedded sqlite 2.8.15 should be upgraded to 2.8.16. The new version fixes a database corruption problem which can occur when VACUUM is used. IIRC, all of the previous changes to sqlite that were discovered by the PHP team (mostly pertaining

Re: [PHP-DEV] Patch to TSRM to configure properly in cross compilation environment.(Especially NetWare)

2005-02-25 Thread Kamesh Jayachandran
Thanks Jani. With regards Kamesh Jayachandran On Thu, 24 Feb 2005 21:30:03 +0200 (EET), "Jani Taskinen" <[EMAIL PROTECTED]> said: > On Thu, 24 Feb 2005, Kamesh Jayachandran wrote: > > > Hi Jani, > > PTHREADS_CHECK_COMPILE macro fails with pthreads_working=no for cross > > compilation environment.

[PHP-DEV] zend 2.1 function export request

2005-02-25 Thread val khokhlov
Hello, Zend developers: can you, please, consider exporting void zend_vm_set_opcode_handler(zend_op* op) i can't help using it to restore opcode handler ptrs after loading a pre-compiled opcodes array -- Best regards, val mailto:[EMAIL PROTECTED] -- PHP

Re: [PHP-DEV] function proposal - php_check_syntax_string

2005-02-25 Thread Frédéric LECOINTRE
Hello, After tests, I did'nt note more unfavourable issues than php_check_syntax so can this function be added, by noting that it have the same limitations? regards fred - Original Message - From: "Frédéric LECOINTRE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Marcus Boerger" <[EMAIL

[PHP-DEV] Re: [PHP] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Richard Lynch
Chris Cranford wrote: > I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to > pass variables by reference to my function without enabling call-time pass > by reference in the PHP.INI file? I think the definition in the C syntax of PHP_FUNCTION will do that for you. You'll pr

Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread chris . cranford
On 2/25/2005 2:28 PM, [EMAIL PROTECTED] wrote to CHRIS CRANFORD: Where si the second_arg_force_ref argument defined? I tried to define an argument block but I kept getting compiler issues. An example would be nice. I followed what I saw on zend.com but no cigar. Chris -> look at -> http://cvs

Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Brad House
look at http://cvs.php.net/co.php/php-src/ext/mcve/mcve.c?r=1.28.2.2 the m_completeauthorizations function. -Brad Chris Cranford wrote: I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to pass variables by reference to my function without enabling call-time pass by reference

Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Marcus Boerger
Hello Chris, you need to define that signature of your functions by supplying ZEND_ARG_INFO's to them. look at ZEND_API.h file for those macros. marcus Friday, February 25, 2005, 2:22:39 AM, you wrote: > I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to > pass variable

Re: [PHP-DEV] PHP 5.0.4

2005-02-25 Thread Andi Gutmans
Hi Adam, Yes we are slightly delayed as there are still some issues we are discussing. It'll probably be within a week. Andi At 07:35 PM 2/25/2005 +0100, Adam =?iso-8859-2?Q?Go=B3=EAbiowski?= wrote: On Thu, Feb 17, 2005 at 10:05:07AM -0800, Andi Gutmans wrote: > Can I roll 5.0.4 next week? Lots o

[PHP-DEV] Re: java extention windows version for php5

2005-02-25 Thread Marek Lewczuk
Alawi Albaity napisaÅ(a): - How can I port the old java extention to work with the php5 - Or How can I create java.dll for php5 for windows from this source http://php-java-bridge.sourceforge.net See http://php-java-bridge.sf.net/php-java-bridge-2.0.0_win32.zip Read php/java bridge forums for de

[PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Chris Cranford
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to pass variables by reference to my function without enabling call-time pass by reference in the PHP.INI file? Thanks -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP-DEV] [PATCH] ext/xml/compat.c fix for #32001

2005-02-25 Thread Rob Richards
What about this patch? Really hacky as the charset is checked before the inital parse and it basically duplicates the libxml code with the correct fix, but seems to work ok. Havent tried it with any large datasets yet which require multiple parse calls, but it should work. Rob Joe Orton wrote:

Re: [PHP-DEV] PDO questions

2005-02-25 Thread Wez Furlong
On Thu, 24 Feb 2005 11:47:24 +0100, Ard Biesheuvel <[EMAIL PROTECTED]> wrote: > Some questions that came to mind while working on PDO/Firebird: > > - why can't stmt_get_col() return a zval directly? > - why is there no PDO_PARAM_DOUBLE? Because PDO doesn't believe in doubles. The decimal data co

Re: [PHP-DEV] Patch to TSRM to configure properly in cross compilation environment.(Especially NetWare)

2005-02-25 Thread Jani Taskinen
On Thu, 24 Feb 2005, Kamesh Jayachandran wrote: Hi Jani, PTHREADS_CHECK_COMPILE macro fails with pthreads_working=no for cross compilation environment. As I am aware NetWare has proper support for PTHREADS this patch sets pthreads_working=yes for NetWare alone. Find the patch at http://puggy.symond

Re: [PHP-DEV] patch for cross compilation to Netware

2005-02-25 Thread Jani Taskinen
Committed. Just wondering why you didn't just apply the objects in the global objects..but I guess you only build the php binary under netware? --Jani On Wed, 23 Feb 2005, Kamesh Jayachandran wrote: Hi, Thanks for committing the earlier patch. win32/sendmail.c needs to be compiled f

Re: [PHP-DEV] error in compile php5 in vs.net

2005-02-25 Thread M. Sokolewicz
I've stumbled unto the same problem a week ago aswell. Indeed, using --without-iconv works; however, those errors are partially because of some incompatibility with the iconv library (according to Wez, some long time ago). I'll try and rebuild it with an earlier version to see if it works, beca