[PHP-DEV] print_r smater than var_dump

2002-03-13 Thread Andrey Hristov
behaviour? Isn't it better var_dump() to detect recursion like print_r() does? Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ZLib (double free) bug

2002-03-12 Thread Andrey Hristov
What about implementing in build process check for the version of the zlib library. If =1.1.3 to give error message that =1.1.4 is needed. 1.1.4 is at : ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-1.1.4.tar.gz Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] ZLib (double free) bug

2002-03-12 Thread Andrey Hristov
Yeap. :(( the RH RPM is 1.1.3-25.7 ftp://updates.redhat.com/7.2/en/os/i386/zlib-1.1.3 -25.7.i386.rpm Andrey - Original Message - From: Stefan Roehrich [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 11:46 AM Subject: Re: [PHP

Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Andrey Hristov
As far as I see FREE_ZVAL is ZEND_FAST_FREE and the latter is not freeing memory just removes the zval from a list. So it is required to release the memory before that. Fix me if I'm wrong. Regards, Andrey - Original Message - From: Klaus Reimer [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Andrey Hristov
(fast_cache_list_head)[fc_type] = (zend_fast_cache_list_entry *) (p); \ } and #define ZEND_FAST_FREE(p, fc_type) \ efree(p) Depends on that is ZEND_ENABLE_FAST_CACHE is on. The first one is not freeing any memory the second one is. Regards, Andrey - Original Message - From: Klaus Reimer

[PHP-DEV] fopen with https support ?

2002-03-08 Thread Andrey Hristov
-PHP crashes - no function fsockopen_ssl(). After googling I found the post I put above. Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ||=

2002-03-08 Thread Andrey Hristov
main(void){ int a,b=5,c=2; a=bc; printf(%d,a); } Prints : 1 If b==0 - prints 0. So I think that it is better expected to return boolean value instead of non-bool value. Andrey -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

[PHP-DEV] Re: Bug #13094 Updated: Upload very slow

2002-03-07 Thread Andrey Hristov
AFAIK 4.2.0. is scheluded for May. Andrey On Thursday 07 March 2002 08:11 pm, you wrote: ID: 13094 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Performance problem Operating System: Windows 2000

[PHP-DEV] ||=

2002-03-07 Thread Andrey Hristov
Hi, I found that $some ||= true_or_false(); is not a valid construction but $some |= true_or_false(); is valid one. AFAIK | is arithmetic but || is logical. So what devs community thinks about ||= (and possibly =). Best regards, Andrey Hristov -- PHP Development Mailing List http

[PHP-DEV] Re: Bug #15937: Call-time pass-by-reference has been deprecated

2002-03-07 Thread Andrey Hristov
You probably do: $some_len = strlen($some_str); you do not need to use . Probably $some_str is passed by reference without . Best regards, Andrey Hristov On Thursday 07 March 2002 08:22 pm, you wrote: From: [EMAIL PROTECTED] Operating system: SuSE Linux 6.0 PHP version

[PHP-DEV] Re: Bug #15810: superglobals does not work with dynamic vars in functions

2002-03-01 Thread Andrey Hristov
Hmmm, I saw that before when I tried to write code which is compatible with all versions of PHP. Something like pre ?php if ((str_replace('.','',phpversion())410)){ define(__GET,HTTP_GET_VARS); }else{ define(__GET,_GET); } echo phpversion().\n; var_dump(${__GET}['some']); function a(){

Re: [PHP-DEV] FW: [PHP-QA] New Windows Binaries

2002-03-01 Thread Andrey Hristov
Just for the case - I received 506kb attachment... Andrey - Original Message - From: James Cox [EMAIL PROTECTED] To: Php-Dev [EMAIL PROTECTED] Sent: Friday, March 01, 2002 5:30 PM Subject: [PHP-DEV] FW: [PHP-QA] New Windows Binaries Note, ezmlm is rejecting the attachment, so I

[PHP-DEV] XML-RPC extension

2002-02-25 Thread Andrey Hristov
to 0.08s! So I think about tweaking wddx.c for xml-rpc.c All comments are appreciated. Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] install.txt in Win32 distro

2002-02-24 Thread Andrey Hristov
Can someone karma gifted change a text in install.txt in the Win32 distro? The current text is : Installation on Windows 9x/Me/NT/2000 systems The new text : Installation on Windows 9x/Me/NT/2000/XP systems Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] extensions for PHP in Windows

