[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in php parsing

From: Hendrik Visage
Subject: Error in php parsing
Date: Fri, 3 Feb 2006 13:14:18 +0200

Hi there,

 There appears to be a "small" hassle with PHP parsing when javascripts
get's "pasted" etc. inside the PHP script to the HTTP/html stream.
It appears that everything from the javascript closing tag gets
ignored by gtags-parser :(
See below

% cat tt.php

function test_acl($agent,$aclevel,$frm) {

    $resetcounter = <<<EOF
      <script language="Javascript1.2">
      top.seconds = $autologoutseconds;

## returns wkday number for a date
function date2wkday($str) {



fastone% diff tt.php tt2.php
<     </script>
> #    </script>
fastone% gtags-parser tt.php tt2.php
test_acl            3 tt.php           function test_acl($agent,$aclevel,$frm) {
test_acl            3 tt2.php          function test_acl($agent,$aclevel,$frm) {
date2wkday         14 tt2.php          function date2wkday($str) {

Hendrik Visage

reply via email to

[Prev in Thread] Current Thread [Next in Thread]