[PHP-DEV] Re: Bug #16242 Updated: Problems with case sensitivity german letters

2002-07-02 Thread Alexander Wirtz

http://bugs.php.net/bug.php?id=16242&edit=1

Could someone please give this an eye? In my opinion, this isn't a 
documentation problem, but a flaw within the pcre-extension, as his code is 
clearly working with lowercase umlauts, but when trying to match the 
uppercase, the pcre ignores the /i option in the expression.
Btw. retested it with 4.3.0-dev and it's still there..

Regards,
Alexander


-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread Alexander Wirtz

[EMAIL PROTECTED] wrote:
> On Mon, 1 Jul 2002, Sterling Hughes wrote:
> 
> 
>>I'll do pack 12, 19, 21, 31 35, 47... I assume verification/fixing only applies
>>to PHP-CVS? (Ie, they say its a problem with PHP 4.1, If I can't produce
>>it with CVS, Its fine to close it?)
> 
> 
> Yup, if you think it's really fixed in CVS you can close it, but it would 
> be better if you try to reproduce it on PHP 4.1. first then.
> 

Hmm...that might pose a problem, because some bugs are flagged with 4.0.6 
for example, and I doubt, that developers here stick to old versions of PHP. 
I'd have to reinstall that version :-P

Also, I'd like to suggest to keep the discussion regarding the bughunt on 
the QA-List, as I expect lots of threads for this topic and it will get hard 
to follow them, if they appear on both lists.

Kind regards,
Alexander


-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Questionable behaviour of variable variables

2002-04-15 Thread Alexander Wirtz

Through a coding error of mine, I stumbled upon a "feature" of variable
variables, that is quite sickening to me. Usually php doesn't support an 
empty string or integers as variable-names, but these things are all 
possible and you won't get a single warning...shouldn't this get changed?

{""} = "bar";
//${"6"}->{"6"} = "bar";

$$varname->$varname = "foo";
?>

Regards,
Alexander

-- 
Alexander Wirtz|   http://www.systematics.de/  |
Systematics INTEGRATIONS GmbH  |   fon +49 2241 39778-60   |
Rathausallee 10|   fax +49 2241 39778-77   |
53757 St. Augustin |   mailto:[EMAIL PROTECTED] |


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] cvs: ext/baby

2002-03-07 Thread Alexander Wirtz

>@@ -1,2 +1,6 @@
> Christine Lerdorf
> Rasmus Lerdorf
>>+Buster (working name only) Lerdorf
>>+Born 13:26 PDT Wednesday March 6, 2002
>>+Weight: 9.0 pounds
>>+Length: 19.25 inches

Congratulations...and good luck with the coredumps ;-)

Alex
-- 
|Alexander Wirtz   |   http://www.systematics.de/  |
|Systematics INTEGRATIONS GmbH |   fon +49 2241 39778-60   |
|Rathausallee 10   |   fax +49 2241 39778-77   |
|53757 St. Augustin|   mailto:[EMAIL PROTECTED] |


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Porter Stemming Algorithm

2002-02-08 Thread Alexander Wirtz

Hello Ben,

>I noticed that someone named "J Smith" offered a Porter word stemming 
>algorithm to the list back in November 2001.  I was unable to find this 
>persons address.  Does anyone know where I can find a PHP Porter 
>routine?  Preferrably one which does not require rebuilding my distribution 
>of PHP.

I got my routine from http://www.miester.org/?a=code

Btw.: You should ask this kind of questions on the php-general list next
time, as the purpose of this list is development _of_ PHP.

Kind regards,
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| PDF Class for PHP | http://sf.net/projects/pc4p/|

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Showing images using PHP

2002-01-15 Thread Alexander Wirtz

Hello Eduardo,

you forgot to output a header first:



In the future you should post this kind of question to php-general,
as this is the list for developing php, not developing _with_ php :-)

Kind regards,
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| Systematics INTEGRATIONS GmbH | WWW:   http://www.web-active.com/  |

-- 
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]




Re: [PHP-DEV] Re: Headers

2001-12-11 Thread Alexander Wirtz

Apache uses this style as well, and as PHP isn't GNU-stuff, why should the
license-styleguide apply to it? ;-)

my 0,02 EUR
Alex

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #14305 Updated: type-o on web site

2001-12-06 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

just replace "concreto" with "fact". I think that this is the vocable 
that should be used here.

Nevertheless it is not very smart to get that agitated over such a 
minor issue :-P

