Hello,
yes ? no ? perhaps ? something ? :-)
- Original Message -
From: "Frédéric LECOINTRE" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 25, 2005 5:12 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
| Hello,
|
| After tests, I did'nt n
ECTED]>; "Marcus Boerger" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, February 22, 2005 3:20 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
| Hello all,
|
| thanks John for help
|
| so here, http://php-dev.burnweb.net.
| there's new diff to avoid unexpected
"John Coggeshall" <[EMAIL PROTECTED]>
To: "Marcus Boerger" <[EMAIL PROTECTED]>
Cc: "Frédéric LECOINTRE" <[EMAIL PROTECTED]>;
Sent: Monday, February 21, 2005 11:45 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
| On Mon, 2005-02-21 a
Hello Frédéric,
Monday, February 21, 2005, 1:56:01 PM, you wrote:
> Hello Marcus,
> | have you experimented with php_check_syntax() and temporairy streams?
> tell me if i'm wrong.
> I think it could be possible to use php_lint_script and do compiler read
> variable instead of file
> - set zend_
Hello Marcus,
| have you experimented with php_check_syntax() and temporairy streams?
tell me if i'm wrong.
I think it could be possible to use php_lint_script and do compiler read
variable instead of file
- set zend_file_handle->type = ZEND_HANDLE_STREAM
- define two functions for reader and clo
right thing for Alan's idea. any suggestion ?)
> perhaps, use an alternative simple scanner like PHP_Parser would be a
> reasonable solution
> fred
> - Original Message -
> From: "Marcus Boerger" <[EMAIL PROTECTED]>
> To: &q
red
- Original Message -
From: "Marcus Boerger" <[EMAIL PROTECTED]>
To: "val khokhlov" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, February 20, 2005 6:05 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
| Hello val,
|
| Sunday, February 20, 200
Hello val,
Sunday, February 20, 2005, 5:59:21 PM, you wrote:
> 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 happe
--
> From: "Johannes Schlueter" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, February 18, 2005 1:17 PM
> Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
> | Hi Fred,
> |
> | this patch doesn't just check wether the string has th
I guess swapping out the compiler and executer globals before /after the
compile call wont work?
egs = executor_globals
cgs = compiler_globals
compile_string / file etc.
efree(executor_globals);
efree(compiler_globals);
executor_globals = egs;
compiler_globals = cgs;
obviously if this is the ca
;,$foo[0].bar))
and avoid regexp ( good example in Smarty_Compiler.class.php#144-164 with
limitations)
fred
- Original Message -
From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 18, 2005 1:17 PM
Subject: Re: [PHP-DEV] function proposal - php_check_synt
>> Is there possibilty to run syntax check only with compil_string in
>> zend_language_scanner.c (or something else) instead of removing the
>> introduced code?
>
> No. At least I don't know a how (but I don't know everything about the
> engine) The only thing I currently can think of is using t
Hi,
FrÃdÃric LECOINTRE wrote:
> oups ... well.
>
> php_check_syntax works fine with zend_compile_file. so what's the
No, it doesn't work fine, too :-)
http://bugs.php.net/bug.php?id=27406
But I didn't know the problem either when reading your patch where I
stumbled over the compile_string() call
ith compil_string in
zend_language_scanner.c (or something else) instead of removing the
introduced code?
fred
- Original Message -
From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 18, 2005 1:17 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_stri
ompil_string in
zend_language_scanner.c (or something else) instead of removing the
introduced code?
fred
- Original Message -
From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 18, 2005 1:17 PM
Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
| Hi Fr
; <[EMAIL PROTECTED]>
> Cc:
> Sent: Friday, February 18, 2005 9:25 AM
> Subject: Re: [PHP-DEV] function proposal - php_check_syntax_string
>
>
> | Hello FrÃdÃric,
> |
> | do you have some c code you can post here as a .txt attachment or as a
> link?
> |
&
Hello Marcus,
Based on 5.0.3 source distribution, inspired of parsekit_compile_string
fred
- Original Message -
From: "Marcus Boerger" <[EMAIL PROTECTED]>
To: "Frédéric LECOINTRE" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, February 18, 2005 9:25 AM
Subject:
Hello Frédéric,
do you have some c code you can post here as a .txt attachment or as a link?
regards
marcus
Friday, February 18, 2005, 4:41:06 AM, you wrote:
> hi all,
> to check syntax of pieces of code and to avoid wild regular expressions, i
> wrote this:
> proto bool php_check_syntax_stri
18 matches
Mail list logo