Hello Tex,
Wednesday, September 14, 2005, 1:07:26 PM, you wrote:
TT> Bear with me, I don't know about how PHP uses the serialized info, but if
TT> your goal is to minimize the overhead for unicode data when
no, now we're discussing the following issues:
1) should serialize format be port
Hello Antony,
Tuesday, September 13, 2005, 12:42:57 PM, you wrote:
AD> So you propose to store strings/hash keys/class names in Unicode
AD> even if unicode_semantics is Off ?
yes - those items that are encoded into unicode when
unicode_semantics is on (afair, class names and property name
Hello Antony,
Tuesday, September 13, 2005, 11:21:21 AM, you wrote:
AD> Even if the class name is in Unicode, we can try to convert it to ASCII
AD> and fail only in the case when we can't find its class entry in the list.
I think, it's not the only way.
If we don't care about bein
Hello,
a small patch that allows using negative value for offset in $string{offset}
$string = "test";
$string{-1} -> last 't'
$string{-2} -> 's' and so on...
<<
--- zend_execute.c Mon Jul 18 11:20:19 2005
+++ /home/val/src/php/php5.1/php-src/Zend/zend_execute.
Hello!
There're 2 extensions - APC and bcompiler - that can work
independently, but when both of them are used, they need to intercept
zend_compile in a specific order. I see the only way how to arrange this -
if during bcompiler's init APC is already loaded, call a C function in
APC from b
Hello Marcus,
Sunday, May 8, 2005, 12:57:43 AM, you wrote:
>> small patch just to make zend_do_inheritance() exportable
>> (I need this Zend function in my extension)
MB> may i ask what you need it for?
yes, when creating a class (restoring from bytecodes) with defined
paren
Hello,
small patch just to make zend_do_inheritance() exportable
(I need this Zend function in my extension)
--
Best regards,
val mailto:[EMAIL PROTECTED]diff -u -p -u -r1.240.2.10 zend_compile.c
--- Zend/zend_compile.c 25 Apr 2005 09:58:32 - 1.240
Hello Kamesh,
Friday, March 18, 2005, 1:15:53 PM, you wrote:
KJ> Yes I got this fix from pass_two only. It duplicates pass_two especially
KJ> the while loop.
you see, i also use this part of pass_two() code in my ext. maybe,
it'd be a good idea to find one place for this jump addr calculat
Hello Kamesh,
Friday, March 18, 2005, 12:46:44 PM, you wrote:
KJ> This normally happens from pass_two.
KJ> I am attaching the patch which does this jmp_addr evaluation. This patch
KJ> is against php-5.0.4-dev-RC[2].
your code will duplicate some lines pass_two(), won't it?
or execute_new
Hello Derick,
Sunday, February 27, 2005, 2:24:42 PM, you wrote:
DR> On Fri, 25 Feb 2005, val khokhlov wrote:
>> Zend developers: can you, please, consider exporting
>> void zend_vm_set_opcode_handler(zend_op* op)
DR> Write a patch please?
--- zend_vm.h.orig Sun Fe
Hello,
Zend developers: can you, please, consider exporting
void zend_vm_set_opcode_handler(zend_op* op)
i can't help using it to restore opcode handler ptrs after loading a
pre-compiled opcodes array
--
Best regards,
val mailto:[EMAIL PROTECTED]
--
PHP
Hello Marcus,
Sunday, February 20, 2005, 6:32:57 AM, you wrote:
MB> what happend to defines (when redefining)
define() is called at run-time, as far as i saw, so there should be no
problems with it
MB> and what happens to __autoload()?
well, i never used it myself, so i've never te
Hello Johannes,
Friday, February 18, 2005, 2:17:12 PM, you wrote:
JS> this patch doesn't just check wether the string has the right syntax but
JS> also compiles it and registers it's functions and classes in the relevant
JS> tables.
well, they need to add this code to avoid it:
n
Hello,
in php5.1 i get default value of omitted parameter only the first time
i call a function, all subsequent calls get the $tname set in the first call
(like static!). in php5.0 $tname is always empty if omitted (as it should be)
php5.1 updated from cvs on 6.02.2005
[code]
function
Hello internals,
is there a way to find out version of zend engine (2 or 2.1)?
i need it in the code like this:
#if defined(ZEND_ENGINE_2_1)
ZEND_VM_SET_OPCODE_HANDLER(zo);
#elif defined(ZEND_ENGINE_2)
zo->handler = zend_opcode_handlers[zo->opcode];
#endif
unfortunate
Hello Rasmus,
Friday, February 4, 2005, 11:00:23 AM, you wrote:
RL> It comes down the fact that every single piece of data you get from GET,
RL> POST, Cookie and some Server variables *must* be at the very least be
RL> passed through htmlentities or striptags before you can display any part
RL>
Hello Ilia,
Wednesday, February 2, 2005, 7:04:24 PM, you wrote:
IA> The end result is that we are punishing people who have already written
IA> good code and continue to encourage people to write bad code by saying
IA> "we'll take care of data filtering", which is sorta like safe_mode.
Hello,
i have small proposal (maybe, it was already discussed here?) - about
ignoring shell invocation lines at the beginning of source file, kind of
#!/usr/local/bin/php
reason is simple - CGI compliance, so that php scripts could work with
any web-server (both via standard CGI and vi
18 matches
Mail list logo