Regards,
Alex

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED] |
| web@ctive GmbH|"Accidents, Emergency, Ambulance"|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8D1qbDTqTaMH1weIRAjR9AKCAzvhAw5dD9S3Vda5wqOk8+CscTwCg77EB
aUPFFyhgev0ti4ywQy4oopU=
=lTXn
-END PGP SIGNATURE-

-- 
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] CVS Account Request: eru

2001-12-05 Thread Alexander Wirtz

Helping in the QA-Effort,
fixing/closing bugs and reports,
for access to the PEAR,
and I'd like to take a closer look at the ext/pdf to adjust it to the current Zend-Api



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #14326: CONFIGURE DOESN'T RECONIGZE PDFLIB4.0.1

2001-12-03 Thread Alexander Wirtz

Hi,

> 
>configure:13215: checking whether to include cpdflib support
>configure:13993: result: no

The line you took from the logfile has nothing to do with the --with-pdflib
switch, but is an option of its own, namely --with-cpdflib (note the 'c' in
front).

You should finish your configuration and have another look at the logfile to
check, if pdflib-support is enabled. If this is true, then compile php and
make yourself a small script with  to test, whether the
pdflib is really working, you should get a small section showing
pdflib-specific options.

So, this is a bogus bugreport

Regards,
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |

-- 
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] Testing LDAP (was: [PHP-QA] 4.1.0RC5)

2001-12-03 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 03 December 2001 16:41, you wrote:
> Great, you can test with ldap.uninett.no (base dc=uninett,dc=no)
> and ldap.openldap.org (base dc=OpenLDAP,dc=org).

ok, I made a test from SuSE 7.3 with openldap 2.0.12, with both 
servers, the first is delivering the expected output, with the second, 
the "email"-string is not returned - I'm not familiar with ldap, so ...

I wasn't able to enable LDAP under SunOS, but maybe this is an 
OSish-error, anyway I'm on my way home and not very much inclined to do 
some tweaking right now...maybe tomorrow, if it's still wanted 
/neccessary.

MfG
Alexander

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED] |
| web@ctive GmbH|"Accidents, Emergency, Ambulance"|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8C6yVDTqTaMH1weIRAhCxAKDAP1I7YSjHqo6xqhJfuFh8YYhdFgCg9kHF
fH7INFkBhpv8BWo/5zEn8IM=
=pEIh
-END PGP SIGNATURE-

-- 
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] Re: [PHP-QA] 4.1.0RC5

2001-12-03 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi folks,

On Monday 03 December 2001 14:53, Zeev Suraski wrote:
> You know the drill, but practice makes perfect!
*sigh*
I compiled and tested the RC5 on my 3 systems
7.3 SuSE
7.1 RedHat
SunOS 5.8
as CGIs, everything went as before, my scripts were working, the output 
from run-tests.php wasn't any different than the other RCs.
Do I have to fill the WackyWikiWeb _again_? :-)

I'd love to test the LDAP, but I haven't got a server at hand :-/ 
Anything else I should pay attention to? The extensions I normally use 
are working ok.

Best regards,
Alexander

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED] |
| web@ctive GmbH|"Accidents, Emergency, Ambulance"|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8C5rcDTqTaMH1weIRArJ3AJ99J3RoLtKrd3F6LnWhQyPGdrikVwCfcirB
ElW+d00mttLZnYSdbwblUmk=
=5B5k
-END PGP SIGNATURE-

-- 
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] Re: [PHP-QA] 4.1.0RC4

2001-11-30 Thread Alexander Wirtz

>http://www.php.net/~zeev/php-4.1.0RC4.tar.gz
>
>The plan is to release Monday, unless a real earth quaker is found...

Builds and runs on
SuSE 7.3\
RedHat 7.1  - as CGI
SunOS 5.8   /

Details can be found on
http://fooassociates.com/phpqa/index.php?AlexanderWirtzBuilds4.1.0RC4

Regards
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH|   PDF 4 PHP http://sf.net/projects/pc4p/   |

-- 
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] Spam from UP30

2001-11-19 Thread Alexander Wirtz

Could one of the list-administrators please banish this
email-address from the phplists? This is the third or
fourth spam this week...

Thanks in advance

Alexander

P.S. and yes, filters are a nice thing, I use them too,
but we don't have to feed the entropy, do we?

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] sytanx again

2001-10-26 Thread Alexander Wirtz

> ...
> I personally don't think understand why people can't just write type so slowly? :)

For me it's not just the characters I don't have to type , but smoother
reading. The "echo" just breaks up the visual pattern...

Alex

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Versioning (resent due to lack of replies)

2001-09-14 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A huge +1 from me.