2002-02-22 Thread Andrey Hristov
Start here http://www.php.net/manual/en/zend.php Best regards, Andrey Hristov - Original Message - From: Olga Tonkonog [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 22, 2002 9:44 AM Subject: [PHP-DEV] extensions for PHP in Windows Hello, I learn PHP now and use

[PHP-DEV] Re: Bug #15678: isset failed in the latest cvs tree

2002-02-22 Thread Andrey Hristov
The answer to your question: ?php var_dump((int) 'y'); ? Regards, Andrey Hristov - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 22, 2002 6:03 PM Subject: Bug #15678: isset failed in the latest cvs tree From: [EMAIL PROTECTED

[PHP-DEV] Re: Bug #15663: add foreach reference values

2002-02-21 Thread Andrey Hristov
This FR is known :)) Best wishes, Andrey Hristov - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 7:34 PM Subject: Bug #15663: add foreach reference values From: [EMAIL PROTECTED] Operating system: PHP version

Re: [PHP-DEV] Get an application/octet-stream from a java applet

2002-02-20 Thread Andrey Hristov
Which version of PHP? Ask this on php-general. php-dev is for coders of core functionality. Best regards, Andrey Hristov - Original Message - From: Nicolas Boutet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 20, 2002 3:24 PM Subject: [PHP-DEV] Get an application

[PHP-DEV] Conflicts in zend_language_parser.output

2002-02-20 Thread Andrey Hristov
Hi, does anyone saw that there are 1000 SR conflicts in zend_language_parser.output. Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Bug #15571: incredible slashing of and \

2002-02-15 Thread Andrey Hristov
I think this is not php problem but problem in the script. No stripslashes is made on the output. This is common problem. Best regards, Andre Hristov - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 15, 2002 6:08 PM Subject: Bug #15571:

[PHP-DEV] Bison problems

2002-02-12 Thread Andrey Hristov
Does anyone looked at zend_language_parser.output to see that there are reported 1376 confilcts? PHP 4.1.1. Win2k possibly Linux. Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Bison problems

2002-02-12 Thread Andrey Hristov
Does anyone looked at zend_language_parser.output to see that there are reported 1376 confilcts? PHP 4.1.1. Win2k possibly Linux. Best regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Andrey Hristov
I think was said by Thies Arntzen few months ago for PHP5. I saw that this is possible in Perl so asked on the dev forum for this functionality ...but Thies was the first. Regards, Andrey Hristov P.S. Zend2 weekly cronicle is a good thing but why the last issue is from Oct 31 2001

[PHP-DEV] print()??

2002-01-11 Thread Andrey Hristov
Is print function or laguage construct? I know that echo is language construct and code like that $some=echo; $some(FUBAR); gives me an error The same with print. Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] Shared extension

2002-01-10 Thread Andrey Hristov
binary shell. Also there are some changes in the way the extension is wriiten for 4.1.x but I think you know that stuff already. Mandrake 8.1 (native vmware) Regards, Andrey Hristov P.S. 1)For development purposes I wrote two .sh scripts. One to compile the module and copy it to a directory

Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread Andrey Hristov
The answer will be : Because it can be emulated in the userspace. ?php $fp=fopen('some.txt','w+'); $some=10; fwrite($fp, sprintf(some decimal %d,$some)); fclose($fp); ? Regards, Andrey Hristov - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January

Re: [PHP-DEV] Bug #14949: fprintf function

