Re: [PHP-DEV] php_gettext.dll

2003-03-11 Thread Edin Kadribasic
On Tuesday, Mar 11, 2003, at 03:35 Europe/Copenhagen, Nathan Fredrickson wrote: Hi, Is the CVS source out of date for gettext extension? The distributed php_gettext.dll dynamically loads libintl-1.dll. The php_gettext.dll I built from the CVS source is linked to gnu_gettext.lib. How can I

[PHP-DEV] Re: php4 /ext/fam fam.c /ext/fbsql php_fbsql.c /ext/hwapi hwapi.cpp /ext/hyperwave hw.c /ext/informix ifx.ec /ext/ingres_ii ii.c /ext/interbase interbase.c /ext/ircg ircg.c /ext/ldap ldap.c /ext/mbstring mbstring.c /ext/mssql php_mssql.c /ext/my

2003-03-11 Thread moshe doron
Renamed OnUpdateInt - OnUpdateLong to prevent further misunderstandings. # Intentionally left out any 'alias' for it, this way 3rd party extension # maintainers will really NOTICE the change. wl, right now the default php4 tree is broken for cygwin, is this what did u expected to gain?

[PHP-DEV] Some help with RegExp, please

2003-03-11 Thread fLIPIS
Hi all. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying to do the folowing: Read a text and get all of the PHP code out of it, highlight it and then print all in nice HTML. I'm using this to get the PHP code: ereg(\?.*\?,$Text,$PHP_code); It

Re: [PHP-DEV] Some help with RegExp, please

2003-03-11 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Tue, 11 Mar 2003, fLIPIS wrote: Hi all. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying

Re: [PHP-DEV] Re: Opening files for write from php modules

2003-03-11 Thread Wez Furlong
Even so, its a very good idea to use streams for this; you will automatically make your extension safe_mode and open_basedir aware, virtual cwd aware and be able to avoid crippling limitations of certain OS (eg: Solaris can only fopen 256 files). These things are particularly important in a web

[PHP-DEV] Help with ereg()

2003-03-11 Thread fLIPIS
Hi all. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying to do the folowing: Read a text and get all of the PHP code out of it, highlight it and then print all in nice HTML. I'm using this to get the PHP code: ereg(\?.*\?,$Text,$PHP_code); It

Re: [PHP-DEV] Help with ereg()

2003-03-11 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Tue, 11 Mar 2003, fLIPIS wrote: Hi all. I'm trying to deal with Regular Expressions, but somehow it is getting more difficult. I´m trying

[PHP-DEV] New constants proposal

2003-03-11 Thread l0t3k
i suggest that we implement the constants NaN, as well as INFINITY (pos and neg if the RTL supports it). i have need of them in an extension, but they should be implemented in core or ext/standard. l0t3k -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] Segfault

2003-03-11 Thread Andrei Zmievski
With the latest ZE2: ?php class Bar { function boo() { ::zoo(); } } Bar::boo(); ? -Andrei http://www.gravitonic.com/ The day Microsoft makes something that doesn't suck, is probably the day Microsoft starts making vacuum cleaners.

Re: [PHP-DEV] Re: php4 /ext/fam fam.c /ext/fbsql php_fbsql.c /ext/hwapi hwapi.cpp /ext/hyperwave hw.c /ext/informix ifx.ec /ext/ingres_iiii.c /ext/interbase interbase.c /ext/ircg ircg.c /ext/ldap

2003-03-11 Thread Jani Taskinen
Your cvs checkout is broken: # cvs -d :pserver:[EMAIL PROTECTED]:/repository co php5 And it works fine. --Jani On Tue, 11 Mar 2003, moshe doron wrote: Renamed OnUpdateInt - OnUpdateLong to prevent further misunderstandings. # Intentionally left out

[PHP-DEV] Re: Fix for bug #22386

2003-03-11 Thread J Smith
Er, wrong patch. Proper one is attached. J I wrote: The browscap extension is trying to load stuff into the object_store before it gets initialized, so this'll fix it. Entries from the browscap.ini file are now stored in straight hashes rather than objects, but the return value is still

