Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-27 Thread George Schlossnagle
There's also an auto-casting issue. If you have something like: $xml = simplexml_load_file("a.xml"); print_r($xml); foreach($xml->book as $book) { $arr[$book] = 1; } foo bar you get an illegal offset error in the assignment to $arr. It's attempting to use it as a simpleXML object. If you i

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-27 Thread Marcus Börger
Hello George, intersting code :-) You can also avoid that by using $arr[(string)$book] = 1; instead of $arr["$book"] = 1; marcus Monday, October 27, 2003, 8:08:28 AM, you wrote: > There's also an auto-casting issue. If you have something like: > $xml = simplexml_load_file("a.xml"); > print_r

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-27 Thread George Schlossnagle
On Monday, October 27, 2003, at 02:22 AM, Marcus BXrger wrote: Hello George, intersting code :-) You can also avoid that by using $arr[(string)$book] = 1; instead of $arr["$book"] = 1; marcus Yeah, I know I can avoid it, but I shouldn't have to. In more complex examples it also seems to cause

Re: [PHP-DEV] simplexml and dom interop

2003-10-27 Thread Derick Rethans
On Sat, 25 Oct 2003, Marcus Börger wrote: > Hello Robert, > > Cool stuff which i'd like to have in b2 :-) yes, me too. Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." --

Re: [PHP-DEV] simplexml and dom interop

2003-10-27 Thread Christian Stocker
On 10/27/03 10:07 AM, Derick Rethans wrote: On Sat, 25 Oct 2003, Marcus Börger wrote: Hello Robert, Cool stuff which i'd like to have in b2 :-) yes, me too. was committed yesterday ;) chregu Derick -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 5

Re: [PHP-DEV] PHP 5 Beta 2 RC1

2003-10-27 Thread LingWitt
I deduced this myself, so I sent an email to the pear-dev list and we seem to have come to a conclusion. Thanks On Monday, Oct 27, 2003, at 00:51 America/New_York, Andi Gutmans wrote: The overload extension is obsolete in PHP 5. How the PEAR guys are planning on fixing their code I'm not sure.

[PHP-DEV] [PATCH] libxmlrpc warning fixes

2003-10-27 Thread Joe Orton
Hi, this patch fixes compiler warnings in the version of libxmlrpc included in the PHP 4.3 branch. (unspecified return value, format string bugs, missing includes, unused function/variables) Index: ext/xmlrpc/libxmlrpc/simplestring.c ===

[PHP-DEV] CVS Error on Win32

2003-10-27 Thread l0t3k
Configuration: php4dllts - Win32 Debug_TS Linking... Creating library ..\Debug_TS/php4ts_debug.lib and object ..\Debug_TS/php4ts_debug.exp basic_functions.obj : error LNK2001: unresolved external symbol _zif_uudecode basic_functions.obj : error LNK2001: un

[PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/standard basic_functions.c config.m4 php_uuencode.h uuencode.c

2003-10-27 Thread Sara Golemon
> > > Please use the naming conventions using a prefix. Maybe in this case str_ > > > or mime_ > > > >Does uu_* sound acceptable? > > It's better and I haven't been able to think of something better. It would > be smarter in the long run if we though of some generic prefix which we > could move all

Re: [PHP-DEV] PHP5 XSLT extention status

2003-10-27 Thread Christian Stocker
On 9/15/03 1:55 PM, Adam Dickmeiss wrote: We're using the XSLT Sablotron in PHP4 in production. I cannot find the XSLT in latest CVS, but I see that ext/xsl appeared some time ago. Does this mean that Sablotron XSLT is dead in PHP5? Don't know about that One extremly useful feature we used in

Re: [PHP-DEV] CVS Error on Win32

2003-10-27 Thread Andi Gutmans
You need to add uuencode.c to your php4tsdll project. I'll commit a patch. Andi At 09:48 AM 10/27/2003 -0500, l0t3k wrote: Configuration: php4dllts - Win32 Debug_TS Linking... Creating library ..\Debug_TS/php4ts_debug.lib and object ..\Debug_TS/php4ts_de

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-27 Thread Cristiano Duarte
Oops, I figure out that the patch was incorrect, since the function call should be "zend_hash_destroy" instead of "zend_hash_clean". Sorry. :-p New patch included. Now the memory leaks are gone forever ! Cristiano Duarte begin 666 ze2_internal_symtables.patch M/R!P:' MF5N M9%]A;&QO8RYC"CT]/3T]/3

[PHP-DEV] Jobs at Yahoo!

2003-10-27 Thread Rasmus Lerdorf
If anybody is looking for a job and would be interested in working for Yahoo please drop me a note privately. Most of the jobs are in Sunnyvale, CA, but working out of some of the international offices may be possible as well. Specifically I am looking for someone with a bit of Oracle and busines