Re: [PHP-DEV] Re: access to variables

2007-04-24 Thread David Lindstrom
Doesn't the zval contain info about the length of the string? -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Ci" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Stefan Esser napisa³(a): >> No. The correct way for getting the variable is >> >> >> zval **data;

Re: [PHP-DEV] Segfault in PHP 5.2.1

2007-04-24 Thread David Lindstrom
Still, PHP should never segfault? "Chris Malton" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Antony Dovgal wrote: >> Please try the latest snapshot available at http://snaps.php.net. >> If you're still able to reproduce the problem using the snap, please >> provide a short (

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread David Lindstrom
I suggest adding a new php.ini option: ignore_xml_tags, default to on, which would cause the parser to just ignore tags. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Bart de Boer" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > > I think ASP tags should

Re: [PHP-DEV] A request for code change : Repeated opening and closing the session leads to a LOT of Set-Cookie headers.

2007-03-15 Thread David Lindstrom
Well, you could always add a user comment. Isn't that what they are for anyway? ""Richard Quadling"" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Ha! > > Stupido! I had cut'n'pasted and somehow had a trailing space on the > ini entry name! > > But, it works a treat. > > Is t

[PHP-DEV] Re: PHP Just-In-Time Compiler

2007-03-08 Thread David Lindstrom
Phalanger might be of interest to you.. Compiles PHP to MSIL, which then compiles to machine code JIT.. Works pretty good really.. http://www.php-compiler.net http://www.codeplex.com/Phalanger -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Jacob Santos" <[EMAIL PROTECTED]>

[PHP-DEV] Re: variable types

2006-12-09 Thread David Lindstrom
With ze_fetch_arguments I meant zend_parse_parameters (just a small spelling error.. ;-) ) -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com ""Corne"" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Hi, > > I was trying to make PHP a bit more type-safe, but until

[PHP-DEV] Re: variable types

2006-12-09 Thread David Lindstrom
First of all, this doesn't seem like a very good idea to do.. My suggestions below are for the first idea (throw a warning/error if a variable changes type). Second, I have never hacked the engine, and don't really have any ideas on how it accutually works, I'm just guessing here. Next, my fir

[PHP-DEV] Re: Namespaces in PHP 6 - ++$take

2006-11-10 Thread David Lindstrom
Hello Internals. I'm not sure how many of you know about Phalanger [1][2]. For those who don't, it's a fairly complete PHP language compiler, compiling PHP5 sources into MSIL bytecodes, which can then be executed on the .NET platform or Mono. Since the .NET framework makes heavy use of namespac