Re: [PHP-DEV] [PATCH] OCI8 link failure (Tru64/AIX) (#22324)

2003-03-11 Thread Michael Mauch
Jani Taskinen [EMAIL PROTECTED] wrote: I still don't think we should be linking with libocijdbc8 in any case. Can you ask some Oracle support why their libs differ with same version but in different OSes?? I can try to do so [1], although I don't see what that will buy us. From

[PHP-DEV] Segfault with latest CVS

2003-03-11 Thread Martin Jansen
Hi, the following script makes this morning's CVS segfault: ?php require_once DB.php; ? DB.php is from the latest release of PEAR::DB. I can not provide a backtrace at the moment, but if you need one, just drop a mail. -- - Martin Martin Jansen

Re: [PHP-DEV] [patch] solaris getcwd() brokeness

2003-03-11 Thread Andi Gutmans
I think the patch is OK. I'm not extremely happy with it because I don't think it's very beautiful but I didn't have time to think of a better way of fixing it. I think he can go ahead and commit it but I'd like there to be comments in the source code to explain why those checks on

Re: [PHP-DEV] Segfault with latest CVS

2003-03-11 Thread Sebastian Bergmann
Martin Jansen wrote: ?php require_once DB.php; ? Most likely this will be caused by 856 $this-$key = $arr[$key]; as variable member access causes a segfault in the compiler. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I

[PHP-DEV] Flex check in configure

2003-03-11 Thread Dave Hill
Hi again, I am looking at the flex check in configure.in again. If flex is not present, or is not version 2.5.4 then you may get your environment dumped to stdout while running configure. This is due to the set command being run with no arguments. Although non-fatal - it certainly is

Re: [PHP-DEV] Segfault

2003-03-11 Thread Zeev Suraski
Fixed! Thanks, Zeev At 18:17 11/03/2003, Andrei Zmievski wrote: With the latest ZE2: ?php class Bar { function boo() { ::zoo(); } } Bar::boo(); ? -Andrei http://www.gravitonic.com/ The day Microsoft makes something that doesn't suck,

Re: [PHP-DEV] iterating objects with interfaces

2003-03-11 Thread Marcus Börger
At 19:05 10.03.2003, Marcus Börger wrote: Standard PHP Library Updated version allows: class obj_array implements spl::array_read { bla ... } $obj = new obj_array(); $value = $obj[$index]; marcus -- -- Marcus Börger -

Re: [PHP-DEV] iterating objects with interfaces

2003-03-11 Thread Stephen Thorne
All this is starting to feel strangely pythonic. How soon till ('pre'.($_GET['textArea']-strip_tags()).'/pre')-print(); ? Stephen. On Wed, 12 Mar 2003 10:24, Marcus Börger wrote: At 19:05 10.03.2003, Marcus Börger wrote: Standard PHP Library Updated version allows: class obj_array

Re: [PHP-DEV] iterating objects with interfaces

2003-03-11 Thread Marcus Börger
At 01:48 12.03.2003, Stephen Thorne wrote: All this is starting to feel strangely pythonic. How soon till ('pre'.($_GET['textArea']-strip_tags()).'/pre')-print(); ? Very far of because i am working with objects and interfaces and have no plan for other types as arrays and longs marcus --

[PHP-DEV] Segmentation violation

2003-03-11 Thread Matt
Hi, i've never posted to this newsgroup b4 so pls don't shoot me down if this is not protocol. But I've been trying to debug a seg fault trying varying options from various postings with little success. After generating a stacktrace I'm not sure really what to do next to find the problem. If

Re: [PHP-DEV] php_gettext.dll

2003-03-11 Thread Nathan Fredrickson
Edin Kadribasic [EMAIL PROTECTED] wrote: On Tuesday, Mar 11, 2003, at 03:35 Europe/Copenhagen, Nathan Fredrickson wrote: Hi, Is the CVS source out of date for gettext extension? The distributed php_gettext.dll dynamically loads libintl-1.dll. The php_gettext.dll I built from the CVS

[PHP-DEV] PHP Startup Error In Apache

2003-03-11 Thread Ray Hunter
Has anyone seen these startup errors before? These are from my apache error_log file when i start up apache: PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php-4.3.0/lib/php/extensions/no-debug-non-zts-20020429/xslt.so' -

Re: [PHP-DEV] Segfault with latest CVS

2003-03-11 Thread Martin Jansen
On Tue Mar 11, 2003 at 10:5232PM +0100, Sebastian Bergmann wrote: Martin Jansen wrote: ?php require_once DB.php; ? Most likely this will be caused by 856 $this-$key = $arr[$key]; as variable member access causes a segfault in the compiler. Will this be fixed or has there been

Re: [PHP-DEV] [PATCH] OCI8 link failure (Tru64/AIX) (#22324)

2003-03-11 Thread Thies C. Arntzen
I still think that the best solution would be to check if linking with -lcntsh alone is enough to get OCILobIsTemporary, and if not, check if it works with -locijdbc8. i think that makes sense. re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Segfault with latest CVS

2003-03-11 Thread Derick Rethans
On Wed, 12 Mar 2003, Martin Jansen wrote: On Tue Mar 11, 2003 at 10:5232PM +0100, Sebastian Bergmann wrote: Martin Jansen wrote: ?php require_once DB.php; ? Most likely this will be caused by 856 $this-$key = $arr[$key]; as variable member access causes a segfault in