2002-01-09 Thread Andrey Hristov
:) - Original Message - From: Markus Fischer [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 5:14 PM Subject: Re: [PHP-DEV] Bug #14949: fprintf function On Wed, Jan 09, 2002 at 05:06:19PM +0200

Re: [PHP-DEV] DBA extension

2001-12-28 Thread Andrey Hristov
Open win32/php_modules.dsw with VisualC. Select DBA as an active project. Rebiuld all. HTH Andrey Hristov - Original Message - From: David Robinson (AU) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 1:12 AM Subject: [PHP-DEV] DBA extension Hello How

[PHP-DEV] Bug in bugs.php.net?

2001-12-28 Thread Andrey Hristov
there. Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Typos?

2001-12-27 Thread Andrey Hristov
that it have to be Zend ships with such a function, called zend_copy_ctor() (the previous PHP equivalent was pval_copy_constructor()). Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-DEV] Problems compiling php on win32

2001-12-27 Thread Andrey Hristov
is apreciated. Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Build problems on win32 (cont)

2001-12-27 Thread Andrey Hristov
\pgsql\php_pgsql.h(32) : fatal error C1083: Cannot open include file: 'libpq-fe.h': No such file or directory Error executing cl.exe. pgsql.dll - 1 error(s), 0 warning(s) Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DEV] Re: [PHP-QA] PHP 4.1.1

2001-12-23 Thread Andrey Hristov
bash-2.04$ less config.nice #! /bin/sh # # Created by configure './configure' \ '--with-mysql' \ $@ TEST RESULT SUMMARY = Number of tests: 206 Tests skipped: 81 ( 39%) Tests failed: 28 ( 22%) Tests passed: 97 ( 78%) =

[PHP-DEV] Cannot find way!

