Menu

One bug, one feature request

2004-08-22
2004-08-23
  • Toomas Laasik

    Toomas Laasik - 2004-08-22

    Tested a bit and found following:

    Having a line like:
      echo "?>";
    recognizes ?> as closing of php tag, but it's not. Text after this line isn't highlited, but gray.

    Ctrl-TAB doesn't work. In older versions of Dev-php it was very handy to switch between sub-windows.

    That's all for now :)

     
    • Andrew Murphy

      Andrew Murphy - 2004-08-22

      The project leads said that THIS bug as well a few others involving keyword parsing should be fixed within the next few revisions

       
    • Urs Mäder

      Urs Mäder - 2004-08-23

      workaround possible with echo "?".">"

       
      • Andrew Murphy

        Andrew Murphy - 2004-08-23

        Even though this will prob never apply to me, my ONE problem with this work-around is that:
        <?php
        echo "?>"
        ?>

        is valid PHP syntax and will be parsed correctly at runtime. Changing your syntax to:
        <?php
        echo "?".">";
        ?>

        Would "work," its somewhat like "Microsofting" an app, eg. covering up a problem, not fixing it.

        Granted, its somewhat unfair for me to whine about fixing a bug because its not "proper," and then sit here and do nothing to help; I am willing to help however I can...

        I am not firmiliar with Delphi, but I do have a great deal of experience with parsing strings within ansi/iso c/c++ and PHP. If you want, I could write a library, or perhaps psuedo code that could be easily translated to any language.

        Heck, I even will to go out and learn Delphi if it would you guys.

        btw, I do love the product.

         
    • Rudinei Dias

      Rudinei Dias - 2004-08-23

      And if you change

      echo "?>"

      by

      echo '?'.'>';

      PHP dont execute anything on single quotes.

       

Log in to post a comment.

MongoDB Logo MongoDB