php parser for bug detection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • petermichaux@yahoo.com

    #1

    php parser for bug detection

    Hi,

    Using PHP, tracking down a missing semicolon can take a while. I miss
    the GNU C compiler:) I have read in places that php parsers do exist
    eventhough most people do not use them. Maybe even a php IDE exists out
    there somewhere? Can anyone give me any pointers to good php parsers or
    IDE's? If possible open source would be my choice.

    (I'm using Mac OS X 10.3)

    Thanks,
    Peter

  • R. Rajesh Jeba Anbiah

    #2
    Re: php parser for bug detection

    petermichaux@ya hoo.com wrote:[color=blue]
    > Hi,
    >
    > Using PHP, tracking down a missing semicolon can take a while. I miss
    > the GNU C compiler:) I have read in places that php parsers do exist
    > eventhough most people do not use them. Maybe even a php IDE exists out
    > there somewhere? Can anyone give me any pointers to good php parsers or
    > IDE's? If possible open source would be my choice.[/color]

    PHP's own lint checking is available in command line with l switch:
    php -l

    <news:abc4d8b8. 0504170433.5860 16c7@posting.go ogle.com> (
    http://groups.google.com/group/comp....5b35d0b0d8a5d6 )

    --
    <?php echo 'Just another PHP saint'; ?>
    Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

    Comment

    • Manuel Lemos

      #3
      Re: php parser for bug detection

      Hello,

      on 09/04/2005 02:00 PM petermichaux@ya hoo.com said the following:[color=blue]
      > Using PHP, tracking down a missing semicolon can take a while. I miss
      > the GNU C compiler:) I have read in places that php parsers do exist
      > eventhough most people do not use them. Maybe even a php IDE exists out
      > there somewhere? Can anyone give me any pointers to good php parsers or
      > IDE's? If possible open source would be my choice.[/color]

      You can use the PHP tokenizer extension available since PHP 4.3.0 .



      --

      Regards,
      Manuel Lemos

      PHP Classes - Free ready to use OOP components written in PHP
      http://www.phpclasses.org/

      PHP Reviews - Reviews of PHP books and other products
      http://www.phpclasses.org/reviews/

      Metastorage - Data object relational mapping layer generator

      Comment

      • Ira Baxter

        #4
        Re: php parser for bug detection


        <petermichaux@y ahoo.com> wrote in message
        news:1125853233 .474732.262090@ g43g2000cwa.goo glegroups.com.. .[color=blue]
        > Hi,
        >
        > Using PHP, tracking down a missing semicolon can take a while. I miss
        > the GNU C compiler:) I have read in places that php parsers do exist
        > eventhough most people do not use them. Maybe even a php IDE exists out
        > there somewhere? Can anyone give me any pointers to good php parsers or
        > IDE's? If possible open source would be my choice.
        >
        > (I'm using Mac OS X 10.3)[/color]

        Semantic Designs offers a PHP parser in the form of a PHP prettyprinter.
        It will diagnose your syntax errors directly.
        See http://www.semdesigns.com/Products/Formatters

        Runs on Windows but not a MAC.


        --
        Ira D. Baxter, Ph.D., CTO 512-250-1018
        Semantic Designs, Inc. www.semdesigns.com


        Comment

        • Tony Marston

          #5
          Re: php parser for bug detection


          "Ira Baxter" <idbaxter@semde signs.com> wrote in message
          news:dfvpqb0107 6@enews2.newsgu y.com...[color=blue]
          >
          > <petermichaux@y ahoo.com> wrote in message
          > news:1125853233 .474732.262090@ g43g2000cwa.goo glegroups.com.. .[color=green]
          >> Hi,
          >>
          >> Using PHP, tracking down a missing semicolon can take a while. I miss
          >> the GNU C compiler:) I have read in places that php parsers do exist
          >> eventhough most people do not use them. Maybe even a php IDE exists out
          >> there somewhere?[/color]
          > Can anyone give me any pointers to good php parsers or[color=green]
          >> IDE's? If possible open source would be my choice.
          >>
          >> (I'm using Mac OS X 10.3)[/color]
          >[/color]

          If you want a list of PHP IDE's then take a look at


          --
          Tony Marston

          This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




          Comment

          Working...