Re: [PHP-DEV] Req #51295: busyTimeout method for SQLite3

2010-03-14 Thread Mark Karpeles
in > ext/pdo_sqlite/sqlite_driver.c. > I think it is a good idea to extend it but also, that if you do, it > should probably also be done for PDO_SQLITE as it may be useful there as > well. > > May the source be with you, > Best regards, > Jess Portnoy > > >

[PHP-DEV] Req #51295: busyTimeout method for SQLite3

2010-03-13 Thread Mark Karpeles
Hello, I've been encountering a problem with SELECT queries and SQLite3 as load was growing on my system. From times to times I was getting this error: Warning: SQLite3Stmt::execute(): Unable to execute statement: database is locked After searching on google I saw I should call sqlite3_busy_time

[PHP-DEV] PATCH: Bug #51056 fread() on blocking stream will block even if data is available

2010-02-17 Thread Mark Karpeles
Hi, Got some troubles since a long time ago with fread() on blocking streams, and found a bug with fread() when reading a blocking stream with a buffer too small to contain all the received data. http://bugs.php.net/bug.php?id=51056 I've made a patch on PHP_5_3, and wish to hear about it (and if

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Do you need different OS/platform to test on? Let "me" know

2009-06-26 Thread Mark Karpeles
at will initialize a slave directly, saving the time required to install this on xxx comptuers. Best regards, Mark Karpeles > Scott > > -- > > Sorry for the 2nd email Hannes, forgot reply all. > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP 5.3.0RC3 - changes to isset (Greg)

2009-06-13 Thread Mark Karpeles
n't makes much sense. While I'm pretty sure it has nothing to do with isset() I decided to put that in the subject line to make sure I get attention from the right persons. Anyway I guess we should fix this NEWS entry and... I'm curious about what this was supposed to be. Best regards

Re: [PHP-DEV] FD_SETSIZE limitation

2009-02-19 Thread Mark Karpeles
Hi, That's the reason why I started writing an ext for PHP that would implement epoll() on linux, and stuff-with-ws2 on Win32. However I don't mind making this a patch to the stream ext. Basically I get the following functions: consts: STREAM_POLL_IN (read) STREAM_POLL_OUT (write) STREAM_POLL_

Re: [PHP-DEV] json_encode()

2008-12-15 Thread Mark Karpeles
Hi, I believe part of the job should be the programmer's job too. json_encode() is way too useful to pass things to javascript (the other way around is not that easy, but I have a function called "JSparse" which work nicely with .toSource() output, and an implementation of .toSource() for MSIE, I

Re: [PHP-DEV] Removing basic types from our JSON parser

2008-12-12 Thread Mark Karpeles
Le samedi 13 décembre 2008 à 03:50 +, Scott MacVicar a écrit : > Hi All, > > Basic types were added to our JSON decoder to PHP 5.2.1, this allows > one to use json_encode / json_decode on any of our scalar types. Omar > correctly identified #38680 as not a bug but it appears that Ilia >

[PHP-DEV] [PATCH] ext/curl: fix for bug #46711

2008-11-29 Thread Mark Karpeles
ch proposed to bug #46711 commited (with its test). Best regards, Mark Karpeles -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: magicaltux

2008-11-16 Thread Mark Karpeles
As most my [PATCH] mails sent to the internals mailing list were ignored (as of today, at least), I'm requesting an access to the PHP CVS, fully aware of what this means. My contributions (ordered by priority) would include: - The WDDX extension (http://bugs.php.net/46496) - The OpenSSL extensio