[PHP-DEV] using PEAR and safe_mode at the same time (long)

2001-01-27 Thread Balazs Nagy
Hi, I work for a web hosting / ASP / linux company, and my last problem is using a standard library (which can be accessed by any php users, like PEAR), and keeping the secret of other directories. Solution for the first problem is 'include_path = ".:/path/to/shared/libs",' and for the second

Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Balazs Nagy
On Tue, Nov 13 2001, Zeev Suraski [EMAIL PROTECTED] wrote: http://www.php.net/~zeev/php-4.1.0RC2.tar.gz Do your thang :) make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl' gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl -I/home/js/dl/linux/web/php-4.1.0RC2/main

Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Balazs Nagy
On Tue, Nov 13 2001, Zeev Suraski [EMAIL PROTECTED] wrote: Either that or we can simply check if this #define exists... What do you think? Checking for a version and for a #define is the same, but version checking is more subtle and can be hidden than another check for the #define's

Re: [PHP-DEV] 4.1.0RC2

2001-11-17 Thread Balazs Nagy
On Tue, Nov 13 2001, Derick Rethans [EMAIL PROTECTED] wrote: Forgot to attached it... I have downloaded the latest php4 from PHP_4_0_7 branch, and still I can't complile, but I found some patches against the HEAD branch which should applied to PHP_4_0_7 too:

Re: [PHP-DEV] 4.1.0RC2

2001-11-18 Thread Balazs Nagy
On Sun, Nov 18 2001, Derick Rethans [EMAIL PROTECTED] wrote: I merged those patches. Can you try the latest CVS version? Works well. BTW is this a feature? ?php $a = array('a'='A', 'b'='B'); $b = array('a' = 'newA'); $c = $a + $b; $d = array_merge($a, $b); var_dump($c); var_dump($d); ?

Re: [PHP-DEV] buildconf

2001-11-20 Thread Balazs Nagy
On Mon, Nov 19 2001, Serg Musichenko [EMAIL PROTECTED] wrote: I reinstall aunoconf 2.13 only and buildconf work Ok Autoconf 2.52d not produce configure from configure.in [EMAIL PROTECTED] wrote: I suggest you use automake 1.4 and libtool 1.4 (not newer versions). (I think automake

Re: [PHP-DEV] buildconf produce invalid configure fail

2001-11-27 Thread Balazs Nagy
Serg Musichenko wrote: Platforma: Autoconf 2.52 Automake 1.5 Libtool 1.4.2 OS RH 7.2 Automake 1.5 is bogus. Use automake-1.4. RH7.2's automake is fine. Autoconf 2.52 has some incompatibilities in macros. Autoconf 2.13 works fine, but maybe 2.52 works too. -- jul -- PHP Development

Re: [PHP-DEV] if (empty(trim('x'))) == parse error?

2001-11-28 Thread Balazs Nagy
Andrey Hristov wrote: From the docs for empty(): Note that this is meaningless when used on anything which isn't a variable; i.e. empty (addslashes ($name)) has no meaning since it would be checking whether something which isn't a variable is a variable with a FALSE value. Maybe I am not so

Re: [PHP-DEV] PHP 4.2.0 RC4

2002-04-15 Thread Balazs Nagy
I made a very clean startup with apache2 and php4.2.0RC4, and I set extension_dir to a false './'. I got a very big segfault. Everything else is cool. -- jul signature.asc Description: This is a digitally signed message part

Re: [PHP-DEV] PHP 4.2.0 RC4

2002-04-16 Thread Balazs Nagy
On Mon, 2002-04-15 at 19:04, [EMAIL PROTECTED] wrote: can you make a backtrace of this? Excusez moi, I had a hard time in the last DD3 session when I wrote this. Here's the dump: #0 0x00440397 in php_apache_sapi_log_message ( msg=0xbfffef80 PHP Warning: Unable to load dynamic library

[PHP-DEV] Is dbug broken in 4.2.0RC4?

2002-04-18 Thread Balazs Nagy
Hi, I bumped to another segfault: #0 _db_return_ (_line_=1633, _sfunc_=0x1b4c1d8, _sfile_=0x1b4c1dc, _slevel_=0x1b4c1e0) at dbug.c:827 #1 0x006df19b in mysql_select_db (mysql=0x84454c8, db=0x87c52d8 tft) at libmysql.c:1633 #2 0x006d9a4e in zif_mysql_select_db (ht=2,

[PHP-DEV] bug of the day: $this

2002-12-03 Thread Balazs Nagy
Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Here's the tester: ?php class a { function test() { var_dump($this); } function objtest($obj) { $obj-test(); } function btest() { b::test(); } } class b {

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-03 Thread Balazs Nagy
On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote: Balazs Nagy wrote: Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Correct. I actually find it quite interesting. :) It can be useful at times, I have used it in my

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-07 Thread Balazs Nagy
On Fri, 2002-12-06 at 22:11, Stig S. Bakken wrote: It won't be different in ZE2. This is not a bug though, but a tricky design issue. The problem is figuring out at runtime when to set $this or not in a method. What most people would probably find intuitive, is that $this was set only in