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
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
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
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."
--
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
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.
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
===
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
> > > 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
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
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
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
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
13 matches
Mail list logo