[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backtics operator in PHP is not recognised as string delimiter
From: |
Shigio YAMAGUCHI |
Subject: |
Re: backtics operator in PHP is not recognised as string delimiter |
Date: |
Tue, 22 Jun 2010 09:34:58 +0900 |
Hi,
I have added your report to the BUG list.
(http://www.gnu.org/software/global/bugs.html)
Your report is perfect.
Thank you.
> Hello all!
>
> Such an expression in PHP code:
> ------------------
> `ls ~/*`
> -----------------
> produces an error in gtags-parser: unexpected end of comment.
>
> What did You do:
> ---------------
> echo '<?php echo `ls ~/*`; ?>' >test.php
> gtags
> --------------
>
> What did you expect from it?
> ---------------
> No output and some non-empty files GPATH GRTAGS GSYMS GTAGS
>
> What was occured? (as is)
> --------------------
> gtags-parser: unexpected end of comment.
> gtags: command failed in xargs_read().
> ------------------
>
> I use GNU GLOBAL 5.7.1 from Ubuntu 10.4
>
> Of course, replacement of back-ticks to 'shell_exec' function solves the
> problem,
> but I think that as long the back-tick operator is still supported in PHP i=
> t
> should be supported in gtags-parser also.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3