2001-12-06 Thread Andrey Hristov
Hi, I cannot find a way to get the if the browser sent Accept-Encoding header. Can someone tell me if this is possible. It is maybe good idea if there is $HTTP_REQUEST_HEADERS ($_HEADERS) or something similirar. Regards, Andrey Hristov -- PHP Development Mailing List http://www.php.net

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-12-06 Thread Andrey Hristov
What is the difference between : if (mysql_result type==le_result !mysql_eof(mysql_result)) { and if (mysql_result type==le_result) { if (!mysql_eof(mysql_result)) { except the second is more readable : Regards, Andrey Hristov - Original Message - From: Zeev Suraski [EMAIL

Re: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Andrey Hristov
2002). Best wishes and regards. Andrey Hristov - Original Message - From: Maxx [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 3:29 PM Subject: [PHP-DEV] [NEW EXTENSTION]: templates Hi, php.dev! Probably, someone would be interested in this... I have made

Re: Re[4]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Andrey Hristov
/she fails. Look at this, if I have to use {some_thing}, how can I write some text which includes {, the template engine will delete everything to the }. Regards, Andrey Hristov - Original Message - From: Daniel Lorch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001

Re: Re[2]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Andrey Hristov
Make it experimental Then : This module is EXPERIMENTAL. That means, that the behaviour of these functions, these function names, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this module at your own risk. Regards, Andrey

Re: Re[2]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Andrey Hristov
Proposal : libmyopinion.o (*heh*) Regards, Andrey - Original Message - From: Daniel Lorch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 6:36 PM Subject: Re[2]: [PHP-DEV] [NEW EXTENSTION]: templates Hi, One thing I try to avoid is making assumptions

Re: Re[2]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Andrey Hristov
is C and without using any function. I don't think that any of the template functions is different from array_push for example it's not PHP it is external function. I can live without array_push, implode and some others, so someone else can live without templtes_* functions. Regards, Andrey

Re: [PHP-DEV] HOW2 on making C++ extensions in 4.1.0 (and 4.0.6?)

2001-12-04 Thread Andrey Hristov
Search this mailing list for november for c++ and extension and surely will find something. I've seen a post from a programmer who posted info about using c++ in extensions. Regards, Andrey Hristov - Original Message - From: Lars Knudsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

[PHP-DEV] Re: [PHP-QA] Re: 4.1.0RC5

2001-12-03 Thread Andrey Hristov
%) = Skipped 0 extensions. PHP Version: 4.1.0RC5 [root@andrey php-4.1.0RC5]# cat config.nice #! /bin/sh # # Created by configure './configure' \ '--without-mysql' \ '--with-ftp' \ '--with-regex=system' \ '--enable-ctype' \ '--enable-shmop' \ '--enable-sysvsem' \ '--enable-sysvshm

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

2001-11-28 Thread Andrey Hristov
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. Regards, Andrey Hristov

Re: [PHP-DEV] Bug #14248: uniqid() is extremely slow (20ms per call)

2001-11-27 Thread Andrey Hristov
I looked at php_combined_lcg() and saw that it uses LCG, it looks like a macro but I've found anywhere else in the source. I looked at the source to view how session_id is generated (using seconds, microseconds, and php_combined_lcg - standard/lcg.c) Thanks in advance Andrey Hristov

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Andrey Hristov
Better introduce new type of comments so one type can include the other type : Example from pascal : { a comment (* another nested *) } Andrey - Original Message - From: Martin Jansen [EMAIL PROTECTED] To: Markus Fischer [EMAIL PROTECTED] Cc: Anders Johannsen [EMAIL PROTECTED

Re: [PHP-DEV] Server-Wide Persistent objects in PHP?

2001-11-26 Thread Andrey Hristov
(system) which uses this capabilities of PHP. It's name is Oasis (oasis.sourceforge.net). In my tests its 3x-4x faster than analogous systems. For session data configure in your php.ini to use 'mm' instead of file for data storage. Best regards, Andrey Hristov IcyGEN Corporation http

Re: [PHP-DEV] Server-Wide Persistent objects in PHP?

2001-11-26 Thread Andrey Hristov
script(system) which uses this capabilities of PHP. It's name is Oasis (oasis.sourceforge.net). In my tests its 3x-4x faster than analogous systems. For session data configure in your php.ini to use 'mm' instead of file for data storage. Best regards, Andrey Hristov IcyGEN Corporation http

Re: [PHP-DEV] error message

2001-11-26 Thread Andrey Hristov
I think that's not an error but a warning. I think that with the form is not submitted a hidden variable input type=hidden name=submit . For more ask at [EMAIL PROTECTED] This is the list for your needs. Regards, Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS

[PHP-DEV] The opposite of ===

2001-11-16 Thread Andrey Hristov
The === operator is used to do the work of == and check if the type is equal. Is there !=== or !==, to to the following : if (!($variable===$other_var)){ } to be if (!($variable!==$other_var)){ } Thanks Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS -- PHP

Re: [PHP-DEV] The opposite of ===

2001-11-16 Thread Andrey Hristov
Ooops, if (!($variable===$other_var)){ } to be if ($variable!==$other_var){ } - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 16, 2001 1:48 PM Subject: [PHP-DEV] The opposite of === The === operator is used to do

Re: [PHP-DEV] Bug #14068: 2 while list each dont work

2001-11-15 Thread Andrey Hristov
; } } ? './configure' '--with-mysql' '--with-apache=../apache_1.3.20' '--with-gd=../gd-1.8.3' '--enable-track-vars' -- Andrey Hristov Web Developer Icygen Corporation BUILDING SOLUTIONS http://www.icygen.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Andrey Hristov
There is a book from the people who make www.phpwizard.net. The price is from $30 to $40 depending on the bookstore you use(Amazon has lowest price). The other way is to get it in PDF. on #bookwarez channel on irc.nullus.net, you can find it. - Original Message - From: Markus

Re: [PHP-DEV] Bug #13785: Compile with MySQL 4.0.0

2001-10-22 Thread Andrey Hristov
/usr/local/src/php/TSRM -O2 -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(internal_functions.o)(.data+0x20): undefined reference to `mysql_module_entry' gmake[1]: *** [php] Error 1 With MySQL 3.23.43 - I have not this Error... -- Andrey Hristov Web Developer Icygen

Re: [PHP-DEV] Bug #13785 Updated: Compile with MySQL 4.0.0

2001-10-22 Thread Andrey Hristov
Version: 4.0CVS-2001-10-22 Old Assigned To: Assigned To: derick Edit this bug report at http://bugs.php.net/?id=13785edit=1 -- Andrey Hristov Web Developer Icygen Corporation BUILDING SOLUTIONS http://www.icygen.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail

<    1   2