As of now, I'm using a regular expression to see, if the PHP-Version is apt 
to be used with the scripts I write and this is not a good thing, as it is 
too complicated. A versioncheck should be simple and quick to implement.

For the extensions there should be a likewise simple method to check for the 
version. As an example, in the PDF-Extension, you have to create a 
PDF-resource first to determine the version and that is too circumstantial.

Regards,
Alexander

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]  |
| web@ctive GmbH|  --  |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7oi1zDTqTaMH1weIRApo4AKCfmSyyhVrK4qVBd/WXHY91MXSC/QCgzBKi
f++Zu78zszkjmxmUkJDf/lg=
=atVH
-END PGP SIGNATURE-

-- 
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]




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

2001-09-10 Thread Alexander Wirtz

>The latest CVS configures and builds properly for me as a CGI
>with IBMJava2-13 now.  Please give it a try.

CVS is working with JDK-1.3.1 as cgi. Thanks for the fix!

Regards,
Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]  |
| web@ctive GmbH| "Accidents, Emergency, Ambulance"|

-- 
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] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz

Hi Jeroen,

to give a little bit background, as a student of computersciences I happen
to work with bitshift not as a means of having a "quick" multiplication or
division, but as using it to "manipulate" bit-patterns.
The distinction between signed and unsigned rightshift is nothing strange,
obscure or redundant, but is implemented down to the machine-language
itsself (dependent on cpu-architecture).
So this is no "bad operator", but one of the most crucial operators on
bit-patterns. I don't want to sound arrogant (saying this is almost always a
sure sign, that it will ;-) ) but maybe you should inform yourself the next
time why other languages have this operator implemented.
Disabling signed shifting will force me to turn back to perl, as I use this
feature for quick hacking certain scripts I use at the University (and that
would be a very cruel thing to do :o) ) - besides, it would disregard the
"holy BC"...

Cheers & flames on (constructive comments are welcome),

Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]  |
| web@ctive GmbH| "Accidents, Emergency, Ambulance"|

-- 
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]




Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Jason et al.,

On Monday 10 September 2001 16:24, Jason Greene wrote:
> Is there anyone out there who uses >> on negative numbers?
> There is the discussion on the engine2 list about whether to
> make >> an unsigned right shift, or to introduce a new operator
> >>>.

I'd be grateful, if the behaviour of >> won't change, as I'm using it in some 
scripts for exactly this purpose. A >>> is the usual unsigned right-shift in 
c-style languages, it wouldn't hurt to introduce it to PHP as well, would it?

> Speak-up or potential loose your negative shift-ability

Done :)

Best Regards,
Alex

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]  |
| web@ctive GmbH|"Accidents, Emergency, Ambulance" |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7nNSEDTqTaMH1weIRAhdBAKCbojb6+0yw1alYGS1tQgydLAcfEQCg24wE
ssB1EoyRTzQY2R1jQhAcJDw=
=zebw
-END PGP SIGNATURE-

-- 
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] Re: RC2 (Success and failure)

2001-09-07 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Build on RedHat 7.1 with kernel 2.4.9-ac7 succeeded:
apache 1.3.20, openssl 0.9.6b, zlib 1.1.3, bz2 1.0.1, calendar, ctype,
exif, ftp, gd 1.8.3 (jpeg, png, xpm, freetype), gettext, oci8 w/
oracle-9.0.1, qtdom, shmop, sockets, xml
some errors, on run-tests.php, if there's any interest, I'll post them.

Build on SuSe 6.3 with kernel 2.2.13 still fails, due to
conflict between build as cgi and --with-java, see
http://marc.theaimsgroup.com/?l=php-qa&m=99792019528309&w=2

Regards,
Alexander

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7mLzWDTqTaMH1weIRAllxAJ9lyh8vVEhOkZ6So1iY3CZchq1ruQCg0FNU
I266T2RTWmz/eAPrPPeebPg=
=N1em
-END PGP SIGNATURE-

-- 
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] [PATCH] for Bug #13172: Undefined symbol: gdImageStringFT

2001-09-06 Thread Alexander Wirtz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If noone is interested, do it yourself...

The attached patch works for me, maybe someone could look over it and commit 
it to the CVS.

Regards,
Alex

- -- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7l40CDTqTaMH1weIRAr6bAJ9Tuy0RDqAxuBG+8Jp4l9YgRkWf9wCfXVIv
ILyNxz4ZG3wUva6QhBiw628=
=H4Ax
-END PGP SIGNATURE-


