Bug, Zend Studio 10.6 not indexing correct code

General discussion on Zend Studio
Post Reply
jameskp
Posts: 73
Joined: Fri May 11, 2012 11:55 am

Bug, Zend Studio 10.6 not indexing correct code

Post by jameskp » Sun Mar 09, 2014 2:50 pm

Another instance where valid code makes Zend Studio go "poof" and the entire class containing the code is gone from the project index.

Code: Select all

<?php
// This is ok for Zend Studio.
$x = new ClassName();

// This is also ok (valid in PHP 5.4+).
$x = (new ClassName())->methodName();

// POOF! The entire file you wrote this in is gone from the project autocomplete index & "Outline" panel.
$x = (new ClassName());

User avatar
natalia_b_zend
Posts: 366
Joined: Wed Jan 25, 2012 5:51 pm

Re: Bug, Zend Studio 10.6 not indexing correct code

Post by natalia_b_zend » Mon Mar 10, 2014 2:20 pm

Thank you for this report. We confirm that there is a bug. Will be fixed soon.
Natalia Bartol
Zend Studio Team

Post Reply