Re: [PHP-DEV] Interesting result
oukei, stopping to ask anymore :)) Andrey - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 7:20 PM Subject: Re: [PHP-DEV] Interesting result Again, as it is undefined in PHP the question Why in itself is wrong :) Andi At 04:43 PM 12/21/2002 +0200, Andrey Hristov wrote: - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 4:17 PM Subject: Re: [PHP-DEV] Interesting result It doesn't matter because the behavior here is undefined just like in C. You can't use a variable and it's post/pre increment value in the same expression. Two years ago I've been told by a professort that a+++a+++a depends on the language and the compiler. Yesterday i found this page : http://www.blueshoes.org/en/developer/syntax_exam/ If a=1 - Java : 6 PHP : 6 gcc 2.95 : 3 I know that is on the edge and I will never use it in real script by I was curious why the reference change the result. Best wishes, Andrey At 03:26 PM 12/21/2002 +0200, Andrey Hristov wrote: Hi, i got an interesting case : ?php $a = 1; var_dump($a + $a++); $a = 1; $x = $a; var_dump($a + $a++); ? Result int(2) int(3) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [PEAR-DEV] GPL'ed libraries and PECL
- Original Message - From: Jon Parise [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 22, 2002 6:16 AM Subject: [PEAR-DEV] GPL'ed libraries and PECL I seek clarification: PECL cannot host a PHP extension that is based on a GPL-licensed library. Is this correct? I am interested too because I am wrapping na GPLed library. Andrey -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Re: ground rules
Frank M. Kromann wrote: Hi, It was decided to move php_printer.dll, as well as other extensions (iisfunc and ixsfunc) from the php repository to PECL. This was not caused by instability. These extensions all work fine (AFAIK). They were moved from php to PECL to reduce the size of PHP and tehreby reduce the time needed to perform QA with each release. The reference to these files in php.ini will be removed and the documentation should move as well. I'll create PECL packages for these extensions so they can be obtained from the pear.net web site as other PECL extensions. - Frank Will there be a way to get the windows binaries from PECL? At the moment the PECL packages can't be found at all on pear.php.net (or am I too tired?). Christoph -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] RC4 + windows
At 01:32 22.12.2002, Edin Kadribasic wrote: On Sunday 22 December 2002 00:51, Marcus Börger wrote: Hi, i can no longer load mhash and domxml dll's under windows RC4. marcus Rememberd to copy .dlls from dlls folder to a folder in PATH like c:\winnt\system32? Edin After adding the dlls to my path it works. Did something change? I mean with later distributions it worked without adding the path. marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Interesting result
So shouldn't we document those special case on the operators page ? On Sun, Dec 22, 2002 at 10:26:08AM +0200, Andrey Hristov wrote : oukei, stopping to ask anymore :)) Andrey - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 7:20 PM Subject: Re: [PHP-DEV] Interesting result Again, as it is undefined in PHP the question Why in itself is wrong :) Andi At 04:43 PM 12/21/2002 +0200, Andrey Hristov wrote: - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 4:17 PM Subject: Re: [PHP-DEV] Interesting result It doesn't matter because the behavior here is undefined just like in C. You can't use a variable and it's post/pre increment value in the same expression. Two years ago I've been told by a professort that a+++a+++a depends on the language and the compiler. Yesterday i found this page : http://www.blueshoes.org/en/developer/syntax_exam/ If a=1 - Java : 6 PHP : 6 gcc 2.95 : 3 I know that is on the edge and I will never use it in real script by I was curious why the reference change the result. Best wishes, Andrey At 03:26 PM 12/21/2002 +0200, Andrey Hristov wrote: Hi, i got an interesting case : ?php $a = 1; var_dump($a + $a++); $a = 1; $x = $a; var_dump($a + $a++); ? Result int(2) int(3) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure
This needs one of you output guys to resolve it. Andrei mentioned something about making the final release before 1st Jan, so if you can, please get your coding-butts in gear :) --Wez. On 22 Dec 2002 [EMAIL PROTECTED] wrote: ID: 21139 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: Output Control Operating System: Windows PHP Version: 4.3.0RC4 New Comment: Verified on Windows, with Apache or Apache2. -- HTTP response dump of the following script -- ?php echo abcde; ? -- Apache_1.3.27 -- HTTP/1.1 200 OK Date: Sun, 22 Dec 2002 18:06:53 GMT Server: Apache/1.3.27 (Win32) PHP/4.4.0-dev X-Powered-By: PHP/4.4.0-dev Connection: close Content-Type: text/html (correctly gzip-encoded content) -- Apache_2.0.43 -- HTTP/1.1 200 OK Date: Sun, 22 Dec 2002 18:06:15 GMT Server: Apache/2.0.43 (Win32) PHP/4.4.0-dev Last-Modified: Sun, 22 Dec 2002 17:59:26 GMT ETag: 45a2-1b-e744bab1 Accept-Ranges: bytes Content-Length: 27 Connection: close Content-Type: application/x-httpd-php br / bWarning/b: (null)() [a href='http://www.php.net/ref.outcontrol'ref.outcontrol/a]: Cannot change zlib.output_compression - headers already sent in bUnknown/b on line b0/bbr / abcde Previous Comments: [2002-12-21 19:27:53] [EMAIL PROTECTED] I can confirm this bug on Windows + Apache + zlib.output_compression in .htaccess. If zlib.output_compression is set to on from php.ini it works. It only doesn't work if set from .htaccess. [2002-12-21 17:48:30] [EMAIL PROTECTED] I have just installed latest php 4.3 on linux and windows. I use the same directory and therefore .htaccess files for apache/mod_php on both platforms. When i enable enable output compression with ini setting php_value zlib.output_compression On in .htaccess the linux version works as expected but the windows version fails. Sometimes i receive errors with access violations. Sometimes i can downlowd the result but when rename the resulting file to .gz i can open it and as you might expect it contains the correct result. And sometime i see the encoding result presented in the browser and then i cannot save and view it although the gzip header seems correct. marcus -- Edit this bug report at http://bugs.php.net/?id=21139edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php