RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
classaxe
Posts: 7
Joined: Mon Dec 03, 2007 8:02 pm
Location: Richmond Hill, Canada
Contact:

RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post by classaxe »

Hi there,

I just purchased RPHP 2010 after using 2008, 2007, 2006 and 2005 for several years.
There's a serious problem that renders it completely unusable for me - all my member functions have vanished in almost every class in the system I manage

Here's why.
Any single or double-quoted string containing an opening brace where the bracket is NOT the first item in the string causes a parsing error. Un-comment the first or second echo statement in 'b' to see the disasterous effect...

Code: Select all

<?php
class test{
  function a(){
    echo 'hi';
  }
  function b(){
//    echo ' {';  // Breaks Code Explorer
//    echo " {";  // Breaks Code Explorer
    echo "{";   // Fine
  }
}?>
This code is fine with RPHP 2008 and below.
Many of my class libraries output JS functions to the browser - this is a show-stopper for me :cry: .

I will use 2008 for now.

Other than this, I love the product and will remain a loyal fan once this is corrected - I particularly enjoy the 'close other tabs' feature, I've been waiting for that one for a while!
Martin Francis
<><
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post by Karlis »

classaxe wrote:There's a serious problem that renders it completely unusable for me - all my member functions have vanished in almost every class in the system I manage
You make it sound like a catastrophy on an epic scale. Of course we can and will fix this in a couple of days and it is no big deal.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post by Karlis »

Fixed (build 112)
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
classaxe
Posts: 7
Joined: Mon Dec 03, 2007 8:02 pm
Location: Richmond Hill, Canada
Contact:

Re: RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post by classaxe »

Karlis wrote:You make it sound like a catastrophy on an epic scale.
Epic indeed - I have around 130 class files in the current system I'm working with, most failed to show because almost al of them contain at least one method that outputs a JS to the browser like this:

Code: Select all

$js= "function example(msg){\n  alert(msg);\n}";
Many thanks for the fix, I will download it immediately.

Thanks again for the product, I've been using it 10 hours a day for about 5 years now.

Blessings,

Martin Francis
<><
Martin Francis
<><
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: RPHP 2010 (10.0.0.111) Code Explorer bug (with simple test)

Post by Karlis »

No problem, Martin! Good that you detected this. Sorry for the stress it has caused.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply