php code creator can't create instance of any class

gemini

Client
Регистрация
10.03.2011
Сообщения
160
Благодарностей
31
Баллы
28
Hi there,
I'm trying to create instance of the new class in PHP code creator but it doesn't work at all.
Everytime I get bunch of errors:
"Get a list of local variables Object call wasn't set on object instance
Getting the call stack Process is not paused.
Error termination of the debugger"

I tired with my own class, own class without body, or even with another class with simple body, or no body at all.
Result always the same (error above).

"$var=new MyClass();"
tried even with stdClass;
"$var=new stdClass;"

Project compiles without problems but fails when debugging.
I'm using Zenno 5.3.1 on Win8.1

Any ideas how to workaround this bug? (except using static calls)
 

shade

Client
Регистрация
19.11.2010
Сообщения
580
Благодарностей
346
Баллы
63
When you create a new class in PHP you must write full path for current class. For example:
Код:
$var = new ZennoLab\CommandCenter\Instance("127.0.0.1", 40500, "server")
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)