--- gd.c.orig	Thu Sep  6 16:32:09 2001
+++ gd.c	Thu Sep  6 16:35:56 2001
@@ -2745,10 +2745,10 @@
 #if HAVE_GD_STRINGFTEX
 	if (extended)	{
 		error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex);
+	} else {
+		error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str);
 	}
-	else
 #endif
-	error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str);
 # else
 	error = gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, y, str);
 # endif


-- 
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]


Re: [PHP-DEV] Bug #13137: CVS incompatible with autoconf 2.13 (AC_LANG_POP)

2001-09-04 Thread Alexander Wirtz

Howdy,

I can't confirm this on RedHat 7.1 with
a fresh CVS:

buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4-p5 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding Makefile templates
automake: configure.in: installing end/ylwrap'
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in

and the configure runs just fine.

RPMS:
autoconf-2.13-10
automake-1.4p5-2
libtool-1.4-8

Regards,
Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |

--
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] [PATCH] for Bug #13052: Empty $key in mcrypt_generic_init causes segmentationfault

2001-08-30 Thread Alexander Wirtz

There's is a check on the max keysize, but no check, if the keysize is
larger than 0. So the simple patch I attached to this mail should hopefully
be sufficient.

Regards,
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |


--- mcrypt.orig.c   Thu Aug 30 14:01:36 2001
+++ mcrypt.cThu Aug 30 14:07:35 2001
@@ -465,6 +465,11 @@
iv_s = emalloc (iv_size + 1);
memset (iv_s, 0, iv_size + 1);
 
+   if(Z_STRLEN_PP(key) == 0) {
+   sprintf (dummy, "key size too small");
+   php_error (E_ERROR, dummy);
+   RETURN_FALSE;
+   }
if (Z_STRLEN_PP(key) > max_key_size) {
sprintf (dummy, "key size too large; supplied length: %d, max: %d", 
Z_STRLEN_PP(key), max_key_size);



-- 
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]


Re: [PHP-DEV] basic_functions.c broken

2001-08-15 Thread Alexander Wirtz

Hi folks,

>basic_functions.c
>D:\home\php\php4\ext\standard\basic_functions.c(306) : error C2065:
>'zif_exp2' :
> nichtdeklarierter Bezeichner
>D:\home\php\php4\ext\standard\basic_functions.c(306) : error C2099:
>Initialisier
>ung ist keine Konstante
>D:\home\php\php4\ext\standard\basic_functions.c(307) : error C2065:
>'zif_exp10'
>: nichtdeklarierter Bezeichner
>D:\home\php\php4\ext\standard\basic_functions.c(307) : error C2099:
>Initialisier
>ung ist keine Konstante
>D:\home\php\php4\ext\standard\basic_functions.c(308) : error C2065:
>'zif_log2' :
> nichtdeklarierter Bezeichner
>D:\home\php\php4\ext\standard\basic_functions.c(308) : error C2099:
>Initialisier
>ung ist keine Konstante

I can confirm this on my linux-box:

basic_functions.c:306: `zif_exp2' undeclared here (not in a function)
basic_functions.c:306: initializer element for `basic_functions[157].handler' is not 
constant
basic_functions.c:307: `zif_exp10' undeclared here (not in a function)
basic_functions.c:307: initializer element for `basic_functions[158].handler' is not 
constant
basic_functions.c:308: `zif_log2' undeclared here (not in a function)
basic_functions.c:308: initializer element for `basic_functions[159].handler' is not 
constant
basic_functions.c:310: `zif_cbrt' undeclared here (not in a function)
basic_functions.c:310: initializer element for `basic_functions[160].handler' is not 
constant
make[3]: *** [basic_functions.lo] Error 1
make[3]: Leaving directory /data/www/php4/ext/standard'


Regards
   Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com   |

-- 
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]




Re: [PHP-DEV] Patch for ext/java/java.c

2001-08-13 Thread Alexander Wirtz

Hi Andi,

>Wirtz,
>
>I don't have the Java build setup here. I commited a patch similar to yours 
>so please check it and let me know if it fixes your problems.

yup, looking good...and my name's Alexander :-) Wirtz is my surname...

Cheers,
Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com/  |

-- 
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] Patch for ext/java/java.c

2001-08-12 Thread Alexander Wirtz

Good morning (or evening ? ;-)),

I made another patch, because java.c ran into difficulties with ZE2.
Let's hope, that everything is ok, cause I'm really tired...

Have a nice day!
Regards
   Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com   |


--- java.orig.c Mon Aug 13 03:52:19 2001
+++ java.c  Mon Aug 13 04:12:08 2001
@@ -288,7 +288,7 @@
   break;
 
 case IS_OBJECT:
-  zend_hash_index_find(arg->value.obj.properties, 0, (void*)&handle);
+  zend_hash_index_find(Z_OBJPROP_P(arg), 0, (void*)&handle);
   result = zend_list_find((*handle)->value.lval, &type);
   break;
 
@@ -455,7 +455,7 @@
 
 jmethodID invoke = (*jenv)->GetMethodID(jenv, JG(reflect_class), "Invoke",
   "(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;J)V");
-zend_hash_index_find(object->value.obj.properties, 0, (void**) &handle);
+zend_hash_index_find(Z_OBJPROP_P(object), 0, (void**) &handle);
 obj = zend_list_find((*handle)->value.lval, &type);
 method = (*jenv)->NewStringUTF(jenv, function_name->element.value.str.val);
 result = (jlong)(long)return_value;
@@ -529,7 +529,7 @@
   propName = (*jenv)->NewStringUTF(jenv, property->element.value.str.val);
 
   /* get the object */
-  zend_hash_index_find(property_reference->object->value.obj.properties,
+  zend_hash_index_find(Z_OBJPROP_P(property_reference->object),
 0, (void **) &pobject);
   obj = zend_list_find((*pobject)->value.lval, &type);
   result = (jlong)(long) &presult;
@@ -692,11 +692,11 @@
 
   if (presult->type != IS_OBJECT) {
 presult->type=IS_OBJECT;
-presult->value.obj.ce=&java_class_entry;
-ALLOC_HASHTABLE(presult->value.obj.properties);
+Z_OBJCE_P(presult)=&java_class_entry;
+ALLOC_HASHTABLE(Z_OBJPROP_P(presult));
 presult->is_ref=1;
 presult->refcount=1;
-zend_hash_init(presult->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
+zend_hash_init(Z_OBJPROP_P(presult), 0, NULL, ZVAL_PTR_DTOR, 0);
   };
 
   ALLOC_ZVAL(handle);
@@ -705,7 +705,7 @@
 zend_list_insert((*jenv)->NewGlobalRef(jenv, value), le_jobject);
   pval_copy_constructor(handle);
   INIT_PZVAL(handle);
-  zend_hash_index_update(presult->value.obj.properties, 0,
+  zend_hash_index_update(Z_OBJPROP_P(presult), 0,
 &handle, sizeof(pval *), NULL);
 }
 



-- 
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] General behaviour of array changing funcs

2001-07-17 Thread Alexander Wirtz

Hi everyone,

I encountered a problem today, which seems to be a well known
"feature", but I didn't find _one_ comment of a responsible person
on this by looking into the bug-database!

The snippet

 "green", "9" => "orange" );
var_dump( $bla );
array_shift( $bla );
var_dump( $bla );   
?>
  
produces

array(2) {
  [5]=>
string(5) "green"
  [9]=>
string(6) "orange"
}
array(1) {
  [0]=>
string(6) "orange"
}

The array_shift changes the integer-keys of the array. Likewise behaviour
with array_pop and array_slice.
Would anyone of the core-coders be so kind and give me a hopefully
reasonable answer to this problem? I'm not very fond of this...

Greetings
Alexander

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com   |

-- 
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]




Re: [PHP-DEV] More OOP

2001-01-18 Thread Alexander Wirtz

Hi Tom,

>I looked at your link "http://www.mm4.de/php4win/tips.php3?id=1" and found
>that "parent::classname()" worked. But how? Usualy PHP uses a "->" like
>"$this->classname()". I've never before seen the two "::" - Can someone
>explain?

This syntax is borrowed from C++ (or Java) and is a way to access methods
of classes which have no instance. This is also called a static method.
So if you have

class myclass
{
   function myfunction()
   {
  ...
   }
}

you can access this function via "myclass::myfunction()", even if there is
no object instantiated. "parent" is a reserved word to access functions of
the superclass.

(I hope I got everything right ;-)

Regards
   Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com   |

-- 
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] PDF? Go! (was: 4.0.4pl1 RC2 rolled)

2001-01-10 Thread Alexander Wirtz

>Only one change in this release - Daniel's PDF fixes were merged in.  If 
>all goes well, I want to release pl1 in 48 hours.

Ok, I just finished testing the 4.0.4pl1RC2 and everything seems to be ok
with the PDF-ext. (using pdflib-3.03 incl. latest patch)

Greetings
Alex

-- 
| Alexander Wirtz   | eMail: [EMAIL PROTECTED]|
| web@ctive GmbH| WWW:   http://www.web-active.com   |

-- 
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]